public StartUsage2()
 {
     this.InitializeComponent();
     PagesUtilities.AddBackButtonHandler();
     Timer.Tick    += Timer_Tick;
     Timer.Interval = new TimeSpan(0, 1, 0); //so time would be updated
 }
Exemple #2
0
 public EditNegativePage()
 {
     this.InitializeComponent();
     PagesUtilities.AddBackButtonHandler((object sender, Windows.UI.Core.BackRequestedEventArgs e) =>
     {
         BackToPositive(null, null);
     });
 }
Exemple #3
0
 public UsageDisplay()
 {
     InitializeComponent();
     PagesUtilities.AddBackButtonHandler((object sender, Windows.UI.Core.BackRequestedEventArgs e) =>
     {
         GoBack(null, null);
     });
 }
 public ActiveSession()
 {
     InitializeComponent();
     PagesUtilities.AddBackButtonHandler((object sender, Windows.UI.Core.BackRequestedEventArgs e) =>
     {
         EndSessionAsync(null, null);
     });
 }
Exemple #5
0
 public StrainSearchResults()
 {
     this.InitializeComponent();
     this.FixPageSize();
     PagesUtilities.AddBackButtonHandler((object sender, Windows.UI.Core.BackRequestedEventArgs e) =>
     {
         BackToSearchPage(null, null);
     });
 }
Exemple #6
0
 public PostTreatment()
 {
     this.InitializeComponent();
     this.FixPageSize();
     PagesUtilities.AddBackButtonHandler((object sender, BackRequestedEventArgs e) => { });
 }
Exemple #7
0
 public EffectsSearchResults()
 {
     this.InitializeComponent();
     this.FixPageSize();
     PagesUtilities.AddBackButtonHandler();
 }
Exemple #8
0
 public EditMedicalPage()
 {
     this.InitializeComponent();
     PagesUtilities.AddBackButtonHandler();
 }
 public MyRecomendations()
 {
     InitializeComponent();
     PagesUtilities.AddBackButtonHandler();
 }
 public ProfilePage()
 {
     InitializeComponent();
     PagesUtilities.AddBackButtonHandler();
 }
 public StrainInformationPage()
 {
     this.InitializeComponent();
     this.FixPageSize();
     PagesUtilities.AddBackButtonHandler();
 }
Exemple #12
0
 public StartUsage()
 {
     this.InitializeComponent();
     PagesUtilities.AddBackButtonHandler();
 }
 public ExportToEmail()
 {
     this.InitializeComponent();
     emailValidator = new Regex(@"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$");
     PagesUtilities.AddBackButtonHandler();
 }