Esempio n. 1
0
        private void LoadAdditional_Click(object sender, RoutedEventArgs e)
        {
            var loadWindow = new LoadWindow();

            loadWindow.ShowDialog();
            AddSelectedDeckToList(loadWindow);
        }
Esempio n. 2
0
        private void Load_Click(object sender, RoutedEventArgs e)
        {
            var loadWindow = new LoadWindow();

            Decks = new List <Model.Deck>();
            loadWindow.ShowDialog();

            AddSelectedDeckToList(loadWindow);
        }
Esempio n. 3
0
        private void SelectDeckButton_Click(object sender, RoutedEventArgs e)
        {
            var loadWindow = new LoadWindow();

            loadWindow.ShowDialog();
            if (loadWindow.SelectedDeck != null)
            {
                SelectedDeck = loadWindow.SelectedDeck;
            }
        }