?? classroom.cpp
字號:
// ClassRoom.cpp: 主項目文件。
#include "stdafx.h"
#include "MainInterface.h"
#include "WaitInterface.h"
using namespace ClassRoom;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// 在創(chuàng)建任何控件之前啟用 Windows XP 可視化效果
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
WaitInterface^ wait = gcnew WaitInterface();
System::Threading::ThreadStart^ ts = gcnew System::Threading::ThreadStart(&WaitInterface::show);
System::Threading::Thread^ readThread = gcnew System::Threading::Thread(ts);
System::Threading::ThreadStart^ ts1 = gcnew System::Threading::ThreadStart(wait,&WaitInterface::CreateMainInterface);
System::Threading::Thread^ readThread1 = gcnew System::Threading::Thread(ts1);
readThread1->Start();
readThread->Start();
readThread->Sleep(2000);
readThread->Abort();
Thread::Sleep(1000);
wait->main->ShowDialog();
return 0;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -