/// <summary> /// Close active project and end EG session /// </summary> public static void EndEG() { if (EGProject != null) { try { EGProject.Close(); } catch { } EGProject = null; } if (EGApp != null) { try { EGApp.Quit(); } catch { } EGApp = null; } }
/// <summary> /// Open a project file /// </summary> /// <param name="projectPath"></param> /// <param name="password"></param> public static void OpenProject(string projectPath, string password) { EGProject = EGApp.Open(projectPath, password); }