//_________________________________________________________________________ public CWrParams(Tdrv DRV) : this() { this.DRV = DRV; string[] Row = Properties.Settings.Default.DataArToWr.Split(SeparRow); for (int iRow = 0; iRow < Row.Length; iRow++) { GVDataWr.Rows.Add(Row[iRow].Split(';')); } NUDIDwritePar.Value = Properties.Settings.Default.iIDstart; }
private void BSwithLog_Click(object sender, EventArgs e) { if (!bLogON) { bLogON = true; Tdrv.SetSwitchLog((STATE_WRITE_MESS)CBStateLog.SelectedIndex); BSwithLog.Text = "Отключить Log"; } else { Tdrv.CloseLog(); bLogON = false; BSwithLog.Text = "Включить Log"; } }