private void button4_Click(object sender, EventArgs e) { /// думаю уже тут необходима валидация /// this.listBox2.Items.Add(comboBox1.SelectedItem); this.signalizatori.Add(new SU(MyCartogram.getTVSByPointXY((Point)comboBox1.SelectedItem).CanvasCord, MyCartogram.getFA(), MyCartogram.getFstep(), (Point)comboBox1.SelectedItem)); this.signalizatori[this.signalizatori.Count - 1].ReDraw(this.g); tabControl1.SelectedIndex = 0; }