Пример #1
0
 private void btnWarriorEditor_Click(object sender, RoutedEventArgs e)
 {
     WarriorEditWindow warriorEditWindow = new WarriorEditWindow();
     App.Current.MainWindow = warriorEditWindow;
     this.Close();
     warriorEditWindow.Show();
 }
Пример #2
0
        private void btnWarriorEditor_Click(object sender, RoutedEventArgs e)
        {
            WarriorEditWindow warriorEditWindow = new WarriorEditWindow();

            App.Current.MainWindow = warriorEditWindow;
            this.Close();
            warriorEditWindow.Show();
        }
Пример #3
0
        private void onBtn_EditWarrior(object sender, RoutedEventArgs e)
        {
            WarriorEditWindow warriorEditWindow = new WarriorEditWindow();

            warriorEditWindow.Left = this.Left;
            warriorEditWindow.Top  = this.Top;
            warriorEditWindow.Show();
            this.Close();
        }
Пример #4
0
 private void onBtn_EditWarrior(object sender, RoutedEventArgs e)
 {
     WarriorEditWindow warriorEditWindow = new WarriorEditWindow();
     warriorEditWindow.Left = this.Left;
     warriorEditWindow.Top = this.Top;
     warriorEditWindow.Show();
     this.Close();
 }