Options when Button.PerformClick is not available?

  • Thread starter Thread starter John Kelsey
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top