日期:2014-05-17 浏览次数:20918 次
_flex.Invalidate();
_flex.Paint += new PaintEventHandler(draw_circle); private void draw_circle(object sender, PaintEventArgs e) { //... ... int x = _flex.ScrollPosition.X + _flex.Cols[c].Left + 5; int y = _flex.ScrollPosition.Y + _flex.Rows[r].Top + 5; // ... ... }