示例#1
0
 /// <summary>
 /// Handles the Click event of the miEditBatList control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param>
 private void miEditBatList_Click(object sender, RoutedEventArgs e)
 {
     if (batSummary != null)
     {
         BatEditor batEditor = new BatEditor(batSummary.batReferenceDataContext);
         var       result    = batEditor.ShowDialog();
         if (result != null && result.Value)
         {
             //batSummary.RefreshBatList();
         }
     }
 }
示例#2
0
 /// <summary>
 /// Handles the Click event of the miEditBatList control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param>
 private void miEditBatList_Click(object sender, RoutedEventArgs e)
 {
     if(batSummary!= null)
     {
         BatEditor batEditor = new BatEditor(batSummary.batReferenceDataContext);
         var result=batEditor.ShowDialog();
         if(result!=null && result.Value)
         {
             //batSummary.RefreshBatList();
         }
     }
 }