I get a message ’DragDrop registration’ failed. Why

Platform: WinForms|Category: Tips

Try placing the attribute [STA Thread] on your Main method. OLE D&D requires single threaded apartments.

[STAThread]
static void Main() 
{
	Application.Run(new Form1());
}