Ignore:
Timestamp:
Jan 20, 2011, 9:32:28 AM (13 years ago)
Author:
Sam Habiel
Message:

calendarGrid: Removed MouseEnter event and added it to CGView which now has to handle it properly.
CGAppointments: now supports cloning.
CGDocument: Added RefreshDocumentAsync, which retrives data from the server w/o asking the grid to refersh.
CGDocumentManager: CGView.InitializeDocView does not take appointments as argument; callers are changed.
CGView: Many Changes:

  • Opening a Schedule nows calls up a splash and a wait cursor while loading.
  • Events coming from the server are now handled asynchronously (not on UI thread). This results in much better responsiveness.
  • Appointments, Availabilities, Resources are all set in the CalendarGrid by UpdateArrays; as a centralized point of drawing the grid.
  • A mistaken "feature"--stealing focus from each others windows, was removed--CalendarGrid.Focus event only fired now if the form is the Active Form. This is accomplished using GetActiveWindow() from user32.dll (a Win32 API).

LoadingSplash: Opacity removed; form resized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocumentManager.cs

    r1071 r1073  
    207207            //A view is a specific arrangement of appointments and availabilites that constitute a document
    208208            CGView view = new CGView();
    209             view.InitializeDocView(doc, _current, doc.StartDate, doc.Appointments, _current.WindowText);
     209            view.InitializeDocView(doc, _current, doc.StartDate, _current.WindowText);
    210210
    211211            //Handle BMX Event
     
    10681068
    10691069                CGView view = new CGView();
    1070                 view.InitializeDocView(doc, _current, doc.StartDate, doc.Appointments, _current.WindowText);
     1070                view.InitializeDocView(doc, _current, doc.StartDate, _current.WindowText);
    10711071
    10721072                view.Show();
     
    11171117
    11181118                CGView view = new CGView();
    1119                 view.InitializeDocView(doc, _current, doc.StartDate, doc.Appointments, _current.WindowText);
     1119                view.InitializeDocView(doc, _current, doc.StartDate, _current.WindowText);
    11201120
    11211121                view.Show();
Note: See TracChangeset for help on using the changeset viewer.