// mymfc29DView.h : interface of the CMymfc29DView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYMFC29DVIEW_H__D0EB2159_3BB1_48A7_B945_0264B0DF4019__INCLUDED_)
#define AFX_MYMFC29DVIEW_H__D0EB2159_3BB1_48A7_B945_0264B0DF4019__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "autodriver.h"
#include "bankdriver.h"
#include "clockdriver.h"
#include "excel.h"

#include "AlarmDialog.h"

class CMymfc29DView : public CView
{
private:

   IAlarm m_alarm;
   IMymfc29BAuto m_auto;
   IBank m_bank;
   IMymfc29C m_clock;
   
   _Application m_app;
   Range        m_range[5];
   _Worksheet   m_worksheet;
   Workbooks    m_workbooks;
   Worksheets   m_worksheets;

protected: // create from serialization only
	CMymfc29DView();
	DECLARE_DYNCREATE(CMymfc29DView)

// Attributes
public:
	CMymfc29DDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMymfc29DView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMymfc29DView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMymfc29DView)
	afx_msg void OnBankoleLoad();
	afx_msg void OnUpdateBankoleLoad(CCmdUI* pCmdUI);
	afx_msg void OnBankoleTest();
	afx_msg void OnUpdateBankoleTest(CCmdUI* pCmdUI);
	afx_msg void OnBankoleUnload();
	afx_msg void OnUpdateBankoleUnload(CCmdUI* pCmdUI);
	afx_msg void OnClockoleCreatealarm();
	afx_msg void OnUpdateClockoleCreatealarm(CCmdUI* pCmdUI);
	afx_msg void OnClockoleLoad();
	afx_msg void OnUpdateClockoleLoad(CCmdUI* pCmdUI);
	afx_msg void OnClockoleRefreshtime();
	afx_msg void OnUpdateClockoleRefreshtime(CCmdUI* pCmdUI);
	afx_msg void OnClockoleUnload();
	afx_msg void OnUpdateClockoleUnload(CCmdUI* pCmdUI);
	afx_msg void OnDlloleGetdata();
	afx_msg void OnUpdateDlloleGetdata(CCmdUI* pCmdUI);
	afx_msg void OnDlloleLoad();
	afx_msg void OnUpdateDlloleLoad(CCmdUI* pCmdUI);
	afx_msg void OnDlloleUnload();
	afx_msg void OnUpdateDlloleUnload(CCmdUI* pCmdUI);
	afx_msg void OnExceloleLoad();
	afx_msg void OnUpdateExceloleLoad(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in mymfc29DView.cpp
inline CMymfc29DDoc* CMymfc29DView::GetDocument()
   { return (CMymfc29DDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYMFC29DVIEW_H__D0EB2159_3BB1_48A7_B945_0264B0DF4019__INCLUDED_)

