RFID_Explorer.ConfigureAntenna.editGlobalSenseThreshold_Click C# (CSharp) Method

editGlobalSenseThreshold_Click() private method

private editGlobalSenseThreshold_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        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( );
            }
        }