예제 #1
0
 private void Insert_Click(object sender, RoutedEventArgs e)
 {
     OrderEditView.IsEnabled  = true;
     OrderEditView.Visibility = Visibility.Visible;
     OrderEditView.Initialize();
     EditHeight.Height = new GridLength(120);
 }
예제 #2
0
 private void Update_Click(object sender, RoutedEventArgs e)
 {
     if (OrderTable.SelectedIndex >= 0)
     {
         OrderCase Item = (dynamic)OrderTable.SelectedItem;
         OrderEditView.IsEnabled  = true;
         OrderEditView.Visibility = Visibility.Visible;
         OrderEditView.Initialize(Item);
         EditHeight.Height = new GridLength(120);
     }
 }