public static bool?ShowDialog(Window owner, IPokemon deoxys) { ChangeDeoxysFormWindow window = new ChangeDeoxysFormWindow(deoxys); window.Owner = owner; return(window.ShowDialog()); }
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(); }