//This Will Add A New Card To the Currently Selected Set
        private void BTN_Add_Card_Click(object sender, RoutedEventArgs e)
        {
            //First off we need the name of file to write this to
            InputDialog input = new InputDialog("Name Of File To Save New Card To!");

            if (input.ShowDialog() == true)
            {
                //Also need to make sure an actual set is selected to add the card to
                if (CMB_Set_Selector.SelectedItem != null)
                {
                    //The final name of the file
                    string New_File = input.Answer();
                    //sanitise the string so as not to crash the program
                    string regexSearch = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars());
                    Regex  r           = new Regex(string.Format("[{0}]", Regex.Escape(regexSearch)));
                    //this removes invalid characters from the file name
                    New_File = r.Replace(New_File, "");
                    //Now we need to get the directory to put it in from the selected set
                    string directory = ((Set_Info)((ComboBoxItem)CMB_Set_Selector.SelectedItem).Tag).dir;
                    //Now make this described file and make a file info of it
                    FileInfo file = new FileInfo(directory + $@"\{New_File}.txt");
                    //Only create the file if there isn't an existing file by that name in the directory
                    if (!File.Exists(file.FullName))
                    {
                        //Actually create the file , making sure to close the filestream it leaves behind
                        file.Create().Close();
                        //the set we will be adding cards to
                        List <Card> set = ((Set_Info)((ComboBoxItem)CMB_Set_Selector.SelectedItem).Tag).cards;
                        //now make a card from the file, creating the file in the process
                        //we also need to give the card the index , which will be whatever the lists length is
                        //since indexing starts at 0
                        int  index = set.Count;
                        Card c     = Card.Generate_Card_From_File(file, index);
                        //Also give the card a generic name and title so it doesnt show up
                        //as a blank entry on the drop down
                        c.Name  = "New";
                        c.Title = "Card";
                        //We now add this card to the list of the current set
                        set.Add(c);
                        //And then append the card to the combobox
                        CMB_Card_Selector.Items.Add(Static_Methods_Container.Generate_Card_Item(c));
                    }
                    else
                    {
                        //If the file already exists dont make a new one, you will just end up fighting over access
                        //Show an error saying that a file by that name already exists
                        MessageBox.Show("Error: A file by that name already exists! No new file has been created.", "Folder Already Exists!", MessageBoxButton.OK, MessageBoxImage.Warning);
                    }
                }
            }
        }