foreach (Control control in this.form1.Controls)

解决方案 »

  1.   

    楼上的不完全.
    foreach (Control c in this.groupBox1.Controls)
                {
                    int i = 0;
                        i++;
                    if (c is RadioButton )
                    {
                       
                      this.c.fileName;
                      this.c....
                      this.c.a%&&
                      
                    }
                    else(c is TextButton)
    {
                      this.c.*&(
    }