コード例 #1
0
 public override void OnDropDownClicked(MouseEvent mouseEvent)
 {
     if (!Readonly && Enabled)
     {
         (new DateForm(this.UsedEdit)).
         ShowPopup(FormPopup.
                   GetPopupDefaultLocation(DropDownButton, true));
     }
 }
コード例 #2
0
 public override void OnDropDownClicked(MouseEvent mouseEvent)
 {
     if (!Readonly && Enabled)
     {
         var calcEdit = new CalcForm(this.UsedEdit);
         calcEdit.
         ShowPopup(FormPopup.
                   GetPopupDefaultLocation(DropDownButton, true));
         calcEdit.OnFormClosed = () =>
         {
             ValidateData();
         };
     }
 }