private void Cancel_Click(object sender, EventArgs e)
 {
     MapMain.Refresh();
     Program.ReSetCurrentMap();
     graphics = Graphics.FromImage(Program.CurrentMap);
     MapMain.Image = Program.CurrentMap;
     Painted();
 }
 private void Close_Click(object sender, EventArgs e)
 {
     MapMain.Refresh();
     Program.ReSetCurrentMap();
     graphics = Graphics.FromImage(Program.CurrentMap);
     MapMain.Image = Program.CurrentMap;
     AddR add = new AddR();
     add.Show();
     this.Close();
 }
        private void Close_Click(object sender, EventArgs e)
        {
            MapMain.Refresh();
            Program.ReSetCurrentMap();
            graphics      = Graphics.FromImage(Program.CurrentMap);
            MapMain.Image = Program.CurrentMap;
            ChangeLSCon con = new ChangeLSCon();

            con.Show();
            this.Close();
        }