copy code from one file to other file in c#
- by gou
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