-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGrayLogTransform.cpp
More file actions
52 lines (36 loc) · 990 Bytes
/
GrayLogTransform.cpp
File metadata and controls
52 lines (36 loc) · 990 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
50
51
52
// GrayLogTransform.cpp: 实现文件
//
#include "pch.h"
#include "CImageProcessing.h"
#include "afxdialogex.h"
#include "GrayLogTransform.h"
// GrayLogTransform 对话框
IMPLEMENT_DYNAMIC(GrayLogTransform, CDialogEx)
GrayLogTransform::GrayLogTransform(CWnd* pParent /*=nullptr*/)
: CDialogEx(IDD_DIALOG1, pParent)
, m_log_c(0)
{
}
GrayLogTransform::~GrayLogTransform()
{
}
void GrayLogTransform::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT1, m_log_c);
}
BEGIN_MESSAGE_MAP(GrayLogTransform, CDialogEx)
ON_BN_CLICKED(IDOK, &GrayLogTransform::OnBnClickedOk)
ON_BN_CLICKED(IDCANCEL, &GrayLogTransform::OnBnClickedCancel)
END_MESSAGE_MAP()
// GrayLogTransform 消息处理程序
void GrayLogTransform::OnBnClickedOk()
{
// TODO: 在此添加控件通知处理程序代码
CDialogEx::OnOK();
}
void GrayLogTransform::OnBnClickedCancel()
{
// TODO: 在此添加控件通知处理程序代码
CDialogEx::OnCancel();
}