Beispiel #1
0
 private void saveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (saveFileDialog1.ShowDialog() == DialogResult.OK)
     {
         try
         {
             MG_window.SaveMap(saveFileDialog1.FileName);
             currentFileName = saveFileDialog1.FileName;
             saveToolStripMenuItem1.Enabled = true;
         }
         catch (Exception ex)
         {
             throw ex;
         }
     }
 }
Beispiel #2
0
 private void saveToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     MG_window.SaveMap(currentFileName);
 }