示例#1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SpaceTrek;component/View/CalendarPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ZCalendar = ((WPControls.Calendar)(this.FindName("ZCalendar")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MeuCalendario;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.Cal = ((WPControls.Calendar)(this.FindName("Cal")));
 }
示例#3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp;component/Page/Home.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PivotHome = ((Microsoft.Phone.Controls.Pivot)(this.FindName("PivotHome")));
     this.ContentMain = ((System.Windows.Controls.Grid)(this.FindName("ContentMain")));
     this.taskListBox = ((System.Windows.Controls.ListBox)(this.FindName("taskListBox")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.Cal = ((WPControls.Calendar)(this.FindName("Cal")));
     this.Add = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Add")));
 }
示例#4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AutotauschApp;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot    = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.app_overview  = ((Microsoft.Phone.Controls.Pivot)(this.FindName("app_overview")));
     this.archive       = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("archive")));
     this.archive_list  = ((System.Windows.Controls.ListBox)(this.FindName("archive_list")));
     this.recent_order  = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("recent_order")));
     this.comming_order = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("comming_order")));
     this.MainListBox   = ((System.Windows.Controls.ListBox)(this.FindName("MainListBox")));
     this.timetable     = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("timetable")));
     this.Cal           = ((WPControls.Calendar)(this.FindName("Cal")));
 }