public Form1() { InitializeComponent(); iw = new ImageWriter(pic, "controller_"+comboBox.Text); current = 0; }
public Form1() { InitializeComponent(); iw = new ImageWriter(pic, "controller_" + comboBox.Text); current = 0; }
private void bStart_Click(object sender, EventArgs e) { try { iw = new ImageWriter(pic, "controller_" + comboBox.Text); } catch (Exception exc) { MessageBox.Show("Такой команды нет", "Ошибка"); return; } current = 0; timer.Start(); }