vendredi 30 avril 2021

How to make the condition to be a Eventhandler Control.click event?

Basically what I am trying to do is, creating a new method that will have an event handler button click event condition within it.enter code here

 //when this event is active the only should then should run what inside the {}
if(buttonEvents_Click(object sender, EventArgs e))
{enter code here`
//Happening something
}

what I already tried withing(buttonEvents.click) get the error "the event control.click can only appear on the left side =+ or -+".

Aucun commentaire:

Enregistrer un commentaire