刚写的两个form,哪位留给msn或者QQ,我给你传过去,帮我看看,谢谢

解决方案 »

  1.   

    >>>>>子窗口就是新建的Windows 窗体,还需要有什么设置吗?   子窗口.MdiParent = this;
      

  2.   

    >>>>>在父窗口的一个按钮中写:这是用来控制只有一个子窗体的代码吧foreach(Form f in this.MdiChildren)
    {
    if(f is FormPayout)
    {
    f.WindowState = FormWindowState.Maximized;
    f.Focus();
                      f.Show();//加上这个试试
                      return;
    }
    }
    FormPayout fs = new FormPayout();
    fs.MdiParent = this;
    fs.Show();
    }
      

  3.   

    foreach(Form f in this.MdiChildren)
    {
      if(f is FormPayout)
        {
          f.Focus();
          f.WindowState = FormWindowState.Maximized;
          return;
    }
    }
    FormPayout fs = new FormPayout();
    fs.MdiParent = this;
    fs.Show();调用的时候写了的啊
      

  4.   

    怪异!!!
    ftp到ftp://csdn:[email protected]
    我看看
      

  5.   

    昨天下班了,今天连不上这个ftp
    太奇怪了
      

  6.   

    如果父窗体上面有其它控件的话,会将子窗体挡住的,在显示子窗体之前设置它们的Visible为false