Beispiel #1
0
 public ScriptControl() {
     _msc_compiler = (IMSScriptControl)new MSScriptControl();
     _msc_compiler.Timeout = -1;
     _msc_compiler.Language = "VBScript";
     _msc_compiler.UseSafeSubset = false;
     _msc_compiler.AllowUI = true;
     _msc_compiler.ErrorEvent += OnError_Event;
 }
Beispiel #2
0
 public ScriptControl()
 {
     _msc_compiler               = (IMSScriptControl) new MSScriptControl();
     _msc_compiler.Timeout       = -1;
     _msc_compiler.Language      = "VBScript";
     _msc_compiler.UseSafeSubset = false;
     _msc_compiler.AllowUI       = true;
     _msc_compiler.ErrorEvent   += OnError_Event;
 }