-
Notifications
You must be signed in to change notification settings - Fork 8
/
DlgBdChild.h
197 lines (153 loc) · 3.62 KB
/
DlgBdChild.h
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
#pragma once
#include "afxwin.h"
#include "Boundry.h"
#include "DlgImp.h"
class CDlgImp;
class CDlgBoundry;
// CBdView 视图
class CBdView : public CView
{
DECLARE_DYNCREATE(CBdView)
protected:
CBdView(); // 动态创建所使用的受保护的构造函数
virtual ~CBdView();
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
#ifdef _DEBUG
virtual void AssertValid() const;
#ifndef _WIN32_WCE
virtual void Dump(CDumpContext& dc) const;
#endif
#endif
protected:
DECLARE_MESSAGE_MAP()
public:
CDlgImp* m_pDlg;
afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
};
// CDlgBdParam 对话框
class CDlgBdParam : public CDialogEx
{
DECLARE_DYNAMIC(CDlgBdParam)
public:
CDlgBdParam(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgBdParam();
// 对话框数据
enum { IDD = IDD_BdParam };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
CBdView* m_pView;
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
CBrush bkgBr;
};
#pragma once
// CDlgBdPoly 对话框
class CDlgBdPoly : public CDialogEx
{
DECLARE_DYNAMIC(CDlgBdPoly)
public:
CDlgBdPoly(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgBdPoly();
// 对话框数据
enum { IDD = IDD_BdPoly };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual BOOL OnInitDialog();
CBdView* m_pView;
CBrush bkgBr;
double Rset1;
double Xset1;
double Beta;
double Alpha;
double Theta;
CDlgImp* m_pDlg;
CDlgBoundry* outerDlg;
afx_msg void OnBnClickedPrePoly();
afx_msg void OnBnClickedInsPoly();
};
#pragma once
#pragma once
// CDlgBdLine 对话框
class CDlgBdLine : public CDialogEx
{
DECLARE_DYNAMIC(CDlgBdLine)
public:
CDlgBdLine(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgBdLine();
// 对话框数据
enum { IDD = IDD_BdLine };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
CBrush bkgBr;
CBdView* m_pView;
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnBnClickedPreLine();
double Rset1;
double Xset1;
double Beta;
CDlgImp* m_pDlg;
CDlgBoundry* outerDlg;
afx_msg void OnBnClickedInsLine();
};
#pragma once
// CDlgBdCircle 对话框
class CDlgBdCircle : public CDialogEx
{
DECLARE_DYNAMIC(CDlgBdCircle)
public:
CDlgBdCircle(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgBdCircle();
// 对话框数据
enum { IDD = IDD_BdCircle };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
CBrush bkgBr;
CBdView* m_pView;
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
CDlgImp* m_pDlg;
CDlgBoundry* outerDlg;
double Rset1;
double Xset1;
double Alpha;
afx_msg void OnBnClickedPreCircle();
afx_msg void OnBnClickedInsCircle();
};
#pragma once
// CDlgBdRect 对话框
class CDlgBdRect : public CDialogEx
{
DECLARE_DYNAMIC(CDlgBdRect)
public:
CDlgBdRect(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgBdRect();
// 对话框数据
enum { IDD = IDD_BdRect };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
CBrush bkgBr;
CBdView* m_pView;
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
double Rset1;
double Rset2;
double Xset1;
double Xset2;
CDlgImp* m_pDlg;
CDlgBoundry* outerDlg;
afx_msg void OnBnClickedPreRect();
afx_msg void OnBnClickedInsRect();
};