how to FIRE an EVENT for a control

aniskhan

Well-known member
Joined
Oct 24, 2005
Messages
90
Location
D.I.Khan
Programming Experience
1-3
i have a control i-e tabcontrol

i want to fire an event for this control i-e click:confused:
 
how to fire an event

i have a button & textbox

when press buttun event of button or txtbox is called/raised

somethg like PERFORMCLICK for menus
 
Don't raise fake events. Whatever code you have in your TabControl's Click event handler can be removed and placed in its own method, which you can then call from the event handler or anywhere else.
 
Back
Top