示例#1
0
 void OnBeginEdit()
 {
     // OldEditValue = ParseEditValue() 'sostituito con riga successiva xè aveva eccezioni in uscita
     OldEditValue = CurrentValue;
     this.UpdateStatus();
     BeginEdit?.Invoke(this);
 }
示例#2
0
        private void OnBeginEdit()
        {
            if (ForcedText != null)
            {
                TB.Clear();
            }

            try { OldEditValue = ParseEditValue(); }
            catch { OldEditValue = _CurrentValue; }

            UpdateStatus();
            BeginEdit?.Invoke(this);
        }
示例#3
0
 /// <summary>
 /// Triggers the <see cref="BeginEdit"/> event.
 /// </summary>
 /// <param name="e">Cell event arguments</param>
 protected virtual void OnBeginEdit(CellEventArgs e) => BeginEdit?.Invoke(this, e);