m_price_print.srm 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. $PBExportHeader$m_price_print.srm
  2. forward
  3. global type m_price_print from menu
  4. end type
  5. type m_0 from menu within m_price_print
  6. end type
  7. type m_按日打印 from menu within m_0
  8. end type
  9. type m_按单打印 from menu within m_0
  10. end type
  11. type m_0 from menu within m_price_print
  12. m_按日打印 m_按日打印
  13. m_按单打印 m_按单打印
  14. end type
  15. global type m_price_print from menu
  16. m_0 m_0
  17. end type
  18. end forward
  19. global type m_price_print from menu
  20. m_0 m_0
  21. end type
  22. global m_price_print m_price_print
  23. on m_price_print.create
  24. m_price_print=this
  25. call super::create
  26. this.m_0=create m_0
  27. this.Item[UpperBound(this.Item)+1]=this.m_0
  28. end on
  29. on m_price_print.destroy
  30. call super::destroy
  31. destroy(this.m_0)
  32. end on
  33. type m_0 from menu within m_price_print
  34. m_按日打印 m_按日打印
  35. m_按单打印 m_按单打印
  36. end type
  37. on m_0.create
  38. call super::create
  39. this.m_按日打印=create m_按日打印
  40. this.m_按单打印=create m_按单打印
  41. this.Item[UpperBound(this.Item)+1]=this.m_按日打印
  42. this.Item[UpperBound(this.Item)+1]=this.m_按单打印
  43. end on
  44. on m_0.destroy
  45. call super::destroy
  46. destroy(this.m_按日打印)
  47. destroy(this.m_按单打印)
  48. end on
  49. type m_按日打印 from menu within m_0
  50. end type
  51. on m_按日打印.create
  52. call super::create
  53. this.text = "按日打印"
  54. end on
  55. on m_按日打印.destroy
  56. call super::destroy
  57. end on
  58. type m_按单打印 from menu within m_0
  59. end type
  60. on m_按单打印.create
  61. call super::create
  62. this.text = "按单打印"
  63. end on
  64. on m_按单打印.destroy
  65. call super::destroy
  66. end on