Exemple #1
0
        private void AddNewVersionButton_Click(object sender, RoutedEventArgs e)
        {
            GetFilepathWindow dioulouge = new GetFilepathWindow("", true);

            dioulouge.Submit += AddVersion;

            dioulouge.Show();
        }
Exemple #2
0
        private void AddNewModButton_Click(object sender, RoutedEventArgs e)
        {
            OpenFileDialog openFileDialog = new OpenFileDialog();

            openFileDialog.Multiselect = true;
            openFileDialog.Title       = "Select Mods";

            GetFilepathWindow dioulouge = new GetFilepathWindow("", false, true, openFileDialog);

            dioulouge.Submit += AddMod;

            dioulouge.Show();
        }