﻿
// FileOperationDlg.h : header file
//

#pragma once
#import "CWaveFormGenerator.tlb" no_namespace								// If you put the tlb file in the code location


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

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_FILEOPERATION_DIALOG };
#endif

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


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	CEdit				m_edit_device_name;
	CEdit				m_edit_applicationstatus;
	CEdit				m_edit_returnnum;
	CMFCEditBrowseCtrl	m_edit_settingfile;
	CMFCEditBrowseCtrl	m_edit_arbitrarydatafile;
	CComboBox			m_combo_openmode;
	CComboBox			m_combo_aochannel;
	CComboBox			m_combo_wavetype;
	CComboBox			m_combo_param;
	afx_msg void OnBnClickedButtonOpenapplication();
	afx_msg void OnBnClickedButtonSetdevicename();
	afx_msg void OnBnClickedButtonExportsettingfile();
	afx_msg void OnBnClickedButtonImportsettingfile();
	afx_msg void OnBnClickedButtonSetwavetype();
	afx_msg void OnBnClickedButtonSetarbitrarydatafile();
	afx_msg void OnBnClickedButtonGetarbitrarydatafile();
	afx_msg void OnBnClickedButtonSavedatafile();
	afx_msg void OnBnClickedButtonStartoperation();
	afx_msg void OnBnClickedButtonGetapplicationstatus();
	afx_msg void OnBnClickedButtonStopopereation();
	afx_msg void OnBnClickedButtonClose();
	afx_msg void OnBnClickedButtonExit();
};
