Calender View

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I'm new to .NET CF-programming and I want to access a database-table that stores dates (outside Pocket Outlook). In my GUI I want to have a similar appearance like in the Calendar of Pocket Outlook, where I can have a weekly view of the data, in which the user selects a date and the corresponding detail view appears.

Can anyone tell me, which control I can use ? Perhaps the DataGrid-Control

Thanks
Marti
 
Martin said:
I'm new to .NET CF-programming and I want to access a database-table that stores dates (outside Pocket Outlook). In my GUI I want to have a similar appearance like in the Calendar of Pocket Outlook, where I can have a weekly view of the data, in which the user selects a date and the corresponding detail view appears.
Can anyone tell me, which control I can use ? Perhaps the DataGrid-Control ?

I do not think, a DataGrid will fit for your needs. It is powerful and
quite easy to handle, but it is not very pretty. If you want to have a
look similar to the Calender, you have to use a third party control or
write it by your own (using the Graphics classes -> needs much efford!).

Maybe you will find something fitting at

http://www.opennetcf.org/Forums/

Bye
Christian
 
Hi,
I'm new to .NET CF-programming and I want to access a database-table that stores dates (outside Pocket Outlook). In my GUI I want to have a similar appearance like in the Calendar of Pocket Outlook, where I can have a weekly view of the data, in which the user selects a date and the corresponding detail view appears.

Can anyone tell me, which control I can use ? Perhaps the DataGrid-Control ?

if it is static (so you like to display 7 rows - one for each day) then i
think you could simulate it:
a) very easy by using 7 panels. Align them next to each other. Now can
color them and do somthing in the Click-Event

b) a bit more complex by using your own ownerdraw control using the
graphic-classes... or by using a PaintBox and an offscreen bitmap. Then you
can draw something on it (some colored boxes for the dates for example).
Then put 7 controls next to each other and again use the Click-Event to
switch to an other form displaying the details.
Of course: if you have your own control, you could add your own events ...
such es "ClickOnAppointment", "ClickOnBackground", "ClickOnHeader", etc..


BTW: if thought about building such own calender too ... my idea is to
build up a simple but complete new calender that you can sync with the
desktop (but maybe not with outlook)... i would like to have more calendars
(me, my wife, my boss, ...) and so on - and pocketOutlook can't do that...
and i like to add special Appointments to color the days differently when
i'm working at day or at night...

Boris
 
Back
Top