//protected override void WndProc(ref Message m) //{ // if (dUIContainer != null) { dUIContainer.DoWndProc(ref m); } // base.WndProc(ref m); //} public virtual void OnPaint(DirectUI.Common.DUIPaintEventArgs e) { if (DUIPaint != null) { DUIPaint(this, e); } }
public virtual void OnPaintForeground(DirectUI.Common.DUIPaintEventArgs e) { if (PaintForeground != null) { PaintForeground(this, e); } }