#pragma once #include "resource.h" #include "afxwin.h" class CUIISQLiteServer; class CReducerDlg : public CDialog { DECLARE_DYNAMIC(CReducerDlg) public: CReducerDlg(CWnd* pParent = NULL); virtual ~CReducerDlg(); enum { IDD = IDD_REDUCERDLG }; void SetCurWidth(double dW,double dL); void SetCurHeight(double dH); CPoint GetReducer(AcGePoint3d& ptSize,double& dEH) const; protected: virtual void DoDataExchange(CDataExchange* pDX); DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); afx_msg void OnBnClickedOk(); afx_msg void OnEnKillfocusEdit7(); afx_msg void OnBnClickedCheck1(); afx_msg void OnCbnCloseupCombo2(); public: int m_nEcCen; double m_dW; CString m_sEndW; CString m_sEndH; double m_dH; double m_dL; double m_dAngle; BOOL m_bAngleCal; CEdit m_wndEditL; int m_nZECen; };