popskie
Jan 18th, 2006, 10:18 PM
hi,
I created my own user control it composed of button,label and a picturebox the problem is how to add an on click event in my control?
private usercontrolname pb1 = new usercontrolname ();
pb1.Click += new System.EventHandler(ako);
I have already this one in my code but when I click the button the event wasn't fired. the event occur when i click outside the button in my user control.
pls. help me.
Popskie
I created my own user control it composed of button,label and a picturebox the problem is how to add an on click event in my control?
private usercontrolname pb1 = new usercontrolname ();
pb1.Click += new System.EventHandler(ako);
I have already this one in my code but when I click the button the event wasn't fired. the event occur when i click outside the button in my user control.
pls. help me.
Popskie