public void butApply_Click(System.Object sender, System.EventArgs e) { applyParams(); frmMainReg.reDraw(); //exiting the form this.DialogResult = System.Windows.Forms.DialogResult.OK; }
public void butOK_Click(System.Object sender, System.EventArgs e) { sSelectStationID = ""; //applying procedures applySerieProcs(); frmMainReg.reDraw(); series.Clear(); this.DialogResult = System.Windows.Forms.DialogResult.OK; }