private void createGameZipToolStripMenuItem_Click(object sender, EventArgs e) { RvTreeRow selected = DirTree.Selected; if (selected == null) return; if (selected.DatId == null) { MessageBox.Show("Select a DAT to remake", "RomVaultX", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (GameGrid.SelectedRows.Count == 0) { MessageBox.Show("Select a Game to remake", "RomVaultX", MessageBoxButtons.OK, MessageBoxIcon.Information); return; }; int GameId = (int)GameGrid.SelectedRows[0].Tag; if (outputDir == null) outputDir = new FolderBrowserDialog(); DialogResult result = outputDir.ShowDialog(); if (result != DialogResult.OK) return; ReMakeZips.SetDatZipInfo(GameId, outputDir.SelectedPath); FrmProgressWindow progress = new FrmProgressWindow(this, "Extracting File To Zips", ReMakeZips.MakeDatZips); progress.ShowDialog(this); progress.Dispose(); }
private void btnUpdateDats_Click(object sender, EventArgs e) { FrmProgressWindow progress = new FrmProgressWindow(this, "Scanning Dats", DatUpdate.UpdateDat); progress.ShowDialog(this); progress.Dispose(); DirTree.Setup(RvTreeRow.ReadTreeFromDB()); DatSetSelected(DirTree.Selected); }
private void deepReScanToolStripMenuItem_Click(object sender, EventArgs e) { FrmProgressWindow progress = new FrmProgressWindow(this, "Scanning RomRoot Files", romRootScanner.ScanFilesDeep); progress.ShowDialog(this); progress.Dispose(); DirTree.Setup(RvTreeRow.ReadTreeFromDB()); DatSetSelected(DirTree.Selected); }
private void DoScan() { FrmProgressWindow progress = new FrmProgressWindow(this, "Scanning Files", RomScanner.ScanFiles); progress.ShowDialog(this); progress.Dispose(); DirTree.Setup(RvTreeRow.ReadTreeFromDB()); DatSetSelected(DirTree.Selected); }
private void createDATZipsToolStripMenuItem_Click(object sender, EventArgs e) { RvTreeRow selected = DirTree.Selected; if (selected == null) return; if (outputDir == null) outputDir = new FolderBrowserDialog(); DialogResult result = outputDir.ShowDialog(); if (result != DialogResult.OK) return; ReMakeZips.SetDatZipInfo(selected, outputDir.SelectedPath); FrmProgressWindow progress = new FrmProgressWindow(this, "Extracting File To Zips", ReMakeZips.MakeDatZips); progress.ShowDialog(this); progress.Dispose(); }
private void quickReScanToolStripMenuItem_Click(object sender, EventArgs e) { FrmProgressWindow progress = new FrmProgressWindow(this, "Scanning RomRoot Files", romRootScanner.ScanFiles); progress.ShowDialog(this); progress.Dispose(); DirTree.Setup(RvTreeRow.ReadTreeFromDB()); DatSetSelected(DirTree.Selected); }
private void DoScan() { FrmProgressWindow progress = new FrmProgressWindow(this, "Scanning Files", romScanner.ScanFiles); progress.ShowDialog(this); progress.Dispose(); DirTree.Setup(RvTreeRow.ReadTreeFromDB()); DatSetSelected(DirTree.Selected); }