/// <summary> /// Imports files from a native source. /// </summary> /// <param name="args">.</param> public virtual void ImportFiles(ImportFilesEventArgs args) { if (args != null) { args.Result = JobResult.Ignore; } }
/// <summary> /// Calls <see cref="FarNet.Explorer.ImportFiles"/> and <see cref="OnThisFileChanged"/>. /// </summary> /// <param name="args">.</param> public virtual void UIImportFiles(ImportFilesEventArgs args) { if (args == null) { return; } Explorer.ImportFiles(args); if (args.Result != JobResult.Ignore) { OnThisFileChanged(args); } }