Пример #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();
         };
     }
 }