Results 1 to 5 of 5

Thread: [RESOLVED] user control

Threaded View

  1. #1

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Resolved [RESOLVED] user control

    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?
    VB Code:
    1. private usercontrolname pb1 = new usercontrolname ();      
    2. 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width