Пример #1
0
 private void btnMapEditor_Click(object sender, RoutedEventArgs e)
 {
     if (mapIDs[cmbMapForEditor.SelectedIndex] < 0)
     {
         MapEditor me = new MapEditor();
         me.Show();
     }
     else
     {
         MapEditor me = new MapEditor(mapIDs[cmbMapForEditor.SelectedIndex]);
         me.Show();
     }
 }
Пример #2
0
 private void btnMapEditor_Click(object sender, RoutedEventArgs e)
 {
     if (mapIDs[cmbMapForEditor.SelectedIndex] < 0)
     {
         MapEditor me = new MapEditor();
         me.Show();
     }
     else
     {
         MapEditor me = new MapEditor(mapIDs[cmbMapForEditor.SelectedIndex]);
         me.Show();
     }
 }
Пример #3
0
 private void btnMapEditor_Click(object sender, RoutedEventArgs e)
 {
     MapEditor me = new MapEditor();
     me.Show();
 }
Пример #4
0
        private void btnMapEditor_Click(object sender, RoutedEventArgs e)
        {
            MapEditor me = new MapEditor();

            me.Show();
        }