B Bnob Sep 24, 2004 #1 It is possible to do a Button.PerformClick in .net CF ? Any code to suggest to do this?
R Russ Gray Sep 24, 2004 #2 Bnob said: It is possible to do a Button.PerformClick in .net CF ? Any code to suggest to do this? Click to expand... Any reason why you can't just call the event handler yourself? button1_Click(this, EventArgs.Empty); You'll have to use Invoke if you do this from outside the GUI thread. button1.Invoke(new EventHandler(button1_Click)); HTH.
Bnob said: It is possible to do a Button.PerformClick in .net CF ? Any code to suggest to do this? Click to expand... Any reason why you can't just call the event handler yourself? button1_Click(this, EventArgs.Empty); You'll have to use Invoke if you do this from outside the GUI thread. button1.Invoke(new EventHandler(button1_Click)); HTH.