Inheritance: System.Windows.Controls.UserControl
 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")));
 }
Exemple #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")));
 }