| | |
| | | #include "SECSRuntimeManager.h" |
| | | #include "ProductionLogManager.h" |
| | | #include "VerticalLine.h" |
| | | #include "HorizontalLine.h" |
| | | #include "EqsGraphWnd.h" |
| | | #include "MapPosWnd.h" |
| | | #include "HmTab.h" |
| | |
| | | |
| | | BOOL CServoApp::InitInstance() |
| | | { |
| | | // 如果一个运行在 Windows XP 上的应用程序清单指定要 |
| | | // TODO: 调用 AfxInitRichEdit2() 以初始化 richedit2 库。\n" // 如果一个运行在 Windows XP 上的应用程序清单指定要 |
| | | // 使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式, |
| | | //则需要 InitCommonControlsEx()。 否则,将无法创建窗口。 |
| | | INITCOMMONCONTROLSEX InitCtrls; |
| | |
| | | // 注册控件 |
| | | CServoGraph::RegisterWndClass(); |
| | | CVerticalLine::RegisterWndClass(); |
| | | CHorizontalLine::RegisterWndClass(); |
| | | CEqsGraphWnd::RegisterWndClass(); |
| | | CMapPosWnd::RegisterWndClass(); |
| | | CHmTab::RegisterWndClass(); |
| | |
| | | InitGDIPlus(); |
| | | |
| | | |
| | | // 初始化 MFC RichEdit 控件 |
| | | AfxInitRichEdit2(); |
| | | |
| | | |
| | | // 初始化报警管理器 |
| | | try { |
| | | if (!AlarmManager::getInstance().initAlarmTable()) { |