Beispiel #1
0
 public override int DoDraw(DrawListViewSubItemEventArgs e, int x, EXControls.EXColumnHeader ch) {
     return x;
 }
Beispiel #2
0
 public override int DoDraw(DrawListViewSubItemEventArgs e, int x, EXControls.EXColumnHeader ch) {
     if (this.MyImage != null) {
         Image img = this.MyImage;
         int imgy = e.Bounds.Y + ((int) (e.Bounds.Height / 2)) - ((int) (img.Height / 2));
         e.Graphics.DrawImage(img, x, imgy, img.Width, img.Height);
         x += img.Width + 2;
     }
     return x;
 }
Beispiel #3
0
 //return the new x coordinate
 public abstract int DoDraw(DrawListViewSubItemEventArgs e, int x, EXControls.EXColumnHeader ch);