接个地方测试一下:
<DIV><FONT COLOR =BLUE>using</FONT> System; </DIV>
<DIV><FONT COLOR =BLUE>using</FONT> System.Collections.Generic; </DIV>
<DIV><FONT COLOR =BLUE>using</FONT> </DIV>
<DIV><FONT COLOR =BLUE>using</FONT> System.Data; </DIV>
<DIV><FONT COLOR =BLUE>using</FONT> System.Drawing; </DIV>
<DIV><FONT COLOR =BLUE>using</FONT> System.Text; </DIV>
<DIV><FONT COLOR =BLUE>using</FONT> System.Windows.Forms; </DIV>
<DIV><FONT COLOR =BLUE>using</FONT> DataPackageUI.BaseUI; </DIV>
<DIV><FONT COLOR =BLUE>using</FONT> DataPackageUI.User.Forms; </DIV>
<DIV> </DIV>
<DIV><FONT COLOR =BLUE>namespace</FONT> DataManageUI.Forms </DIV>
<DIV>{ </DIV>
<DIV> <FONT COLOR =BLUE>public</FONT> partial <FONT COLOR =RED>class</FONT> DataManager : FrmBase </DIV>
<DIV> { </DIV>
<DIV> <FONT COLOR =BLUE>public</FONT> DataManager() </DIV>
<DIV> { </DIV>
<DIV> InitializeComponent(); </DIV>
<DIV> } </DIV>
<DIV> </DIV>
<DIV> <FONT COLOR =BLUE>private</FONT> <FONT COLOR =BLUE>void</FONT> btnBase2_Click(object sender, EventArgs e) </DIV>
<DIV> { </DIV>
<DIV> FrmDataPackage fdp = <FONT COLOR =BLUE>new</FONT> FrmDataPackage(); </DIV>
<DIV> fdp.ShowDialog(); </DIV>
<DIV> } </DIV>
<DIV> } </DIV>
<DIV>} </DIV>
</DIV>