public void OnSynchronizationClick_CP(TextBox tboxPhonePath, TextBox tboxComputerPath, TreeView treeViewPhone, TreeView treeViewComputer) { CheckedNodes check = new CheckedNodes(); FromCompToPhone synComPhon = new FromCompToPhone(); SynchronizationFolder synFolder = new SynchronizationFolder(); synFolder.SynchronFolder(check.CheckedFolder(treeViewComputer.Nodes), tboxPhonePath.Text); synComPhon.Synchronization(check.CheckedFiles(treeViewComputer.Nodes), tboxPhonePath.Text, tboxComputerPath.Text); treeViewPhone.EndUpdate(); treeViewComputer.EndUpdate(); }
public void OnAfterCheck(TreeViewEventArgs e) { CheckedNodes chek = new CheckedNodes(); chek.CheckedFolder(e); }