/// <summary>Shows the dialog for selecting paths to scan.</summary>
 ///
 /// <param name="owner">The owner window for this dialog.</param>
 /// <returns>The selected root paths on success, otherwise null.</returns>
 public DriveSelectResult ShowDriveSelect(IWindow owner)
 {
     return(ui.Invoke(() => {
         return DriveSelectDialog.ShowDialog((Window)owner.Window);
     }));
 }
Exemple #2
0
 private void OnDriveSelect(object sender, DriveSelectEventArgs e)
 {
     DriveSelectDialog.ShowDialog(this, viewModel, e);
 }
 /// <summary>Shows the dialog for selecting paths to scan.</summary>
 ///
 /// <param name="owner">The owner window for this dialog.</param>
 /// <returns>The selected root paths on success, otherwise null.</returns>
 public DriveSelectResult ShowDriveSelect(Window owner)
 {
     return(DriveSelectDialog.ShowDialog(owner));
 }