
// SamplingDlg.h : header file
//

#pragma once


// CSamplingDlg dialog
class CSamplingDlg : public CDialogEx
{
// Construction
public:
	CSamplingDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_SAMPLING_DIALOG };
	CEdit	m_Return;
	CEdit	m_TransCount;
	CEdit	m_Status;
	CEdit	m_Error;
	CEdit	m_DeviceName;

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonDioInit();
	afx_msg void OnBnClickedButtonCondition();
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedButtonData();
	afx_msg void OnBnClickedButtonCount();
	afx_msg void OnBnClickedButtonStatus();
	afx_msg void OnBnClickedButtonDioExit();
	afx_msg void OnBnClickedButtonExit();
	afx_msg void OnClose();
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
};
