Пример #1
0
 private void Insert_Click(object sender, RoutedEventArgs e)
 {
     ZakazEditView.IsEnabled  = true;
     ZakazEditView.Visibility = Visibility.Visible;
     ZakazEditView.Initialize();
     EditHeight.Height = new GridLength(350);
 }
Пример #2
0
 private void Update_Click(object sender, RoutedEventArgs e)
 {
     if (ZakazTable.SelectedIndex >= 0)
     {
         ZakazCase Item = (dynamic)ZakazTable.SelectedItem;
         ZakazEditView.IsEnabled  = true;
         ZakazEditView.Visibility = Visibility.Visible;
         ZakazEditView.Initialize(Item);
         EditHeight.Height = new GridLength(350);
     }
 }