public SimulationContextMenuView(TreeNode node, OtherSubSysInterface subSys, UserInformationInMap userInfo, SimGroupManager groupManager, IApplicationContext appContext)
 {
     this.components = null;
     this.simGroupIndex = 0;
     this.isfirst = true;
     this.FT = FieldType.State;
     this.DT = DisplayType.DiscreteValues;
     this.calculatFlag = false;
     this.isFirstAddGroup = false;
     this.m_SubSysInterface = subSys;
     this.m_UserInfo = userInfo;
     this.m_SimGroupManager = groupManager;
     this.m_ParentNode = node;
     this.AppContext = appContext;
     this.InitializeComponent();
     this.Init();
 }
Example #2
0
 private void Init()
 {
     this.InitMenuItemOperations();
     this.InitNodeOperations();
     this.m_SubSysInterface = new OtherSubSysInterface();
     this.m_UserInfo = new UserInformationInMap(this.m_SubSysInterface, this.m_AppContext);
     this.m_SimGroupManager = new SimGroupManager(this.m_SubSysInterface);
     this.m_ExportManager = new ExportManager(this.m_AppContext, this.m_SimGroupManager, this.m_SubSysInterface);
 }
Example #3
0
 public void Dispose(bool disposing)
 {
     if (!this.m_Disposed)
     {
         if (disposing)
         {
             this.m_SubSysInterface = null;
             this.m_UserInfo = null;
         }
         if (this.m_SimGroupManager != null)
         {
             this.StopCaculateAndDeleteTempFiles();
             this.m_SimGroupManager = null;
         }
     }
     this.m_Disposed = true;
 }