Esempio 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();
        }
Esempio 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();
        }