private void Form1_DragDrop(object sender, DragEventArgs e) { string pName = (string)e.Data.GetData(typeof(string)); Point newPos = Derma.GetRelativeMousePos(e.X, e.Y); Derma.New(pName, newPos.X, newPos.Y); Derma.Repaint(); }