Beispiel #1
0
        public NewClaimPage(AuthenticationResult result, MainPage parentpage)
        {
            InitializeComponent();
            NavigationPage.SetHasNavigationBar(this, true);

            datePicker.DateSelected += DatePicker_DateSelected;
            datePicker.MaximumDate   = DateTime.Now;
            datePicker.MinimumDate   = new DateTime(2000, 1, 1);
            datePicker.Format        = _dateFormatter;
            datePicker.IsVisible     = false;

            newClaimDate.Text = HelperUtil.ConvertDateToString(datePicker.Date);

            _authenticationResult = result;
            _parentPage           = parentpage;

            InitGridView();
        }
Beispiel #2
0
 private void DatePicker_DateSelected(object sender, DateChangedEventArgs e)
 {
     newClaimDate.Text = HelperUtil.ConvertDateToString(datePicker.Date);
 }