/// <summary> /// Obsługa naciśnięcia btn Dodaj. /// </summary> /// <param name="sender">Sender.</param> /// <param name="e">EventArgs.</param> private void addButtonElement_Click(object sender, EventArgs e) { if (CurrentView != null && CurrentView is BaseListWindow) { CurrentView.AddNew(); } }