예제 #1
0
        public static bool?ShowDialog(Window owner, IPokemon deoxys)
        {
            ChangeDeoxysFormWindow window = new ChangeDeoxysFormWindow(deoxys);

            window.Owner = owner;
            return(window.ShowDialog());
        }
예제 #2
0
 private void OnChangeFormClicked(object sender, RoutedEventArgs e)
 {
     if (pokemon != null && pokemon.DexID == 386)
     {
         ChangeDeoxysFormWindow.ShowDialog(Window.GetWindow(this), pokemon);
     }
 }
 public static bool? ShowDialog(Window owner, IPokemon deoxys)
 {
     ChangeDeoxysFormWindow window = new ChangeDeoxysFormWindow(deoxys);
     window.Owner = owner;
     return window.ShowDialog();
 }