Пример #1
0
        private void btnAll_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                List <Models.Order> list = new OrderProvider().getAll();

                dateFromTime.EditValue = list.Last().CreateTime;
                dateToTime.EditValue   = list.First().CreateTime;
            }
            catch (Exception)
            {
            }

            LoadOrderTable();
        }