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/CalendarGrid.cs

    r1068 r1073  
    7171            this.m_selectedRange = new CGRange();
    7272            this.m_SelectedAppointments = new CGAppointments();
     73            //this.m_Appointments = new CGAppointments();
    7374            this.m_dtStart = new DateTime(2003, 1, 27);
    7475            this.m_ApptOverlapTable = new Hashtable();
     
    8990            this.m_sfHour.Alignment = StringAlignment.Far;
    9091            this.m_bInitialUpdate = false;
    91             this.MouseEnter += new EventHandler(CalendarGrid_MouseEnter);
    92         }
    93 
    94         void CalendarGrid_MouseEnter(object sender, EventArgs e)
    95         {
    96             this.Focus();
    9792        }
    9893
Note: See TracChangeset for help on using the changeset viewer.