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

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