m_dwchild_rbotton_taskwork.srm 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. $PBExportHeader$m_dwchild_rbotton_taskwork.srm
  2. forward
  3. global type m_dwchild_rbotton_taskwork from menu
  4. end type
  5. type m_0 from menu within m_dwchild_rbotton_taskwork
  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_删行 from menu within m_0
  12. end type
  13. type m_-0 from menu within m_0
  14. end type
  15. type m_复制行 from menu within m_0
  16. end type
  17. type m_复制行员工 from menu within m_0
  18. end type
  19. type m_复制行员工及工序 from menu within m_0
  20. end type
  21. type m_- from menu within m_0
  22. end type
  23. type m_右键筛选 from menu within m_0
  24. end type
  25. type m_显示全部 from menu within m_0
  26. end type
  27. type m_0 from menu within m_dwchild_rbotton_taskwork
  28. m_插行 m_插行
  29. m_增行 m_增行
  30. m_删行 m_删行
  31. m_-0 m_-0
  32. m_复制行 m_复制行
  33. m_复制行员工 m_复制行员工
  34. m_复制行员工及工序 m_复制行员工及工序
  35. m_- m_-
  36. m_右键筛选 m_右键筛选
  37. m_显示全部 m_显示全部
  38. end type
  39. global type m_dwchild_rbotton_taskwork from menu
  40. m_0 m_0
  41. end type
  42. end forward
  43. global type m_dwchild_rbotton_taskwork from menu
  44. m_0 m_0
  45. end type
  46. global m_dwchild_rbotton_taskwork m_dwchild_rbotton_taskwork
  47. on m_dwchild_rbotton_taskwork.create
  48. m_dwchild_rbotton_taskwork=this
  49. call super::create
  50. this.text = "m_mstpay"
  51. this.m_0=create m_0
  52. this.Item[UpperBound(this.Item)+1]=this.m_0
  53. end on
  54. on m_dwchild_rbotton_taskwork.destroy
  55. call super::destroy
  56. destroy(this.m_0)
  57. end on
  58. event clicked;//w_mustpay.triggerevent('ue_add')
  59. end event
  60. type m_0 from menu within m_dwchild_rbotton_taskwork
  61. m_插行 m_插行
  62. m_增行 m_增行
  63. m_删行 m_删行
  64. m_-0 m_-0
  65. m_复制行 m_复制行
  66. m_复制行员工 m_复制行员工
  67. m_复制行员工及工序 m_复制行员工及工序
  68. m_- m_-
  69. m_右键筛选 m_右键筛选
  70. m_显示全部 m_显示全部
  71. end type
  72. on m_0.create
  73. call super::create
  74. this.m_插行=create m_插行
  75. this.m_增行=create m_增行
  76. this.m_删行=create m_删行
  77. this.m_-0=create m_-0
  78. this.m_复制行=create m_复制行
  79. this.m_复制行员工=create m_复制行员工
  80. this.m_复制行员工及工序=create m_复制行员工及工序
  81. this.m_-=create m_-
  82. this.m_右键筛选=create m_右键筛选
  83. this.m_显示全部=create m_显示全部
  84. this.Item[UpperBound(this.Item)+1]=this.m_插行
  85. this.Item[UpperBound(this.Item)+1]=this.m_增行
  86. this.Item[UpperBound(this.Item)+1]=this.m_删行
  87. this.Item[UpperBound(this.Item)+1]=this.m_-0
  88. this.Item[UpperBound(this.Item)+1]=this.m_复制行
  89. this.Item[UpperBound(this.Item)+1]=this.m_复制行员工
  90. this.Item[UpperBound(this.Item)+1]=this.m_复制行员工及工序
  91. this.Item[UpperBound(this.Item)+1]=this.m_-
  92. this.Item[UpperBound(this.Item)+1]=this.m_右键筛选
  93. this.Item[UpperBound(this.Item)+1]=this.m_显示全部
  94. end on
  95. on m_0.destroy
  96. call super::destroy
  97. destroy(this.m_插行)
  98. destroy(this.m_增行)
  99. destroy(this.m_删行)
  100. destroy(this.m_-0)
  101. destroy(this.m_复制行)
  102. destroy(this.m_复制行员工)
  103. destroy(this.m_复制行员工及工序)
  104. destroy(this.m_-)
  105. destroy(this.m_右键筛选)
  106. destroy(this.m_显示全部)
  107. end on
  108. type m_插行 from menu within m_0
  109. end type
  110. on m_插行.create
  111. call super::create
  112. this.text = "插行 Shift + ↑"
  113. end on
  114. on m_插行.destroy
  115. call super::destroy
  116. end on
  117. event clicked;parentwindow.event dynamic ue_insertmx()
  118. end event
  119. type m_增行 from menu within m_0
  120. end type
  121. event clicked;parentwindow.event dynamic ue_addmx()
  122. end event
  123. on m_增行.create
  124. call super::create
  125. this.text = "增行 Shift + ↓"
  126. end on
  127. on m_增行.destroy
  128. call super::destroy
  129. end on
  130. type m_删行 from menu within m_0
  131. end type
  132. event clicked;parentwindow.event dynamic ue_deletemx()
  133. end event
  134. on m_删行.create
  135. call super::create
  136. this.text = "删行 Shift + →"
  137. end on
  138. on m_删行.destroy
  139. call super::destroy
  140. end on
  141. type m_-0 from menu within m_0
  142. end type
  143. on m_-0.create
  144. call super::create
  145. this.text = "-"
  146. end on
  147. on m_-0.destroy
  148. call super::destroy
  149. end on
  150. type m_复制行 from menu within m_0
  151. end type
  152. on m_复制行.create
  153. call super::create
  154. this.text = "复制行(工序) Ctrl+ A"
  155. end on
  156. on m_复制行.destroy
  157. call super::destroy
  158. end on
  159. event clicked;parentwindow.event dynamic ue_copyrow_pro()
  160. end event
  161. type m_复制行员工 from menu within m_0
  162. end type
  163. on m_复制行员工.create
  164. call super::create
  165. this.text = "复制行(员工) Ctrl+ S"
  166. end on
  167. on m_复制行员工.destroy
  168. call super::destroy
  169. end on
  170. event clicked;parentwindow.event dynamic ue_copyrow_emp()
  171. end event
  172. type m_复制行员工及工序 from menu within m_0
  173. end type
  174. event clicked;parentwindow.event dynamic ue_copyrow()
  175. end event
  176. on m_复制行员工及工序.create
  177. call super::create
  178. this.text = "复制行(员工及工序) Ctrl+ D"
  179. end on
  180. on m_复制行员工及工序.destroy
  181. call super::destroy
  182. end on
  183. type m_- from menu within m_0
  184. end type
  185. on m_-.create
  186. call super::create
  187. this.text = "-"
  188. end on
  189. on m_-.destroy
  190. call super::destroy
  191. end on
  192. type m_右键筛选 from menu within m_0
  193. end type
  194. on m_右键筛选.create
  195. call super::create
  196. this.text = "右键筛选"
  197. end on
  198. on m_右键筛选.destroy
  199. call super::destroy
  200. end on
  201. event clicked;parentwindow.event dynamic ue_rbbutton()
  202. end event
  203. type m_显示全部 from menu within m_0
  204. end type
  205. on m_显示全部.create
  206. call super::create
  207. this.text = "显示全部"
  208. end on
  209. on m_显示全部.destroy
  210. call super::destroy
  211. end on
  212. event clicked;parentwindow.event dynamic ue_dwchild_filter()
  213. end event