可以先根据窗体的名字得到该窗体的实例,然后就可以啦,直接用名字应该不行,因为系统只把他看做字符串而已,所以先要找到该窗体实例,这个是可以根据名字得到得

解决方案 »

  1.   

    Activator.CreateInstanceFrom Method (String, String)
    Requirements
    Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 familyCreates an instance of the type whose name is specified, using the named assembly file and default constructor.
    ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/cpref/html/frlrfsystemactivatorclasscreateinstancefromtopic1.htm我也看不太明白,如果你試到可以,還請將代碼寫出來