示例#1
0
 /// <summary>Loads an HDevelop script</summary>
 /// <remarks>
 ///   You can use this to exceute the program or local procedures.
 /// </remarks>
 /// <param name="fileName">Path and file name of the HDevelop script</param>
 public void LoadProgram(string fileName)
 {
     HDevProgram.HCkE(EngineAPI.LoadProgram(this.program, fileName));
     EngineAPI.GetProgramInfo(this.program, out this.name, out this.loaded, out this.varNamesIconic, out this.varNamesCtrl, out this.varDimsIconic, out this.varDimsCtrl);
     GC.KeepAlive((object)this);
 }