コード例 #1
0
 private void Insert_Click(object sender, RoutedEventArgs e)
 {
     GruzEditView.IsEnabled  = true;
     GruzEditView.Visibility = Visibility.Visible;
     GruzEditView.Initialize();
     EditHeight.Height = new GridLength(120);
 }
コード例 #2
0
 private void Update_Click(object sender, RoutedEventArgs e)
 {
     if (GruzTable.SelectedIndex >= 0)
     {
         GruzCase Item = (dynamic)GruzTable.SelectedItem;
         GruzEditView.IsEnabled  = true;
         GruzEditView.Visibility = Visibility.Visible;
         GruzEditView.Initialize(Item);
         EditHeight.Height = new GridLength(120);
     }
 }