コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: jathalls/WinBLP
 /// <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
ファイル: MainWindow.xaml.cs プロジェクト: jathalls/WinBLP
 /// <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();
         }
     }
 }