private const int CS_DROPSHADOW = 0x00020000; protected override CreateParams CreateParams { get { // add the drop shadow flag for automatically drawing // a drop shadow around the form CreateParams cp = base.CreateParams; cp.ClassStyle |= CS_DROPSHADOW; return cp; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)