コード例 #1
0
 private void LevelPanel_LevelEditorExitSelected(int x, int y)
 {
     _levelPanel.LevelEditorExitSelected -= LevelPanel_LevelEditorExitSelected;
     _levelPanel = null;
     ExitX.Text  = x.ToString("X");
     ExitY.Text  = y.ToString("X");
     GlobalPanels.EditLevel(_levelInfo);
 }
コード例 #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (LevelList.SelectedItem != null)
     {
         if (LevelList.SelectedItem is LevelInfo)
         {
             GlobalPanels.EditLevel((LevelInfo)LevelList.SelectedItem);
         }
     }
 }
コード例 #3
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     if (LevelList.SelectedItem != null)
     {
         if (LevelList.SelectedItem is LevelInfo)
         {
             _levelPanel = GlobalPanels.EditLevel((LevelInfo)LevelList.SelectedItem);
             _levelPanel.LevelEditorExitSelected += LevelPanel_LevelEditorExitSelected;
         }
     }
 }