Code:
public void rolePanelAdd() {
            if (rolePanel.Controls != null)
            {
                foreach (CheckBox checkRole in rolePanel.Controls)
                {
                    if (checkRole.Checked == true)
                    {
                        string str = (((CheckBox)checkRole)).Text;
                        MessageBox.Show(str);
                    }
                }
            }
        } 

public void linkUser_Click(object sender, EventArgs e)
        {
            if (personPanel.Controls != null)
            {
                foreach(RadioButton items in personPanel.Controls){
                    items.Checked.GetHashCode();
                    rolePanelAdd();
                }
                foreach (RadioButton items in personPanel.Controls)
                {
                    new AllUsers().allPersonPanel.Controls.Add(((RadioButton)items));
                }
            }    
      }
Thanks sir I have replied the previous emails.
1. To continue from where I stopped, I troubleshooted this code and it actually shows the text of each checkbox selected. kudos for your great support. My new step to is that i want to add the radioperson(persons) from the personpanel on the linkUser form page to allPersonPanel in allusers form page, like i wrote it in the last foreach statement but it is not working, it does not show. In what best way can I achieve that?

2. items.Checked.GetHashCode();
rolePanelAdd();
This code is not best written, I want your professional instructive support. What I truly want to achieve from this is this: A person(radio button) is selected on the personPanel in linkUser form. if Checkboxes are selected from rolePanel then I want it to assign every selected checkbox to the selected person. Now assuming persons(radio buttons) are now showing on allPersonPanel in the AllUser form, when I click on the person it should display the selected role of that person in allrolePanel of the AllUser. Thanks sir.