private void exportBMS_Click(object sender, EventArgs e) { saveSelector.ShowDialog(); var name = saveSelector.FileName; MidiToBMS.doToBMS(currentSequence, name); }
private void launchJSEQ_Click(object sender, EventArgs e) { MidiToBMS.doToBMS(currentSequence, "test.bms"); var args = string.Format("visu \"{0}\" {1} test.bms", JaiFile, (int)type); var b = new ProcessStartInfo("JaiSeqX.exe", args); var bw = Process.Start(b); bw.WaitForExit(); }