Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }