cs_Bidou
Messages postés5487Date d'inscriptiondimanche 4 août 2002StatutMembreDernière intervention20 juin 201361 16 nov. 2007 à 19:58
Hi;
Tu peux essayer comme ceci:
Bitmap b = new Bitmap(x, y);
Graphics g = Graphics.FromImage ( b );
// do whatever you wish
g.DrawString ( "myText", this.Font, Brushes.Blue, 0, 0 );
IntPtr ptr = b.GetHicon();
Cursor c = new Cursor( ptr );
this.Cursor = c;