示例#1
0
 private void загрузитьМетодФармаToolStripMenuItem_Click(object sender, EventArgs e)
 {
     folderBrowserDialog1.SelectedPath = Directory.GetCurrentDirectory();
     if (folderBrowserDialog1.ShowDialog() == DialogResult.OK)
     {
         MainMapConstructor.LoadMap(folderBrowserDialog1.SelectedPath);
     }
 }
示例#2
0
 private void SaveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         MainMapConstructor.SaveMap();
         MessageBox.Show("Сохранено", MainMapConstructor.MapName);
     }
     catch
     {
         MessageBox.Show("Ошибка сохранения");
     }
 }