Enable old format and rename

This commit is contained in:
Matt Nadareski
2016-03-29 21:55:54 -07:00
parent 3ef696b48c
commit 9bc7f36be1
2 changed files with 71 additions and 71 deletions

View File

@@ -124,7 +124,16 @@ ORDER BY sources.name COLLATE NOCASE";
sources += (sources == "" ? id : "," + id);
}
Process.Start("DATabase.exe", "-l -g" + (systems != "" ? " system=" + systems : "") + (sources != "" ? " source=" + sources : ""));
bool old = this.oldCheckBox.Checked;
bool norename = !this.renameCheckBox.Checked;
string args = "-l -g" +
(old ? " -old" : "") +
(norename ? " -nr" : "") +
(systems != "" ? " system=" + systems : "") +
(sources != "" ? " source=" + sources : "");
Process.Start("DATabase.exe", args);
}
private void button2_Click(object sender, EventArgs e)