打开了是什么意思?
visiable为true?

解决方案 »

  1.   

    你可以把那个将要打开的窗口做为其父窗口的一个成员,然后通过那个成员变量,就可以判断它的属性,以及给它的控件赋值!
     当然,用api函数的findwindow和sendmessage也可以在多个窗口通信等等!
      

  2.   

    //判断子窗体时候已经存在
    protected bool Exist_Child(string name)
    {

    Form[] children = this.MdiChildren; foreach(Form f in children)
    {
    // Aha...found it
    if (f.Text == name)
    {
    f.Activate();
    return true;
    }
    }
    return false;

    }
      

  3.   

    neozhu(阿新) 已经解决了!