I created a user control in c# window forms say chatWindow and it has a textbox with butons. I placed this user control four times on MainForm say uc1, uc2, uc3, uc4. On MainForm I have also other controls. Now I want that when user press TAB then focus of uc1's textbox should be set. Pressing tab second time focus of uc2's textbox should be set and also for 3rd anf 4th tab.
I tried to set TabIndex of these user controls but could not get success. I dont know how to get user control's textbox property while in MainForm.