public static VBComm getComm() { if (me == null) { lock (syncRoot) { if (me == null) { me = new VBComm(); } } } return(me); }
public static VBComm getComm() { if (me == null) { lock (syncRoot) { if (me == null) { me = new VBComm(); } } } return me; }
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]; }
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]; }