예제 #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MangGuoTv;component/ListBox2.xaml", System.UriKind.Relative));
     this.@this = ((System.Windows.Controls.UserControl)(this.FindName("this")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.topPanel = ((ListBox2Demo.Controls.ListBox2TopPanel)(this.FindName("topPanel")));
     this.mainPanel = ((ListBox2Demo.Controls.ListBox2MainPanel)(this.FindName("mainPanel")));
     this.bottomPanel = ((ListBox2Demo.Controls.ListBox2BottomPanel)(this.FindName("bottomPanel")));
 }
예제 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MangGuoTv;component/ListBox2.xaml", System.UriKind.Relative));
     this.@this       = ((System.Windows.Controls.UserControl)(this.FindName("this")));
     this.LayoutRoot  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.topPanel    = ((ListBox2Demo.Controls.ListBox2TopPanel)(this.FindName("topPanel")));
     this.mainPanel   = ((ListBox2Demo.Controls.ListBox2MainPanel)(this.FindName("mainPanel")));
     this.bottomPanel = ((ListBox2Demo.Controls.ListBox2BottomPanel)(this.FindName("bottomPanel")));
 }