private void RunCompile() { try { ScriptCompiler.CompileScriptsToDLL(Scripts); CompileStatus = "Compiled succesfully."; } catch (Exception ex) { CompileStatus = ex.Message; } }