customfunction.cpp

来自「DevExpress公司出品的Borland Delphi和C++ Builde」· C++ 代码 · 共 26 行

CPP
26
字号
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "AreaCustomFunc.h"

USERES("CustomFunction.res");
USEUNIT("AreaCustomFunc.cpp");
USEFORM("CustomFunctionFrm.cpp", CustomFunctionForm);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
  try
  {
     Application->Initialize();
     RegisterCustomFunction();
     Application->CreateForm(__classid(TCustomFunctionForm), &CustomFunctionForm);
     Application->Run();
  }
  catch (Exception &exception)
  {
     Application->ShowException(&exception);
  }
  return 0;
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

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