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窗体应用程序下编的. 关于基于opencv开发视频播放器 ATL开发的ActiveX如何获取IE大小/位置改变的消息? 200分求一个函数的用法--ZwCreateThread 关于套接字只能使用一次的错误原因 如何使用VC自带的<stack> CcomboBox一个问题 急!线程内部发送消息时出错! 程序修改多次后,编译是出错,提示很多按钮的的消息映射函数都变成非法了,怎么回事? 请问Installshield打包dll时,应该如何将dll文件自动注册? 获取不到消息隐藏界面 用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