Пример #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SACIS;component/Shell.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainPanel = ((SACIS.Library.SlidingPanel)(this.FindName("MainPanel")));
     this.MainFrame = ((Microsoft.Phone.Controls.PhoneApplicationFrame)(this.FindName("MainFrame")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SACIS;component/Shell.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainPanel  = ((SACIS.Library.SlidingPanel)(this.FindName("MainPanel")));
     this.MainFrame  = ((Microsoft.Phone.Controls.PhoneApplicationFrame)(this.FindName("MainFrame")));
 }