示例#1
0
 public Form1()
 {
     InitializeComponent();
     this.calendarView1 = new CalendarView();
     this.calendarView1.CalendarViewMode = CalendarViewModel.TimeSpan;
     this.calendarView1.TaskMouseClick  += calendarView1_TaskMouseClick;
     panel1.Controls.Add(this.calendarView1);
     this.calendarView1.Dock = DockStyle.Fill;
 }
示例#2
0
 public Form1()
 {
     InitializeComponent();
     this.calendarView1 = new CalendarView();
     this.calendarView1.CalendarViewMode = CalendarViewModel.TimeSpan;
     this.calendarView1.TaskMouseClick += calendarView1_TaskMouseClick;
     panel1.Controls.Add(this.calendarView1);
     this.calendarView1.Dock = DockStyle.Fill;
 }