Exemple #1
0
        private void SaveOrderNo_OnClick(object sender, RoutedEventArgs e)
        {
            SaveModel();
            var orders = ((OrderRepo)Repo).LoadOrders(JobCardId);

            ModelList.Clear();
            ModelList.AddAll(orders);
        }
Exemple #2
0
        private void On_Enter_Key_Up(object sender, KeyEventArgs e)
        {
            if (e.Key != Key.Enter)
            {
                return;
            }
            SaveModel();
            var orders = ((OrderRepo)Repo).LoadOrders(JobCardId);

            ModelList.Clear();
            ModelList.AddAll(orders);
        }