Exemplo n.º 1
0
        public SessionPage()
        {
            InitializeComponent();
            //dateCheck = false;

            Date      = DateTime.Now.ToString();
            Date      = Date.Substring(0, Date.LastIndexOf(' ') + 1);
            DateToday = DateTime.Now.ToString();
            DateToday = DateToday.Substring(0, DateToday.LastIndexOf(' ') + 1);
            SessionFrame.Navigate(new DateSessionPage());
        }
Exemplo n.º 2
0
 private void updateBtn_Click(object sender, RoutedEventArgs e)
 {
     if (DateSession.SelectedDate.HasValue)
     {
         Date = DateSession.SelectedDate.Value.ToString();
         Date = Date.Substring(0, Date.LastIndexOf(' ') + 1);
         SessionFrame.Navigate(new DateSessionPage());
     }
     else
     {
     }
 }