private void AddNewVersionButton_Click(object sender, RoutedEventArgs e) { GetFilepathWindow dioulouge = new GetFilepathWindow("", true); dioulouge.Submit += AddVersion; dioulouge.Show(); }
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(); }