void tableControl1_TableDrawFgCell(object sender, TablePaintRowArgs ea) { #if !PocketPC if (ea.Row < 15) { ea.Graphics.DrawString("row" + ea.Row, tableControl1.Font, Brushes.White, ea.Rect); } #endif }
void tableControl1_TableDrawBgCell(object sender, TablePaintRowArgs ea) { SolidBrush brush = new SolidBrush(Color.Blue); if (ea.Row % 2 == 1) { brush = new SolidBrush(Color.Salmon); } ea.Graphics.FillRectangle(brush, ea.Rect); }
internal void PaintItemHandler(object sender, TablePaintRowArgs e) { handleEvent(EventType.PAINT_ITEM, sender, e); }