コード例 #1
0
 private void OnEditClick(object sender, RoutedEventArgs e)
 {
     if (DrivesGrid.SelectedItem == null) return;
     var drive = DrivesGrid.SelectedItem as Drive;
     var window = new DriveWindow(_config, drive);
     window.ShowDialog();
 }
コード例 #2
0
 private void OnAddButtonClick(object sender, RoutedEventArgs e)
 {
     var window = new DriveWindow(_config);
     window.ShowDialog();
 }