m_define_pz.srm 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. $PBExportHeader$m_define_pz.srm
  2. forward
  3. global type m_define_pz from menu
  4. end type
  5. type m_0 from menu within m_define_pz
  6. end type
  7. type m_1 from menu within m_define_pz
  8. end type
  9. type m_2 from menu within m_define_pz
  10. end type
  11. global type m_define_pz from menu
  12. m_0 m_0
  13. m_1 m_1
  14. m_2 m_2
  15. end type
  16. end forward
  17. global type m_define_pz from menu
  18. m_0 m_0
  19. m_1 m_1
  20. m_2 m_2
  21. end type
  22. global m_define_pz m_define_pz
  23. on m_define_pz.create
  24. m_define_pz=this
  25. call super::create
  26. this.text = "m_define_pz"
  27. this.m_0=create m_0
  28. this.m_1=create m_1
  29. this.m_2=create m_2
  30. this.Item[UpperBound(this.Item)+1]=this.m_0
  31. this.Item[UpperBound(this.Item)+1]=this.m_1
  32. this.Item[UpperBound(this.Item)+1]=this.m_2
  33. end on
  34. on m_define_pz.destroy
  35. call super::destroy
  36. destroy(this.m_0)
  37. destroy(this.m_1)
  38. destroy(this.m_2)
  39. end on
  40. type m_0 from menu within m_define_pz
  41. end type
  42. event clicked;f_sys_main(123)
  43. end event
  44. on m_0.create
  45. call super::create
  46. this.text = "颜色"
  47. end on
  48. on m_0.destroy
  49. call super::destroy
  50. end on
  51. type m_1 from menu within m_define_pz
  52. end type
  53. on m_1.create
  54. call super::create
  55. this.text = "材质"
  56. end on
  57. on m_1.destroy
  58. call super::destroy
  59. end on
  60. event clicked;f_sys_main(111)
  61. end event
  62. type m_2 from menu within m_define_pz
  63. end type
  64. on m_2.create
  65. call super::create
  66. this.text = "面料"
  67. end on
  68. on m_2.destroy
  69. call super::destroy
  70. end on
  71. event clicked;f_sys_main(129)
  72. end event