コード例 #1
0
 /// <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);
     }));
 }
コード例 #2
0
 private void OnDriveSelect(object sender, DriveSelectEventArgs e)
 {
     DriveSelectDialog.ShowDialog(this, viewModel, e);
 }
コード例 #3
0
 /// <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));
 }