/// <summary> /// Constructor /// </summary> public MainWindow() { InitializeComponent(); LoadDictionnary(false, ""); // TODO: allow a change of the hashertype through an option or something. hashCreator = new HashCreator(hashDic, Hasher.HasherType.TOR); fileInArchiveBindingSource.DataSource = new SortableBindingList <FileInArchive>(); //Define functions that should be called to treat events //Needed because of cross thread calls OnNewExtractedEvent = TreatExtractionEvent; OnNewFileTableEvent = TreatFileTableEvent; OnNewFilenameTestEvent = TreatFilenameTestEvent; OnLabelsReset = LabelsTextReset; OnLabelUpdate = _LabelUpdate; OnMenuActivation = _MenuActivation; OnProgressBarVisibilityUpdate = _ProgressBarVisibilityUpdate; // Populate the system tree view TreeViewManager.PopulateSystemTreeNode(treeView_FileSystem); }
private void Update_TreeView() { TreeViewManager.PopulateArchiveTreeNode(CurrentMypFH.fullMypFileName , CurrentMypFH.archiveFileList , treeView_Archive); }
private void treeView_FileSystem_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) { TreeViewManager.SystemNodeMouseClick(sender, e); }