public void openDeckCreatorAndCloseClassSelector(ClassSelectorWindow window, string selectedClass)
 {
     Deck deck = new Deck();
     deck.DeckClass = selectedClass;
     deck.DeckName = "New Deck";
     deck.DeckUser = GlobalVariables.LoggedInUser;
     DeckCreatorWindow deckCreatorWindow = new DeckCreatorWindow(deck);
     deckCreatorWindow.Show();
     window.Close();
 }
コード例 #2
0
 public void openDeckCreatorWindow(Deck deck)
 {
     DeckCreatorWindow deckCreatorWindow = new DeckCreatorWindow(deck);
     deckCreatorWindow.Show();
 }