Réponse acceptée !
Salut,
// Forme de taille 640x480
protected override void OnPaint( PaintEventArgs e )
{
//base.OnPaint( e );
GraphicsPath p = new GraphicsPath( );
p.AddString
(
"CSharpFR",
this.Font.FontFamily,
0,
64,
this.ClientRectangle,
StringFormat.GenericDefault
);
Graphics g = e.Graphics;
g.FillPath( Brushes.White, p );
g.SmoothingMode = SmoothingMode.AntiAlias;
g.DrawPath( Pens.Black, p );
p.Dispose( ); p = null;
}
Bon, c'est pas encore Paint Shop Pro mais c'est pas mal. 