Example #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     foreach (var t in Serializer.Deserialize <List <Figure> >(File))
     {
         ShapesList.AddShape(t);
     }
     ListUpdate();
 }
Example #2
0
 private void button5_Click(object sender, EventArgs e)
 {
     ShapesList.RemoveShape(ShapesList.List[listBox1.SelectedIndex]);
     ListUpdate();
 }