コード例 #1
0
 public static VBComm getComm()
 {
     if (me == null)
     {
         lock (syncRoot)
         {
             if (me == null)
             {
                 me = new VBComm();
             }
         }
     }
     return(me);
 }
コード例 #2
0
ファイル: VBComm.cs プロジェクト: wrbrooks/VB3
 public static VBComm getComm()
 {
     if (me == null)
     {
         lock (syncRoot)
         {
             if (me == null)
             {
                 me = new VBComm();
             }
         }
     }
     return me;
 }
コード例 #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];
        }
コード例 #4
0
ファイル: VBProjectManager.cs プロジェクト: wrbrooks/VB3
        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];
        }