Inheritance: System.Windows.Controls.UserControl, IName
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/MainPage1.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.selected = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("selected")));
     this.tab = ((System.Windows.Controls.TabControl)(this.FindName("tab")));
     this.menu1 = ((System.Windows.Controls.ListBox)(this.FindName("menu1")));
     this.menu2 = ((System.Windows.Controls.ListBox)(this.FindName("menu2")));
     this.start = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("start")));
     this.PictureWindow = ((Com.Aote.Controls.ImageView)(this.FindName("PictureWindow")));
 }
示例#2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/MainPage1.xaml", System.UriKind.Relative));
     this.LayoutRoot    = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.selected      = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("selected")));
     this.tab           = ((System.Windows.Controls.TabControl)(this.FindName("tab")));
     this.menu1         = ((System.Windows.Controls.ListBox)(this.FindName("menu1")));
     this.menu2         = ((System.Windows.Controls.ListBox)(this.FindName("menu2")));
     this.start         = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("start")));
     this.PictureWindow = ((Com.Aote.Controls.ImageView)(this.FindName("PictureWindow")));
 }