Example #1
0
        private void Save_Click(object sender, EventArgs e)
        {
            save_file = create_save_file();

            if (save_file.ShowDialog() == DialogResult.OK)
            {
                Serializate.Serializate_list(circles, save_file.FileName);
            }
        }
Example #2
0
 private void Open_Click(object sender, EventArgs e)
 {
     open_file = create_open_file();
     if (open_file.ShowDialog() == DialogResult.OK)
     {
         Reset();
         circles = Serializate.deserealizate(open_file.FileName);
         Graphic.Redraw(panel, graphics, circles);
     }
 }