Hi Folks,
I am creating a GUI application and I've come to a situation where I need to check whether a button has been clicked.
So logically: ---If--- the "button" has been clicked -> Do this.
As soon as that button is clicked, it should jump to a method which has other commands.
I'm of course using Visual Studio 2008 - Visual studio creates pre-made methods for click events whenever you double click on a button in design mode. So at the moment the button method's signature looks like this:
private void btAdd_Click(object sender, EventArgs e)
At the moment, i've added something like:
if btAdd_Click() = true;
Do this
Which of course throws errors because btAdd_Click is a method and therefore needs some arguments. Which arguments, I don't know....
Please help - Much appreciated.
Usmaan~