SourceCode/Bond/BoounionPLC/BoounionPLC.cpp
@@ -5,6 +5,9 @@ #include "stdafx.h" #include "BoounionPLC.h" #include "BoounionPLCDlg.h" #include "HorizontalLine.h" #include "VerticalLine.h" #ifdef _DEBUG #define new DEBUG_NEW @@ -102,6 +105,11 @@ } // 控件注册 CHorizontalLine::RegisterWndClass(); CVerticalLine::RegisterWndClass(); CBoounionPLCDlg dlg; m_pMainWnd = &dlg; INT_PTR nResponse = dlg.DoModal();