代码如下://复制文件privatevoidbtnCopy_Click(objectsender,EventArgse){try{if(!File.Exists(this.txtFileName.Text)){MessageBox.Show("文件不存在");}else{File.Copy(this.txtFileName.Text,this.txtCopyName.Text);MessageBox.Show("复制成功");}}catch(Exceptionex){MessageBox...
查看全文