Ignore:
Timestamp:
Feb 21, 2011, 9:21:24 AM (13 years ago)
Author:
Sam Habiel
Message:

Remove CGSchedLib.OutputArray everywhere. Used to be needed in VS 2003; not anymore as you can see tables now.
CalendarGrid:

  • Make MinSince80 and TimesOverlap static functions for use by other classes since they are done over and over again.

CGAppointments:

  • Documentation updates

CGAVDocument:

CGDocument:

CGDocumentManager:

CGSchedLib: Lots of Changes

CGView:

  • OnUpdateScheduleCallback now has try catch when it this.Invokes the original form so that it won't crash if the form has been closed before it gets called.
File:
1 edited

Legend:

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

    r1084 r1095  
    23292329        private void OnUpdateScheduleCallback(IAsyncResult itfAR)
    23302330        {
    2331             // if the view meanwhile closed, just return
    2332             if (this == null) return;
    2333 
    23342331            OnUpdateScheduleDelegate d = new OnUpdateScheduleDelegate(UpdateArrays);
    2335             this.Invoke(d);
     2332           
     2333            //try catch just in case that the view closed in the meantime.
     2334            try
     2335            {
     2336                this.Invoke(d);
     2337            }
     2338            catch (InvalidOperationException)
     2339            {
     2340                return;
     2341            }
    23362342        }
    23372343
Note: See TracChangeset for help on using the changeset viewer.