public NewGraduirovka(Analis parent) { InitializeComponent(); this._Analis = parent; // MessageBox.Show(_Analis.aproksim); k1Text.Text = string.Format("{0:0.0000}", _Analis.textBox5.Text); k2Text.Text = string.Format("{0:0.0000}", _Analis.textBox6.Text); k0Text.Text = string.Format("{0:0.0000}", _Analis.textBox4.Text); _Analis.chart1.Series[0].Points.Clear(); _Analis.chart1.Series[1].Points.Clear(); // radioButton1.Checked = true; // radioButton4.Checked = true; // radioButton6.Checked = true; this.radioButton1.CheckedChanged += new EventHandler(radioButton1_CheckedChanged); this.radioButton2.CheckedChanged += new EventHandler(radioButton2_CheckedChanged); this.radioButton3.CheckedChanged += new EventHandler(radioButton3_CheckedChanged); this.radioButton4.CheckedChanged += new EventHandler(radioButton4_CheckedChanged); this.radioButton5.CheckedChanged += new EventHandler(radioButton5_CheckedChanged); this.radioButton6.CheckedChanged += new EventHandler(radioButton6_CheckedChanged); this.radioButton7.CheckedChanged += new EventHandler(radioButton7_CheckedChanged); if (_Analis.ComPodkl == true) { WL_grad.Text = _Analis.DLWL; } }
public ParametrsGrad(Analis parent) { InitializeComponent(); this._Analis = parent; Ed.SelectedIndex = 9; this.radioButton1.CheckedChanged += new EventHandler(radioButton1_CheckedChanged); this.radioButton2.CheckedChanged += new EventHandler(radioButton2_CheckedChanged); this.radioButton3.CheckedChanged += new EventHandler(radioButton3_CheckedChanged); this.radioButton4.CheckedChanged += new EventHandler(radioButton4_CheckedChanged); this.radioButton5.CheckedChanged += new EventHandler(radioButton5_CheckedChanged); this.radioButton6.CheckedChanged += new EventHandler(radioButton6_CheckedChanged); this.radioButton7.CheckedChanged += new EventHandler(radioButton7_CheckedChanged); if (_Analis.ComPodkl == true) { WL_grad.Text = _Analis.DLWL; } _Analis.chart1.Series[0].Points.Clear(); _Analis.chart1.Series[1].Points.Clear(); }
public SettingPort(Analis parent) { InitializeComponent(); this._Analis = parent; //CO(); // SW(); // InitializeTimer(); string[] ports = SerialPort.GetPortNames(); comboBox1.Items.Clear(); comboBox1.Items.AddRange(ports); if (ports.Length != 0) { comboBox1.SelectedIndex = 0; _Analis.nonPort = true; } else { MessageBox.Show("Подсоедините спектрофотометр и попробуйте подключиться снова!"); _Analis.nonPort = false; Close(); // Dispose(); } }
public Analiz(Analis parent) { InitializeComponent(); this._Analis = parent; }
public Parametr1(Analis parent) { InitializeComponent(); this._Analis = parent; }
public Preview(Analis parent) { InitializeComponent(); this._Analis = parent; }