大概是根据一个返回结果的行数(行数不定,每行代表一个人的信息,一个人的信息是一个usercontrol,加载到界面上)
能否给个简单的例子呢?多谢

解决方案 »

  1.   

    UCGFMonitorForm ucGFForm = new UCGFMonitorForm();
    ucGFForm.Location = new Point(100,100);
    this.Controls.Add(m_ucGFForm);
      

  2.   

    就是FORM皮,穿一个又一个了.
      

  3.   

    随手写的foreach (信息 ... in ...)
    {
    YourControl ctrl = new YourControl();// ctrl 属性赋值
    ctrl.Name = ...;
    ctrl.属性0 = xx;
    ctrl.属性1 = yy;
    ......// ctrl 定位,如果布局需要手动的话
    ......// 加载到父容器
    父容器.Controls.Add(ctrl);
    ctrl.Show();}