void OnBeginEdit() { // OldEditValue = ParseEditValue() 'sostituito con riga successiva xè aveva eccezioni in uscita OldEditValue = CurrentValue; this.UpdateStatus(); BeginEdit?.Invoke(this); }
private void OnBeginEdit() { if (ForcedText != null) { TB.Clear(); } try { OldEditValue = ParseEditValue(); } catch { OldEditValue = _CurrentValue; } UpdateStatus(); BeginEdit?.Invoke(this); }
/// <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);