private void fetchRomsButton_Click(object sender, EventArgs e) { if (MetroMessageBox.Show(this, "Fetch ROMs from ROM Folders?", "Curator", MessageBoxButtons.OKCancel) == DialogResult.OK) { _romController.LoadRoms(); UpdateRomListViewItems(); PromptToFilter.ShowDialog(this, ActiveConsole); } }
private void addToolStripMenuItem1_Click(object sender, EventArgs e) { var console = AddROMFolderDialog.ShowDialog(this); UpdateRomFolderView(); if (console == null) { return; } if (PromptToFilter.ShowDialog(this, console) == DialogResult.OK) { if (FilterForConsoleROMDialog.ShowDialog(this) == DialogResult.OK) { UpdateRomFolderView(); } } }