1
Answer

Usercontrol are not working properly

Actually I want to create one usercontrol which are included three buttons :

 
After successfully compile and add with tools controls then using one Form and drag to Usercontrol in form which are displaying in below but one more button4 and label1 is also drag to tools control simply. Problem is here that Inside the button of usercontrols code not fired but button4 is successfully running like

private void btnAdd_Click_1(object sender, EventArgs e)

{

label1.Text = "This is Clicked by buttton Add";

}

 simply when click in InnerButton, button2 and button3 then display in label
 
This is Clicked by InnerButton
This is Clicked by buttton2
This is Clicked by buttton3 

Plz advice how did successfully run ? 
Answers (1)