예제 #1
0
 public override void ShowPopupForm()
 {
     if (OwnerEdit.EditValue == null || OwnerEdit.EditValue == DBNull.Value)
     {
         Calendar.SelectedDate = null;
     }
     else
     {
         Calendar.SelectedDate = (DateTime)OwnerEdit.EditValue;                      //TODO: Select the bottom-right corner; selection changes
     }
     base.ShowPopupForm();
     Calendar.Focus();
 }