Exemple #1
0
		void editor_DragDrop(object sender, DragEventArgs e)
		{
			TextBox box = sender as TextBox;
			if (box != null)
			{
				if (box.Multiline)
				{
					BoxAddPath(e.GetDragString(), box);
				}
				else
				{
					box.Text = e.GetDragString();
				}
			}
		}