public static void RunConfigEditor(string PrettyFile) { ConfigEditor cedit = new ConfigEditor(PrettyFile); cedit.ShowDialog(); cedit.Dispose(); }