void ctl_DateChanged(object sender, FarsiDatePickerEventArgs e)
 {
     // do you want remove datepicker after changed date? uncomment below line
     //_editControl.DateChanged -= ctl_DateChanged;
     OnCellDateChanged(this, e);
     //DataGridView.EndEdit();
 }
示例#2
0
 protected virtual void OnDateChanged(FarsiDatePickerEventArgs e)
 {
     if (DateChanged != null)
     {
         DateChanged(this, e);
     }
 }
 protected override void OnDateChanged(FarsiDatePickerEventArgs e)
 {
     if (CancelDateChanged)
     {
         return;
     }
     _valueChanged = true;
     this.EditingControlDataGridView.NotifyCurrentCellDirty(true);
     base.OnDateChanged(e);
 }
 protected virtual void OnCellDateChanged(DataGridViewFarsiDatePickerCell cell, FarsiDatePickerEventArgs e)
 {
     if (CellDateChanged != null)
     {
         CellDateChanged(cell, e);
     }
 }