Interaction logic for MyControl.xaml
Inheritance: System.Windows.Controls.UserControl
 /// <summary>
 /// Standard constructor for the tool window.
 /// </summary>
 public WindowPane_WinForms() :
     base(null)
 {
     this.Caption = "ToolWindowPane WinForms";            
     //this.BitmapResourceID = 301;
     //this.BitmapIndex = 1;
     var userControl = new Control_WinForms();
     base.Content = userControl;
     VisualStudio_2010.ToolWindowPanes.Add(userControl, this);
 }
Beispiel #2
0
        /// <summary>
        /// Standard constructor for the tool window.
        /// </summary>
        public WindowPane_WinForms() :
            base(null)
        {
            this.Caption = "ToolWindowPane WinForms";
            //this.BitmapResourceID = 301;
            //this.BitmapIndex = 1;
            var userControl = new Control_WinForms();

            base.Content = userControl;
            VisualStudio_2010.ToolWindowPanes.Add(userControl, this);
        }