Ignore:
Timestamp:
Aug 11, 2010, 8:42:23 AM (14 years ago)
Author:
Sam Habiel
Message:

StartDate for CGAVView, 1st try.
CGDocument uses StartDate from Current thread locale rather than current culture.

File:
1 edited

Legend:

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

    r864 r908  
    867867            this.mnu7Day.Click += new System.EventHandler(this.dateTimePicker1_ValueChanged);
    868868
     869            //Set start date
     870            DateTime startDate,endDate;
     871            Document.WeekNeedsRefresh(1, DateTime.Today, out startDate, out endDate);
     872            this.StartDate = startDate;
     873            //Draw the calendar
     874            this.calendarGrid1.OnUpdateArrays();
     875            this.calendarGrid1.Invalidate();
     876
    869877                }
    870878
Note: See TracChangeset for help on using the changeset viewer.