Inheritance: System.Windows.Controls.UserControl
Ejemplo n.º 1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WorldCookbook;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.myPivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("myPivot")));
     this.NationalMenu = ((WorldCookbook.userControl.NationalMenuControl)(this.FindName("NationalMenu")));
 }
Ejemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WorldCookbook;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.myPivot      = ((Microsoft.Phone.Controls.Pivot)(this.FindName("myPivot")));
     this.NationalMenu = ((WorldCookbook.userControl.NationalMenuControl)(this.FindName("NationalMenu")));
 }