public static void InitInstance(VSWindowTitleChangerPackage package) { Debug.Assert(m_Globals == null); if (m_Globals == null) { m_Globals = new PackageGlobals(package); } }
PackageGlobals(VSWindowTitleChangerPackage package) { m_Package = package; CreateCompileTimeConstants(); ParseDTEVersion(); m_ExecFuncEvaluatorThread = new ExecFuncEvaluatorThread(); m_TitleSetup = package.GetTitleSetupFromOptions(); m_TitleSetupEditor = new TitleSetupEditor(); m_TitleSetupEditor.SaveEditedSetup += SaveEditedSetup; m_TitleSetupEditor.RevertToOriginalSetup += RevertToOriginalSetup; m_TitleSetupEditor.CustomTabbingEnabled = true; }
public static void InitInstance(VSWindowTitleChangerPackage package) { Debug.Assert(m_Globals == null); if (m_Globals == null) m_Globals = new PackageGlobals(package); }