private void editGlobalSenseThreshold_Click(object sender, EventArgs e) { using (AntennaSenseThresholdEdit dlg = new AntennaSenseThresholdEdit(this.reader, globalSenseThresholdVal)) { if (DialogResult.OK == dlg.ShowDialog( )) { this.updateThreshold( ); // for thresh val only view.Refresh( ); // redraw everything ( columns ) - not necessary ? } dlg.Close( ); } }
private void editGlobalSenseThreshold_Click( object sender, EventArgs e ) { using ( AntennaSenseThresholdEdit dlg = new AntennaSenseThresholdEdit( this.reader, globalSenseThresholdVal) ) { if ( DialogResult.OK == dlg.ShowDialog( ) ) { this.updateThreshold( ); // for thresh val only view.Refresh( ); // redraw everything ( columns ) - not necessary ? } dlg.Close( ); } }