Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Dialog / src / DialogApp.cpp
1 ///////////////////////////////////////\r
2 // DialogApp.cpp\r
3 \r
4 #include "stdafx.h"\r
5 #include "DialogApp.h"\r
6 #include "resource.h"\r
7 \r
8 \r
9 // Definitions for the CDialogApp class\r
10 CDialogApp::CDialogApp() : m_TofDialog(IDD_DIALOG1)\r
11 {\r
12 }\r
13 \r
14 BOOL CDialogApp::InitInstance()\r
15 {\r
16         //Display the Modal Dialog\r
17         m_MyDialog.DoModal();\r
18 \r
19         //End the program\r
20         ::PostQuitMessage(0);\r
21 \r
22         return TRUE;\r
23 }\r
24 \r
25 CDialogApp::~CDialogApp()\r
26 {\r
27 }\r
28 \r

UCC git Repository :: git.ucc.asn.au