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