コード例 #1
0
 protected virtual void OnSelectDate(DateSelectEventArgs e)
 {
     if (SelectDateMsg != null)
     {
         SelectDateMsg(this, e);
     }
 }
コード例 #2
0
        public void SimulateSelectDate()
        {
            DateSelectEventArgs e = new DateSelectEventArgs(mcCalendar.SelectionStart);

            OnSelectDate(e);

            this.Close();
        }