Open ourfor opened 5 years ago
还是熟悉的函数名:
MessageBox::Show("Nicet to meet you!");
它在VB.Net
里面是这样的:
MessageBox.Show("Nicet to meet you!");
哈哈😄 创建Windows窗体的模板:
// form.cpp: 主项目文件。
#include "stdafx.h"
#include "Form1.h"
//使用Form1.h里面声明的名称空间
using namespace form;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// 在创建任何控件之前启用 Windows XP 可视化效果
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// 创建主窗口并运行它
Application::Run(gcnew Form1());
return 0;
}
visual studio
是很熟悉的,毕竟上个学期在Visual Studio
下面写了一个学期的Visual Basic .NET
,寒假还顺带写了的阅读的软件,直到遇到Visual C++
. . . . . .