copy code from one file to other file in c#

Posted by gou on Stack Overflow See other posts from Stack Overflow or by gou
Published on 2012-11-22T16:47:24Z Indexed on 2012/11/22 16:59 UTC
Read the original article Hit count: 113

Filed under:
|
|

Using Below Code, We Can Copy Code from One textbox to other textbox.

 private void Copybtn_Click(object sender, EventArgs e)
        {
            Clipboard.SetText(txtSour.Text);
        }
        //paste the text
        private void Pastebtn_Click(object sender, EventArgs e)
        {
            txtDestinatio.Text = Clipboard.GetText();
        }

My Requirement is: Copy Code from one file to other file using C#? Is It possible using ClipBoard? Then i need to copy code from one file to other?

Please AnyOne Help me

© Stack Overflow or respective owner

Related posts about .NET

Related posts about class