/// <summary> /// Initializes a new instance of the ApplicationWindowSnapIn class /// </summary> public ApplicationWindowSnapIn() : base() { _theInstance = this; this.InitializeComponent(); if (SnapInHostingEngine.Instance.SplashWindow != null) SnapInHostingEngine.Instance.SplashWindow.Closed += new EventHandler(OnSplashWindowClosed); this.Start += new EventHandler(OnSnapInStart); this.Stop += new EventHandler(OnSnapInStop); this.FileMenuItem.Popup += new EventHandler(OnFileMenuItemPopup); this.ToolsMenuItem.Popup += new EventHandler(OnToolsMenuItemPopup); this.HelpMenuItem.Popup += new EventHandler(OnHelpMenuItemPopup); }
/// <summary> /// Initializes a new instance of the ApplicationWindowSnapIn class /// </summary> public ApplicationWindowSnapIn() : base() { _theInstance = this; this.InitializeComponent(); if (SnapInHostingEngine.Instance.SplashWindow != null) { SnapInHostingEngine.Instance.SplashWindow.Closed += new EventHandler(OnSplashWindowClosed); } this.Start += new EventHandler(OnSnapInStart); this.Stop += new EventHandler(OnSnapInStop); this.FileMenuItem.Popup += new EventHandler(OnFileMenuItemPopup); this.ToolsMenuItem.Popup += new EventHandler(OnToolsMenuItemPopup); this.HelpMenuItem.Popup += new EventHandler(OnHelpMenuItemPopup); }