public ArchiveForm(IStateInfo stateInfo, IArchiveFormCommunicator communicator, PluginManager pluginManager, IProgressContext progress) { InitializeComponent(); _stateInfo = stateInfo; _communicator = communicator; _pluginManager = pluginManager; _progress = progress; _archiveFileSystem = FileSystemFactory.CreateAfiFileSystem(stateInfo); _openingFiles = new List <IArchiveFileInfo>(); _changedDirectories = new HashSet <UPath>(); _selectedPath = UPath.Root; _searchTerm = new SearchTerm(searchTextBox); _searchTerm.TextChanged += searchTerm_TextChanged; _asyncOperation = new AsyncOperation(); _asyncOperation.Started += asyncOperation_Started; _asyncOperation.Finished += asyncOperation_Finished; folderView.Expanded += folderView_Expanded; folderView.Collapsed += folderView_Collapsed; folderView.CellFormatting += folderView_CellFormatting; folderView.SelectedItemChanged += folderView_SelectedItemChanged; fileView.SelectedItemsChanged += fileView_SelectedItemsChanged; fileView.CellDoubleClick += fileView_CellDoubleClick; fileView.CellFormatting += fileView_CellFormatting; searchClearCommand.Executed += searchClearCommand_Executed; cancelCommand.Executed += cancelCommand_Executed; saveCommand.Executed += SaveCommand_Executed; saveAsCommand.Executed += SaveAsCommand_Executed; openCommand.Executed += openCommand_Executed; extractFileCommand.Executed += extractFileCommand_Executed; replaceFileCommand.Executed += replaceFileCommand_Executed; renameFileCommand.Executed += RenameFileCommand_Executed; deleteFileCommand.Executed += DeleteFileCommand_Executed; extractDirectoryCommand.Executed += extractDirectoryCommand_Executed; replaceDirectoryCommand.Executed += replaceDirectoryCommand_Executed; renameDirectoryCommand.Executed += renameDirectoryCommand_Executed; addDirectoryCommand.Executed += addDirectoryCommand_Executed; deleteDirectoryCommand.Executed += deleteDirectoryCommand_Executed; UpdateProperties(); LoadDirectories(); UpdateFiles(_selectedPath); }
public ArchiveFormInfo(IFileState fileState, IArchiveFormCommunicator formCommunicator, IProgressContext progress, ILogger logger) : base(fileState, formCommunicator, progress, logger) { }
public ArchiveFormInfo(IStateInfo stateInfo, IArchiveFormCommunicator formCommunicator, IProgressContext progress, ILogger logger) : base(stateInfo, formCommunicator, progress, logger) { }