6 |
#include "h6-udlånssystemDlg.h" |
#include "h6-udlånssystemDlg.h" |
7 |
#include ".\h6-udlånssystemdlg.h" |
#include ".\h6-udlånssystemdlg.h" |
8 |
|
|
9 |
|
#include "commonstorage.h" |
10 |
|
#include "databaselayer.h" |
11 |
|
|
12 |
#ifdef _DEBUG |
#ifdef _DEBUG |
13 |
#define new DEBUG_NEW |
#define new DEBUG_NEW |
14 |
#endif |
#endif |
67 |
ON_WM_QUERYDRAGICON() |
ON_WM_QUERYDRAGICON() |
68 |
//}}AFX_MSG_MAP |
//}}AFX_MSG_MAP |
69 |
ON_COMMAND(ID_HELP_ABOUT, OnHelpAbout) |
ON_COMMAND(ID_HELP_ABOUT, OnHelpAbout) |
70 |
|
ON_COMMAND(ID_FILE_EXIT, OnFileExit) |
71 |
END_MESSAGE_MAP() |
END_MESSAGE_MAP() |
72 |
|
|
73 |
|
|
106 |
m_tabs.Init(); |
m_tabs.Init(); |
107 |
m_tabs.SetCurSel(0); |
m_tabs.SetCurSel(0); |
108 |
|
|
109 |
|
|
110 |
|
DatabaseLayer *dbl = new DatabaseLayer; |
111 |
|
CommonStorage::Instance()->setDBLayer(dbl); |
112 |
|
|
113 |
|
|
114 |
// TODO: Add extra initialization here |
// TODO: Add extra initialization here |
115 |
|
|
116 |
return TRUE; // return TRUE unless you set the focus to a control |
return TRUE; // return TRUE unless you set the focus to a control |
169 |
{ |
{ |
170 |
MessageBox("DA6H :: Udlånssystem\r\nLavet af:\r\nKevin, Hedin & Torben"); |
MessageBox("DA6H :: Udlånssystem\r\nLavet af:\r\nKevin, Hedin & Torben"); |
171 |
} |
} |
172 |
|
|
173 |
|
void Ch6udlnssystemDlg::OnFileExit() |
174 |
|
{ |
175 |
|
// TODO: Add your command handler code here |
176 |
|
OnOK(); |
177 |
|
} |