Esempio n. 1
0
 public override void OnDropDownClicked(MouseEvent mouseEvent)
 {
     if (!Readonly && Enabled)
     {
         (new DateForm(this.UsedEdit)).
         ShowPopup(FormPopup.
                   GetPopupDefaultLocation(DropDownButton, true));
     }
 }
Esempio n. 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();
         };
     }
 }