Example #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CountdownApp;component/Views/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot              = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel            = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.checkBox                = ((System.Windows.Controls.CheckBox)(this.FindName("checkBox")));
     this.TimePickerCountdownTime = ((Coding4Fun.Toolkit.Controls.TimeSpanPicker)(this.FindName("TimePickerCountdownTime")));
     this.BlockControl            = ((CountdownApp.Views.BlockControl)(this.FindName("BlockControl")));
 }
Example #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CountdownApp;component/Views/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot              = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel            = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.TimePickerCountdownTime = ((Coding4Fun.Toolkit.Controls.TimeSpanPicker)(this.FindName("TimePickerCountdownTime")));
     this.SoundsListPicker        = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("SoundsListPicker")));
     this.StartButton             = ((CountdownApp.UserControls.WindowsPhoneControlStartButton)(this.FindName("StartButton")));
     this.TextBoxName             = ((System.Windows.Controls.TextBox)(this.FindName("TextBoxName")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ClockSocial;component/EditarAlarma.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.nombre       = ((System.Windows.Controls.TextBox)(this.FindName("nombre")));
     this.hora         = ((Coding4Fun.Toolkit.Controls.TimeSpanPicker)(this.FindName("hora")));
     this.cmbCurrFrom  = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("cmbCurrFrom")));
     this.repeat       = ((System.Windows.Controls.CheckBox)(this.FindName("repeat")));
     this.gridDias     = ((System.Windows.Controls.Grid)(this.FindName("gridDias")));
     this.lunes        = ((System.Windows.Controls.CheckBox)(this.FindName("lunes")));
     this.martes       = ((System.Windows.Controls.CheckBox)(this.FindName("martes")));
     this.miercoles    = ((System.Windows.Controls.CheckBox)(this.FindName("miercoles")));
     this.jueves       = ((System.Windows.Controls.CheckBox)(this.FindName("jueves")));
     this.viernes      = ((System.Windows.Controls.CheckBox)(this.FindName("viernes")));
     this.sabado       = ((System.Windows.Controls.CheckBox)(this.FindName("sabado")));
     this.domingo      = ((System.Windows.Controls.CheckBox)(this.FindName("domingo")));
 }