private void StartCustomPrvw_Click(object sender, EventArgs e) { CustomMIDI.InitialDirectory = LastMIDIPath; if (CustomMIDI.ShowDialog() == DialogResult.OK) { MIDIPreview = CustomMIDI.FileName; Functions.SetLastMIDIPath(Path.GetDirectoryName(CustomMIDI.FileName)); RunWorker(); } else { return; } }