RealtimeAnalysis.FormPRM.textBoxContextSwitchOverhead_TextChanged C# (CSharp) Метод

textBoxContextSwitchOverhead_TextChanged() приватный Метод

private textBoxContextSwitchOverhead_TextChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        private void textBoxContextSwitchOverhead_TextChanged(object sender, EventArgs e)
        {
            TextBox t = sender as TextBox;
            try
            {
                _overhead = double.Parse(textBoxContextSwitchOverhead.Text);
            }
            catch (FormatException fe)
            {
            }
            catch (Exception)
            {
                _overhead = 0;
                textBoxContextSwitchOverhead.Text = "0";
            }

            if (_overhead < 0)
            {
                _overhead = 0;
                textBoxContextSwitchOverhead.Text = "0";
            }

            if (_overhead > double.Parse(textBoxIncrementUnit.Text))
                textBoxIncrementUnit.Text = t.Text;
        }
        private void textBoxLCM_TextChanged(object sender, EventArgs e)