示例#1
0
        /// <summary>
        /// Adds the services.
        /// </summary>
        internal void AddServices()
        {
            TraceService.WriteLine("Connect::AddServices Version=" + this.ApplicationVersion);

            ServicesController controller = new ServicesController
            {
                DTE2 = this.VSInstance.ApplicationObject
            };

            controller.Run();
        }
示例#2
0
        /// <summary>
        /// Adds the services tool strip menu item click.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        private void AddServicesToolStripMenuItemClick(object sender, EventArgs e)
        {
            ServicesController controller = new ServicesController();

            controller.Run();
        }