-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCompanySetView.cpp
More file actions
49 lines (35 loc) · 894 Bytes
/
Copy pathCompanySetView.cpp
File metadata and controls
49 lines (35 loc) · 894 Bytes
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
// CompanySetView.cpp : 实现文件
//
#include "stdafx.h"
//#include "BCGPChartExample.h"
#include "CompanySetView.h"
//#include "afxdialogex.h"
//#include "Includes_app.h"
// CCompanySetView 对话框
IMPLEMENT_DYNAMIC(CCompanySetView, CDialogEx)
CCompanySetView::CCompanySetView(CWnd* pParent /*=NULL*/)
: CDialogEx(CCompanySetView::IDD, pParent)
{
}
CCompanySetView::~CCompanySetView()
{
}
void CCompanySetView::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CCompanySetView, CDialogEx)
ON_WM_PAINT()
END_MESSAGE_MAP()
// CCompanySetView 消息处理程序
void CCompanySetView::OnPaint()
{
CPaintDC dc(this); // device context for painting
// TODO: 在此处添加消息处理程序代码
// 不为绘图消息调用 CDialogEx::OnPaint()
CRect rect;
GetClientRect(rect);
dc.FillSolidRect(rect, RGB(255, 255, 255));
dc.FillPath();
CDialogEx::OnPaint();
}