protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); #if ST_2_1 MessageDialog.DrawButtonRowBackground(e.Graphics, this.ClientRectangle, theme); #else MessageDialog.DrawButtonRowBackground(e.Graphics, this, theme); #endif }
protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); MessageDialog.DrawButtonRowBackground(e.Graphics, this, theme); }