Copying draged text in to textbox

Shreedar
Posted by Shreedar under C# category on | Points: 40 | Views : 434
Public Void TextBox1.DragEnterEvent(Object Sender Args e)
{
if(e.Data.GetDataPresent(DataFormats.Text)==true)
{
TextBox1.Text=(String)e.Data.GetData(DataFormats.Text);
}
else
MessageBox.Show("Invalid Format");
}

Comments or Responses

Login to post response