예제 #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/StudyBuddy;component/AddExam.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.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel = ((System.Windows.Controls.StackPanel)(this.FindName("ContentPanel")));
     this.examNameTbx = ((System.Windows.Controls.TextBox)(this.FindName("examNameTbx")));
     this.examDate = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("examDate")));
     this.examTime = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("examTime")));
     this.priorityPicker = ((Phone.Controls.ListPicker)(this.FindName("priorityPicker")));
 }
예제 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Smart%20Challenge;component/setMenu.xaml", System.UriKind.Relative));
     this.grid1           = ((System.Windows.Controls.Grid)(this.FindName("grid1")));
     this.sfondo1BG       = ((System.Windows.Controls.Image)(this.FindName("sfondo1BG")));
     this.selezioneLingua = ((Phone.Controls.ListPicker)(this.FindName("selezioneLingua")));
     this.lang            = ((System.Windows.Controls.TextBlock)(this.FindName("lang")));
     this.audio           = ((System.Windows.Controls.TextBlock)(this.FindName("audio")));
     this.audioOnOff      = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("audioOnOff")));
     this.TxtSettings     = ((System.Windows.Controls.TextBlock)(this.FindName("TxtSettings")));
     this.reset           = ((System.Windows.Controls.TextBlock)(this.FindName("reset")));
 }