outsourcing2.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #if !defined(AFX_outsourcing2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_outsourcing2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // outsourcing2.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // outsourcing2 form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "TreeComboBox.h"
  14. class outsourcing2 : public CDialog
  15. {
  16. CString m_branch;
  17. DWORD m_timestmap;
  18. BOOL m_bInit;
  19. CArray<CStringArray, CStringArray>m_List1array;
  20. CArray<CStringArray, CStringArray>m_List2array;
  21. // Form Data
  22. public:
  23. outsourcing2(CWnd* pParent = NULL); // standard constructor
  24. //{{AFX_DATA(outsourcing2)
  25. enum { IDD = IDD_DLGoutsourcing2 };
  26. CComboBox m_combobranch;
  27. CTreeComboBox m_comboren;
  28. CComboBox m_combosplb2;
  29. CComboBox m_combosp;
  30. CComboBox m_combosplb;
  31. CSpinButtonCtrl m_spinday;
  32. CSpinButtonCtrl m_spinmonth;
  33. CSpinButtonCtrl m_spinyear;
  34. CSortListCtrl2 m_List1;
  35. CStatic m_static1;
  36. UINT m_year;
  37. UINT m_month;
  38. UINT m_day;
  39. int m_radio1;
  40. int m_radio2;
  41. //}}AFX_DATA
  42. // Attributes
  43. public:
  44. // Operations
  45. public:
  46. void FillGrid3();
  47. void FillGrid2();
  48. CString GetPriceFromName(CString name);
  49. void DateChange();
  50. void FillGrid();
  51. // Overrides
  52. // ClassWizard generated virtual function overrides
  53. //{{AFX_VIRTUAL(outsourcing2)
  54. public:
  55. virtual BOOL OnInitDialog();
  56. protected:
  57. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  58. //}}AFX_VIRTUAL
  59. // Implementation
  60. protected:
  61. #ifdef _DEBUG
  62. virtual void AssertValid() const;
  63. virtual void Dump(CDumpContext& dc) const;
  64. #endif
  65. // Generated message map functions
  66. //{{AFX_MSG(outsourcing2)
  67. afx_msg void OnBUTclose();
  68. afx_msg void OnChangeEDITyear();
  69. afx_msg void OnChangeEDITmonth();
  70. afx_msg void OnChangeEDITday();
  71. afx_msg void OnRadio3();
  72. afx_msg void OnRadio4();
  73. afx_msg void OnChangeEDITmoney2();
  74. afx_msg void OnSelchangeCOMBOsplb();
  75. afx_msg void OnSelchangeCOMBOsp();
  76. afx_msg void OnBUTprint();
  77. afx_msg void OnRadio24();
  78. afx_msg void OnRadio25();
  79. afx_msg void OnSelchangeCOMBOsplb2();
  80. afx_msg void OnRadio26();
  81. afx_msg void OnSelchangeCOMBOren();
  82. afx_msg void OnCloseupCOMBOren();
  83. afx_msg void OnSelchangeCOMBObranch();
  84. //}}AFX_MSG
  85. DECLARE_MESSAGE_MAP()
  86. };
  87. /////////////////////////////////////////////////////////////////////////////
  88. //{{AFX_INSERT_LOCATION}}
  89. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  90. #endif // !defined(AFX_outsourcing2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)