示例#1
0
        private void buttonCopy_Click(object sender, EventArgs e)
        {
            buttonCopy.Text = "Working...";
            buttonCopy.Update();

            FileToolCommandCopy tool = new FileToolCommandCopy();
            tool.SetSource(textBoxSource.Text);
            tool.SetDestination(textBoxDestination.Text);
            tool.Command = textBoxCommand.Text;
            tool.Tool = textBoxTool.Text;

            FileBrowser.SearchDirectory(textBoxSource.Text, tool);

            buttonCopy.Text = "Copy";
        }
示例#2
0
        private void buttonCopy_Click(object sender, EventArgs e)
        {
            buttonCopy.Text = "Working...";
            buttonCopy.Update();

            FileToolCommandCopy tool = new FileToolCommandCopy();

            tool.SetSource(textBoxSource.Text);
            tool.SetDestination(textBoxDestination.Text);
            tool.Command = textBoxCommand.Text;
            tool.Tool    = textBoxTool.Text;

            FileBrowser.SearchDirectory(textBoxSource.Text, tool);

            buttonCopy.Text = "Copy";
        }