Ejemplo n.º 1
0
 public static VBComm getComm()
 {
     if (me == null)
     {
         lock (syncRoot)
         {
             if (me == null)
             {
                 me = new VBComm();
             }
         }
     }
     return(me);
 }
Ejemplo n.º 2
0
 public static VBComm getComm()
 {
     if (me == null)
     {
         lock (syncRoot)
         {
             if (me == null)
             {
                 me = new VBComm();
             }
         }
     }
     return me;
 }
Ejemplo n.º 3
0
        private VBProjectManager()
        {
            ProjectSaved += new VBProjectManager.ProjectSavedHandler <PackEventArgs>(ProjectSavedListener);

            String strPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().CodeBase);

            _cachePath = strPath + "\\cache";

            _siteInfo             = null;
            _comms                = new VBComm();
            Model                 = new Dictionary <string, double>();
            _modelingInfo         = new ModelingInfo();
            _residualAnalysisInfo = new ResidualAnalysisInfo();
            _predInfo             = new PredInfo();
            _datasheetInfo        = new DataSheetInfo();
            _tabStates            = new TabStates();

            _graph = new object[7];
        }
Ejemplo n.º 4
0
        private VBProjectManager()
        {
            ProjectSaved += new VBProjectManager.ProjectSavedHandler<PackEventArgs>(ProjectSavedListener);

            String strPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().CodeBase);
            _cachePath = strPath + "\\cache";

            _siteInfo = null;
            _comms = new VBComm();
            Model = new Dictionary<string, double>();
            _modelingInfo = new ModelingInfo();
            _residualAnalysisInfo = new ResidualAnalysisInfo();
            _predInfo = new PredInfo();
            _datasheetInfo = new DataSheetInfo();
            _tabStates = new TabStates();

            _graph = new object[7];
        }