另一种做法就是在其中一个页面中定义变量为public比如:有两个界面form1和form2在form1种定义:public m_lng as long在form2中要用这个变量的话就可以这样 form1.m_ln