Bonjour,
je démarre pour dessiner à l'écran et ca démarre mal

Point point1 = Point(1,1);
Point point2 = Point(500,500);
Pen^ blackPen = gcnew Pen( Color::Black,3 );
Graphics ^g;
g= this->pictureBoxTXT->CreateGraphics();
g->DrawLine( blackPen, point1, point2 );
J'essaye de dessiner une ligne dans un picturebox mais je n'ai rien à l'écran ?
J'ai oublié quelque chose ?