Пример #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")));
 }