/// <summary> /// Open a Package in the main SimPE Gui /// </summary> /// <param name="filename">The Filename of the package</param> /// <returns>true, if the package was opened</returns> public static bool OpenMemoryPackage(SimPe.Interfaces.Files.IPackageFile pkg) { if (omp == null) { return(false); } try { return(omp(pkg)); } catch (Exception ex) { Helper.ExceptionMessage("Unable to open a Package in the SimPE GUI. (package=" + pkg.ToString() + ")", ex); } return(false); }