This class inherites from UserControl.
예제 #1
0
        /// <summary>
        /// Called when pane is closed.
        /// </summary>
        protected override void OnClose()
        {
            base.OnClose();

            _control.Dispose();
            _control = null;
        }
예제 #2
0
        // Caching our output window pane
        //private IVsOutputWindowPane outputWindowPane = null;
        /// <summary>
        /// Constructor for ToolWindowPane.
        /// Initialization that depends on the package or that requires access
        /// to VS services should be done in OnToolWindowCreated.
        /// </summary>
        public MergeWIPane()
            : base(null)
        {
            Trace.WriteLine(String.Format(CultureInfo.CurrentCulture, "Entering constructor for class {0}.", this.GetType().Name));

            // Creating the user control that will be displayed in the window
            _control = new MergeWIControl();

            this.Caption = Utilities.AppTitle;
            this.BitmapResourceID = 700;
            this.BitmapIndex = 1;
        }
예제 #3
0
        // Caching our output window pane
        //private IVsOutputWindowPane outputWindowPane = null;

        /// <summary>
        /// Constructor for ToolWindowPane.
        /// Initialization that depends on the package or that requires access
        /// to VS services should be done in OnToolWindowCreated.
        /// </summary>
        public MergeWIPane()
            : base(null)
        {
            Trace.WriteLine(String.Format(CultureInfo.CurrentCulture, "Entering constructor for class {0}.", this.GetType().Name));

            // Creating the user control that will be displayed in the window
            _control = new MergeWIControl();

            this.Caption          = Utilities.AppTitle;
            this.BitmapResourceID = 700;
            this.BitmapIndex      = 1;
        }
예제 #4
0
        /// <summary>
        /// Called when pane is closed.
        /// </summary>
        protected override void OnClose()
        {
            base.OnClose();

            _control.Dispose();
            _control = null;
        }