private void Form1_Load(object sender, EventArgs e) { richTextBox1.AllowDrop = true; richTextBox1.EnableAutoDragDrop = true; }