/// <summary> /// Initialization of the package; this method is called right after the package is sited, so this is the place /// where you can put all the initialization code that rely on services provided by VisualStudio. /// </summary> protected override void Initialize() { OtherWindowsCommand.Initialize(this); ViewMenuCommand.Initialize(this); ExportImage = Resources.ExportReportData_10565; Logo = Resources.data_out_small; ScriptImage = Resources.script_16xLG; _objectExplorerManager = new ObjectExplorerManager(this); _objectExplorerManager.SetObjectExplorerEventProvider(); base.Initialize(); }
/// <summary> /// Initialization of the package; this method is called right after the package is sited, so this is the place /// where you can put all the initialization code that rely on services provided by VisualStudio. /// </summary> protected override void Initialize() { var dte = (DTE2)GetService(typeof(DTE)); Telemetry.Enabled = Properties.Settings.Default.ParticipateInTelemetry; if (Telemetry.Enabled) { Telemetry.Initialize(dte, Assembly.GetExecutingAssembly().GetName().Version.ToString(), //TODO Make this dynamic! "130", "d4881a82-2247-42c9-9272-f7bc8aa29315"); } DataConnectionHelper.LogUsage("Platform: SSMS 130"); OtherWindowsCommand.Initialize(this); ViewMenuCommand.Initialize(this); base.Initialize(); }
/// <summary> /// Initialization of the package; this method is called right after the package is sited, so this is the place /// where you can put all the initialization code that rely on services provided by VisualStudio. /// </summary> protected override void Initialize() { try { OtherWindowsCommand.Initialize(this); ViewMenuCommand.Initialize(this); ExportImage = Resources.ExportReportData_10565; Logo = Resources.data_out_small; ScriptImage = Resources.script_16xLG; base.Initialize(); _objectExplorerManager = new ObjectExplorerManager(this); _objectExplorerManager.SetObjectExplorerEventProvider(); } catch (Exception ex) { SetStatus("SQLite Toolbox error: " + ex.Message); } }
/// <summary> /// Initialization of the package; this method is called right after the package is sited, so this is the place /// where you can put all the initialization code that rely on services provided by VisualStudio. /// </summary> protected override void Initialize() { OtherWindowsCommand.Initialize(this); ViewMenuCommand.Initialize(this); base.Initialize(); }