private void OnApplyClick(object sender, EventArgs e) { IOptions option = GetCurrentOption(); if (option != null) { option.Apply(); } }
private void OnOKClick(object sender, EventArgs e) { IOptions option = GetCurrentOption(); if (option != null) { option.Apply(); this.DialogResult = DialogResult.OK; } }