private void OnTextBoxValueChanged(EventArgs e) { TextBoxValueChanged?.Invoke(this, e); }
// EVENTY W NASZYM PRZYPADKU SLUZA DO POWIADAMIANIA GLOWNEGO OKNA APLIKACJI ZEBY WYPISALA DO KONSOLI ZADANY TEKST /// <summary> /// Handles the <see cref="E:TextBoxValueChanged" /> event. /// </summary> /// <param name="e">The <see cref="TextBoxValueEventArgs"/> instance containing the event data.</param> protected virtual void OnTextBoxValueChanged(TextBoxValueEventArgs e) { TextBoxValueChanged?.Invoke(this, e); }
protected virtual void OnTextBoxValueChanged(object sender, TextChangedEventArgs e) { TextBox cell = (TextBox)sender; TextBoxValueChanged?.Invoke(this, cell); }