public static void ShowDialog(string path, FileNameFormat fn) { RemTrackDialog dlg = new RemTrackDialog(path, fn); dlg.Owner = MainForm.Main; dlg.ShowDialog(); }