J
John Kelsey
I'm working my way through my first significant compact framework C# app and
I've got a question (actually many questions, but I'll just start with this
one).
It would be very handy in my application to programatically "Push" a button
on a form. In "Normal" dot net, I'd use Button.PerformClick, but in CF2.0 I
don't have that option apparently. I understand that I could restructure
the code and call the same functions, but in my case it would be easier to
just press the button.
What is the cleanest way to "Press" the button? Ideally it would maintain
the same sequence of events as a real button press. Any suggestions?
Thanks,
John Kelsey
I've got a question (actually many questions, but I'll just start with this
one).
It would be very handy in my application to programatically "Push" a button
on a form. In "Normal" dot net, I'd use Button.PerformClick, but in CF2.0 I
don't have that option apparently. I understand that I could restructure
the code and call the same functions, but in my case it would be easier to
just press the button.
What is the cleanest way to "Press" the button? Ideally it would maintain
the same sequence of events as a real button press. Any suggestions?
Thanks,
John Kelsey