Interaction logic for MyControl.xaml
상속: 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);
 }
예제 #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);
        }