Hi
I'm developing a scheduling application (C#, Windows Forms, SQL Server)
that matches up engineers and sites. I've got one form that shows an
engineer and what sites he's visiting (EngineerView), and another that
shows a site and what engineer visits are planned (SiteView). Both are
made up from a number of ListViews that the user can Drag & Drop
between.
I'd like the user to be able to open multiple instances of EngineerView
and SiteView, and I want a change to one of them to be immediately
reflected in any of the others that show related data. For example if
I schedule Engineer A to Site B on Tuesday in an EngineerView then I
want any SiteViews for Site B to show Engineer A on Tuesday.
My question is what's the best way to achieve this? My idea so far is
to create a central public array that they all update. Would this work?
Can anyone suggest an alternative?
Also I'm not sure how to make updates appear immediately in another
open form.
Hope that's fairly clear.
Cheers
John South
www.WhereCanWeGo.com
Pangbourne UK