C# tool tip
Posted on 2005-04-26
i wrote a function that draw a table on my form, the problem is when a toolTip Display on any line of the table Rows or Column, in this place the toolTip erase the table line.
how do i draw a table & when a toolTip is showed on it's line, the toolTip will not erase the line on this place
this is the "Draw Table Function"
private void Draw_Dises_matrix(System.EventArgs pe)
toolTip1.Active = false;
Graphics g = CreateGraphics();
Pen PnDises = new Pen( Color.Black, 1 );
float x = CircleX;
while ( x <= CircleX + CircleWidth + DisesX )
float y = CircleY;
while ( y <= CircleY + CircleHeight)
g.DrawRectangle(PnDises , x , y, DisesX ,DisesY );
y = y +DisesY;
x = x + DisesX;