Esempio n. 1
0
        /// <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;
            }
        }
Esempio n. 2
0
 /// <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);
 }