Exemplo n.º 1
0
 private void Insert_Click(object sender, RoutedEventArgs e)
 {
     AccountEditView.IsEnabled  = true;
     AccountEditView.Visibility = Visibility.Visible;
     AccountEditView.Initialize();
     EditHeight.Height = new GridLength(120);
 }
Exemplo n.º 2
0
 private void Update_Click(object sender, RoutedEventArgs e)
 {
     if (AccountTable.SelectedIndex >= 0)
     {
         Account Item = (dynamic)AccountTable.SelectedItem;
         AccountEditView.IsEnabled  = true;
         AccountEditView.Visibility = Visibility.Visible;
         AccountEditView.Initialize(Item);
         EditHeight.Height = new GridLength(120);
     }
 }