protected override void DrawNC(DevExpress.Utils.Drawing.DXPaintEventArgs e) { if (this.Pages.Count > 0 || MdParBackImage == null) { base.DrawNC(e); } else { e.Graphics.DrawImage(MdParBackImage, Bounds); } }
protected override void DrawNC(DevExpress.Utils.Drawing.DXPaintEventArgs e) { if (Pages.Count > 0 || backgroundImage == null) { base.DrawNC(e); } else { //e.Graphics.DrawImage(_BackgroundImage, Bounds); e.Graphics.DrawImage(backgroundImage, Bounds.X - 1, Bounds.Y - 1, Bounds.Width + 1, Bounds.Height + 2); } }
protected override void DrawNC(DevExpress.Utils.Drawing.DXPaintEventArgs e) { if (this.Pages.Count > 0) { base.DrawNC(e); } else { if (_backImage != null) { e.Graphics.DrawImage(_backImage, 0, 0, Bounds.Width + 1, Bounds.Height + 1); } //e.Graphics.DrawImage(_backImage, Bounds.Width - _backImage.Width, Bounds.Height - _backImage.Height); if (_BigLogo != null) { e.Graphics.DrawImage(_BigLogo, 10, Bounds.Height - _BigLogo.Height - 10); } } }
public void DrawNC(DevExpress.Utils.Drawing.DXPaintEventArgs e) { }