-
Notifications
You must be signed in to change notification settings - Fork 0
/
TW.cpp
106 lines (73 loc) · 2.38 KB
/
TW.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#include "stdafx.h"
#include "TW.h"
#include "TWDlg.h"
#include "TWInfo.h"
#include "ThetaCMD.h"
#include "Theta_SCMD.h"
#include "Theta_QCMD.h"
#include "Theta_QvCMD.h"
#include "Theta_rQCMD.h"
#include "doc_rQ.h"
#include "doc_Q.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
BEGIN_MESSAGE_MAP(CTWApp, CWinApp)
//{{AFX_MSG_MAP(CTWApp)
ON_COMMAND(ID_PROGRAMM_BEENDEN, OnProgrammBeenden)
ON_COMMAND(ID_VERTEILUNGSFORM_THETA, OnVerteilungsformTheta)
ON_COMMAND(ID_PROGRAMM_INFO, OnProgrammInfo)
ON_COMMAND(ID_VERTEILUNGSFORM_THETAS, OnVerteilungsformThetas)
ON_COMMAND(ID_VERTEILUNGSFORM_THETAQ, OnVerteilungsformThetaq)
ON_COMMAND(ID_VERTEILUNGSFORM_THETAQV, OnVerteilungsformThetaqv)
ON_COMMAND(ID_VERTEILUNGSFORM_THETARQ, OnVerteilungsformThetarq)
ON_COMMAND(ID_DOKUMENTATION_THETARQ, OnDokumentationThetarq)
ON_COMMAND(ID_DOKUMENTATION_THETAQ, OnDokumentationThetaq)
//}}AFX_MSG_MAP
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
CTWApp::CTWApp(){}
CTWApp theApp;
BOOL CTWApp::InitInstance()
{
#ifdef _AFXDLL
Enable3dControls();
#else
Enable3dControlsStatic();
#endif
CTWApp::OnProgrammInfo();
CTWDlg obj;
m_pMainWnd = &obj;
int var = obj.DoModal();
if (var == IDOK){}
else if (var == IDCANCEL){}
return 0;
}
void CTWApp::OnVerteilungsformTheta() { ThetaCMD obj;
obj.DoModal();}
void CTWApp::OnVerteilungsformThetas() { Theta_SCMD obj;
obj.DoModal();}
void CTWApp::OnVerteilungsformThetaq() { Theta_QCMD obj;
obj.DoModal();}
void CTWApp::OnVerteilungsformThetaqv(){ Theta_QvCMD obj;
obj.DoModal();}
void CTWApp::OnVerteilungsformThetarq(){ Theta_rQCMD obj;
obj.DoModal();}
void CTWApp::OnDokumentationThetaq() { doc_Q obj;
obj.DoModal();}
void CTWApp::OnDokumentationThetarq(){ doc_rQ obj;
obj.DoModal();}
void CTWApp::OnProgrammInfo() { TWInfo obj;
obj.DoModal();}
void CTWApp::OnProgrammBeenden() { OnSysCommand(SC_CLOSE, 0);}
void CTWApp::OnSysCommand(UINT nID, LPARAM lParam)
{
if(nID==SC_CLOSE)
{
CTWDlg obj;
obj.DestroyWindow();
}
OnSysCommand(nID, lParam);
}