- 分享
- 0
- 人气
- 0
- 主题
- 62
- 帖子
- 6367
- UID
- 51295
- 积分
- 3715
- 阅读权限
- 21
- 注册时间
- 2006-11-21
- 最后登录
- 2022-1-19
- 在线时间
- 3699 小时
|
快疯了
这个事第二个Form的Code
- #pragma once
- using namespace System;
- using namespace System::ComponentModel;
- using namespace System::Collections;
- using namespace System::Windows::Forms;
- using namespace System::Data;
- using namespace System::Drawing;
- namespace My3DSchoolUI {
- /// <summary>
- /// Summary for SysSettings
- ///
- /// WARNING: If you change the name of this class, you will need to change the
- /// 'Resource File Name' property for the managed resource compiler tool
- /// associated with all .resx files this class depends on. Otherwise,
- /// the designers will not be able to interact properly with localized
- /// resources associated with this form.
- /// </summary>
- public ref class SysSettings : public System::Windows::Forms::Form
- .................
- #pragma endregion
- };
- }
复制代码
这个是第一个Form的
- }
- #pragma endregion
- #include "SysSettings.h" //加了这里后,SysSettings的NameSpace只要有就会error
- private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
- this->Close();
- }
- private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
- }
- };
- }
复制代码
现在我弄这个Include没有问题,有问题的是DarkGDK,下一个贴贴出来 |
|