-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathCSetXYrangeDlg.cpp
More file actions
42 lines (30 loc) · 812 Bytes
/
CSetXYrangeDlg.cpp
File metadata and controls
42 lines (30 loc) · 812 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
// CSetXYrangeDlg.cpp: 实现文件
//
#include "pch.h"
#include "mfcplot.h"
#include "CSetXYrangeDlg.h"
#include "afxdialogex.h"
// CSetXYrangeDlg 对话框
IMPLEMENT_DYNAMIC(CSetXYrangeDlg, CDialogEx)
CSetXYrangeDlg::CSetXYrangeDlg(double Xmin, double Xmax, double Ymin, double Ymax, CWnd* pParent /*=nullptr*/)
: CDialogEx(IDD_DIALOG_SET_RANGE, pParent)
, m_Xmin(Xmin)
, m_Xmax(Xmax)
, m_Ymin(Ymin)
, m_Ymax(Ymax)
{
}
CSetXYrangeDlg::~CSetXYrangeDlg()
{
}
void CSetXYrangeDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT5, m_Xmin);
DDX_Text(pDX, IDC_EDIT1, m_Xmax);
DDX_Text(pDX, IDC_EDIT6, m_Ymin);
DDX_Text(pDX, IDC_EDIT7, m_Ymax);
}
BEGIN_MESSAGE_MAP(CSetXYrangeDlg, CDialogEx)
END_MESSAGE_MAP()
// CSetXYrangeDlg 消息处理程序