Exemple #1
0
        private void loadToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var load = ShapeSerializer.Open();

            if (load != null)
            {
                shapes = load;
            }

            UpdateForm();
        }
 private void Button1_Click(object sender, EventArgs e)
 {
     ShapeSerializer.Save(shapes);
     this.Close();
 }