form小问题~~ 我用的是VC.net中的windows窗体应用程序编写form1是mainform,其中有一个设置按钮,click the button then form2显示.程序该怎么编写呢?我给form2命名为"参数设置"出现了:参数设置.h , 参数设置.h[设计]可我不能在程序里打汉字吧.VB:form2.show()VC:???????????? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 CMyDlg dlg; //CMyDlg是第二个对话框的类名dlg.Domodal(); CMyDlg:第二个对话框的类名是"参数设置",难道这么写?......................................参数设置 dlg;dlg.Domodal();...................................... 错误 1 error C2065: “参数设置”: 未声明的标识符 d:\documents and settings\wz\my documents\visual studio 2005\projects\vctest\vctest\Form1.h 1077 错误 2 error C2146: 语法错误 : 缺少“;”(在标识符“dlg”的前面) d:\documents and settings\wz\my documents\visual studio 2005\projects\vctest\vctest\Form1.h 1077 错误 3 error C2065: “dlg”: 未声明的标识符 d:\documents and settings\wz\my documents\visual studio 2005\projects\vctest\vctest\Form1.h 1077 错误 4 error C2228: “.Domodal”的左边必须有类/结构/联合 d:\documents and settings\wz\my documents\visual studio 2005\projects\vctest\vctest\Form1.h 1078 LS各位是不是MFC程序啊?我是在windows窗体应用程序下编的. vs2010中break的问题 MFC如何响应改变界面的背景色呢? 大家帮忙看看基础的知识 winpcap 抓包 速度 如何得到快捷方式对应的实际路径呢? 请推荐几本由浅入深的控件开发的书籍! 探讨一下双网卡对UDP数据收发效率的影响 怎样一次获得某一文件夹下的所有文件的句柄 隐!!!100分回报!!关于加速键的问题??(在现等待) VARIANT 的(VT_ARRAY | VT_UI1)数据区在哪? 用MFC做的ActiveX控件,怎样打印控件中的内容. ConnectEx 之后GetPeerName得到'0.0.0.0.'
dlg.Domodal();
......................................
参数设置 dlg;
dlg.Domodal();
......................................
错误 2 error C2146: 语法错误 : 缺少“;”(在标识符“dlg”的前面) d:\documents and settings\wz\my documents\visual studio 2005\projects\vctest\vctest\Form1.h 1077
错误 3 error C2065: “dlg”: 未声明的标识符 d:\documents and settings\wz\my documents\visual studio 2005\projects\vctest\vctest\Form1.h 1077
错误 4 error C2228: “.Domodal”的左边必须有类/结构/联合 d:\documents and settings\wz\my documents\visual studio 2005\projects\vctest\vctest\Form1.h 1078