コード例 #1
0
        /// <summary>
        /// Adds the converters.
        /// </summary>
        internal void AddConverters()
        {
            TraceService.WriteLine("Connect::AddConverters Version=" + this.ApplicationVersion);

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

            controller.Run();
        }
コード例 #2
0
        /// <summary>
        /// Handles the Click event of the addConvertersToolStripMenuItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        private void AddConvertersToolStripMenuItemClick(object sender, EventArgs e)
        {
            ConvertersController controller = new ConvertersController();

            controller.Run();
        }