private void btnOK_Click( object sender, EventArgs e ) { List<PathNode> copiedPathNodes = new List<PathNode>(); foreach( ListViewItem lvi in lvFiles.CheckedItems ) { copiedPathNodes.Add( lvi.Tag as PathNode ); } FileOperationProgress fop = new FileOperationProgress( copiedPathNodes, rootTreePath_, tbTarget.Text ); fop.ShowDialog(); Close(); }
private void btnOK_Click(object sender, EventArgs e) { List <PathNode> copiedPathNodes = new List <PathNode>(); foreach (ListViewItem lvi in lvFiles.CheckedItems) { copiedPathNodes.Add(lvi.Tag as PathNode); } FileOperationProgress fop = new FileOperationProgress( copiedPathNodes, rootTreePath_, tbTarget.Text ); fop.ShowDialog(); Close(); }