Esempio n. 1
0
        public static bool?ShowDialog(Window owner, IPokemon deoxys)
        {
            ChangeDeoxysFormWindow window = new ChangeDeoxysFormWindow(deoxys);

            window.Owner = owner;
            return(window.ShowDialog());
        }
Esempio n. 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();
 }