
// StopWatchDlg.h : header file
//

#pragma once


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

// Dialog Data
	enum { IDD = IDD_STOPWATCH_DIALOG };
	CEdit m_edit_device_name;
	CStatic m_static_product_name;
	CStatic m_static_time;
	CEdit m_edit_ret;

	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()

	short	CountId;
public:
	afx_msg void OnBnClickedButtonTimInit();
	afx_msg void OnBnClickedButtonCountStart();
	afx_msg void OnBnClickedButtonCountLap();
	afx_msg void OnBnClickedButtonCountReset();
	afx_msg void OnBnClickedButtonCountStop();
	afx_msg void OnBnClickedButtonTimExit();
	afx_msg void OnBnClickedButtonExit();
};
