ComplexCalculatorDlg.h
上传用户:weigute
上传日期:2007-03-02
资源大小:1287k
文件大小:2k
源码类别:

数学计算

开发平台:

Visual C++

  1. // ComplexCalculatorDlg.h : header file
  2. //
  3. #if !defined(AFX_COMPLEXCALCULATORDLG_H__41A4FC3B_798C_42B2_ABF2_12311F809ABF__INCLUDED_)
  4. #define AFX_COMPLEXCALCULATORDLG_H__41A4FC3B_798C_42B2_ABF2_12311F809ABF__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CComplexCalculatorDlg dialog
  10. class CComplexCalculatorDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CComplexCalculatorDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CComplexCalculatorDlg)
  17. enum { IDD = IDD_COMPLEXCALCULATOR_DIALOG };
  18. double m_dblA;
  19. double m_dblB;
  20. double m_dblC;
  21. double m_dblD;
  22. CString m_strResult;
  23. //}}AFX_DATA
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CComplexCalculatorDlg)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. HICON m_hIcon;
  32. // Generated message map functions
  33. //{{AFX_MSG(CComplexCalculatorDlg)
  34. virtual BOOL OnInitDialog();
  35. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  36. afx_msg void OnPaint();
  37. afx_msg HCURSOR OnQueryDragIcon();
  38. afx_msg void OnButton1();
  39. afx_msg void OnButton2();
  40. afx_msg void OnButton3();
  41. afx_msg void OnButton4();
  42. afx_msg void OnButton6();
  43. afx_msg void OnButton5();
  44. afx_msg void OnButton10();
  45. afx_msg void OnButton7();
  46. afx_msg void OnButton8();
  47. afx_msg void OnButton9();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_COMPLEXCALCULATORDLG_H__41A4FC3B_798C_42B2_ABF2_12311F809ABF__INCLUDED_)