private void saveButton_Click(object sender, EventArgs e) { SaveButton?.Invoke(sender, e); DialogResult = DialogResult.OK; }