You want a PictureBox to be transparent and show the form's background where the picture box image doesn't cover...
import dfl.all;
import dfl.internal.winapi;
class SimplePictureBox: PictureBox
{
protected override void onPaintBackground(PaintEventArgs ea)
{
}
protected override void createParams(inout CreateParams cp)
{
super.createParams(cp);
cp.exStyle |= WS_EX_TRANSPARENT;
}
}
ou can even use this in Entice Designer by adding a regular PictureBox to your form, right-clicking it, going into the Properties, and changing the type to SimplePictureBox.