ListChanged event not fired when appointment collection updated

N

None

hi there,

i am developing a calendar application using c# and cf2 sp1, and i got
stuck when dealing with the ListChanged event of the
appointmentcollection. i have a datagrid to populate the appointment
items of the collection. the event is only fired when the collection
is updated by my own application, it does not when the collection is
updated by the wm5 calendar application, say adding or removing an
appointment.
what i want to achieve is whenever the collection is updated (item
added, changed or removed) by my application or the wm5 calendar, i
have a chance to adjust the size of the datagrid in order to show the
updated appointments.
now, the datagrid can only resize when the appointments are updated by
my own application. by looking at the collection.count, i am sure the
collection is updated by the wm5 calendar, but since the ListChanged
event is not fired, i got no chance to resize the datagrid for the
changes.
can anyone tell me how to get a chance to resize the datagrid when the
collection is updated by the wm5 calendar?

thanks
batterheadccw
 
N

None

hi there,

i am developing a calendar application using c# and cf2 sp1, and i got
stuck when dealing with the ListChanged event of the
appointmentcollection. i have a datagrid to populate the appointment
items of the collection. the event is only fired when the collection
is updated by my own application, it does not when the collection is
updated by the wm5 calendar application, say adding or removing an
appointment.
what i want to achieve is whenever the collection is updated (item
added, changed or removed) by my application or the wm5 calendar, i
have a chance to adjust the size of the datagrid in order to show the
updated appointments.
now, the datagrid can only resize when the appointments are updated by
my own application. by looking at the collection.count, i am sure the
collection is updated by the wm5 calendar, but since the ListChanged
event is not fired, i got no chance to resize the datagrid for the
changes.
can anyone tell me how to get a chance to resize the datagrid when the
collection is updated by the wm5 calendar?

thanks
batterheadccw

hi there,

does anyone know how can my application be notified about the changes
to the collection by other applications?

thanks
batterheadccw
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top