예제 #1
0
        private void MainForm_Load(object sender, System.EventArgs e)
        {
            try
            {
                this.Header1.Text             = "Outlook Example";
                MonthCalendar1.FirstDayOfWeek = System.Windows.Forms.Day.Sunday;
                DisplayMode = DisplayModeConstants.Month;
                schedule1.ColumnHeader.AutoFit = true;
                ResizeForm();

                //Refresh the scehdule display
                RefreshRange(MonthCalendar1.SelectionStart);

                LoadTestAppointments();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
예제 #2
0
 private void mnuViewMonth_Click(object sender, System.EventArgs e)
 {
     this.DisplayMode = DisplayModeConstants.Month;
 }
예제 #3
0
 private void mnuViewWeek_Click(object sender, System.EventArgs e)
 {
     this.DisplayMode = DisplayModeConstants.Week;
 }