/// <summary> /// This is the main method. It shows the dialog and runs the compiler /// </summary> /// <param name="TexCode"></param> /// <param name="OutputFile"></param> public static void Export(string TexCode, string OutputFile) { ExportCompileDialog ecd = new ExportCompileDialog(); ecd.TheVM.DoCompile(TexCode, OutputFile); ecd.Show(); }