private void LoadDeckButton_Click(object sender, RoutedEventArgs e)
        {
            Deck          deck          = DeserializeDeck();
            NewDeckWindow newDeckWindow = new NewDeckWindow(this, deck);

            newDeckWindow.ShowDialog();
        }
        public CardViewWindow(NewDeckWindow newDeckWindow, Card cardToView = null)
        {
            InitializeComponent();
            NewDeckWindowCallback = newDeckWindow;
            iconsList             = new ObservableCollection <ObservedString>();
            keywordsList          = new ObservableCollection <ObservedString>();
            bodyList         = new ObservableCollection <ObservedString>();
            powersList       = new ObservableCollection <ObservedString>();
            fqList           = new ObservableCollection <FlavorQuoteContainer>();
            incapList        = new ObservableCollection <ObservedString>();
            flippedIconsList = new ObservableCollection <ObservedString>();

            lbIconList.ItemsSource         = iconsList;
            lbKeywordsList.ItemsSource     = keywordsList;
            lbBodyList.ItemsSource         = bodyList;
            lbPowerList.ItemsSource        = powersList;
            lbFlavorQuoteList.ItemsSource  = fqList;
            lbIncapsList.ItemsSource       = incapList;
            lbFlippedIconsList.ItemsSource = flippedIconsList;

            if (cardToView != null)
            {
                BuildCardToView(cardToView);
            }
        }
        private void NewDeckButton_Click(object sender, RoutedEventArgs e)
        {
            NewDeckWindow newDeckWindow = new NewDeckWindow(this);

            newDeckWindow.ShowDialog();
        }