private void tsmi_NewPackage_Click(object sender, EventArgs e) { using (NewModDialog newModDialog = new NewModDialog()) { if (newModDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { FrModsManager.Edit(newModDialog.ModPack); this.cbxSetMod.SelectedItem = newModDialog.ModPack; } } }
private void tsmi_EditOn_gPatcher_Click(object sender, EventArgs e) { FrModsManager.Edit(this.GetSelectedPack()); }