form1.cpp

来自「USB 上位机程序 VNA使用,网络分析仪原理使用仪器」· C++ 代码 · 共 20 行

CPP
20
字号
#include "stdafx.h"
#include "Form1.h"
#include <windows.h>

using namespace VNAR3;

[STAThreadAttribute]
int APIENTRY _tWinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPTSTR    lpCmdLine,
                     int       nCmdShow)
{
//	System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA;
//	System::Threading::Thread::CurrentThread->SetApartmentState(System::Threading::ApartmentState::STA);
	Application::EnableVisualStyles();		// Enable XP-themed buttons on forms if available
											// Requires each button FlatStyle property to be set to System
	Application::Run(new Form1(lpCmdLine));
	return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?