protected override void WndProc(ref Message m)
{
base.WndProc(ref m);
if (m.Msg == 20)
{
if (this.Items.Count == 0)
{
_b = true;
Graphics g = this.CreateGraphics();
int w = (this.Width - g.MeasureString(message,
this.Font).ToSize().Width) / 2;
g.DrawString(message, this.Font,
SystemBrushes.ControlText, w, 30);
}
}
if (m.Msg == 4127) this.Invalidate();
}