O
ORC
I have created a form with a button (using C#) and have added:
this.button1.Paint += new
System.Windows.Forms.PaintEventHandler(this.button1_Paint);
and the eventhandler:
private void button1_Paint(object sender,
System.Windows.Forms.PaintEventArgs e)
{
MessageBox.Show("Paint event occured");
}
The Paint event is never called on the Pocket PC but everything works fine
on the desktop PC (normal framework). So isn't the paint event supported in
compact framework at all or is there something I have missed in my code?
Thanks!
Ole
this.button1.Paint += new
System.Windows.Forms.PaintEventHandler(this.button1_Paint);
and the eventhandler:
private void button1_Paint(object sender,
System.Windows.Forms.PaintEventArgs e)
{
MessageBox.Show("Paint event occured");
}
The Paint event is never called on the Pocket PC but everything works fine
on the desktop PC (normal framework). So isn't the paint event supported in
compact framework at all or is there something I have missed in my code?
Thanks!
Ole