123456789101112131415161718192021222324252627282930 |
- #include "stdafx.h"
- #include "mdlProject.h"
- #include "newclientDlg.h"
- CNewclientDlg * g_pDlgMain;
- CStoneU_HC_OCXCtrl * g_pOCXCtrl;
- //-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- //说明:创建"frmMain_DisplayArea"对话框
- void _CreateDialog(CWnd *pCreaterWnd)
- {
- if (NULL==g_pDlgMain)
- {
- g_pDlgMain=new CNewclientDlg;
- g_pDlgMain->Create(IDD_NEWCLIENT_DIALOG,pCreaterWnd);
- g_pDlgMain->ShowWindow(SW_SHOW);
- }
- }
- //-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- //说明:销毁"frmMain_DisplayArea"对话框
- void _DestoryDialog()
- {
- if (NULL!=g_pDlgMain)
- {
- g_pDlgMain->Resoure();
- g_pDlgMain->DestroyWindow();
- }
- delete g_pDlgMain;
- g_pDlgMain=NULL;
- }
|