// 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); }
/// <summary> /// Others the window on text box value changed. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="TextBoxValueEventArgs"/> instance containing the event data.</param> private void OtherWindowOnTextBoxValueChanged(object sender, TextBoxValueEventArgs e) { WriteToConsole(e.NewValue); }