private void saveButton_Click(object sender, EventArgs e) { ValidateFieldsForNewEvent(); _okButtonAction.Invoke(); cancelButton_Click(cancelButton, EventArgs.Empty); }
private void OnOkButtonClicked() { OkButtonAction?.Invoke(); Close(); }
private void saveButton_Click(object sender, EventArgs e) { ValidateFieldsForNewEvent(); _okButtonAction.Invoke(); cancelButton_Click(cancelButton, EventArgs.Empty); }
private void OnOkButtonClicked() { OkButtonAction?.Invoke(); Close(); }