w_msg_send_normal.srw 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. $PBExportHeader$w_msg_send_normal.srw
  2. forward
  3. global type w_msg_send_normal from w_msg_send_mt
  4. end type
  5. end forward
  6. global type w_msg_send_normal from w_msg_send_mt
  7. string title = "发送消息"
  8. end type
  9. global w_msg_send_normal w_msg_send_normal
  10. event open;this.triggerevent('ue_before_open')
  11. wf_movetocenter()
  12. s_msg = Message.PowerObjectParm
  13. ins_kind = -1
  14. dw_mt_fj.SetTransObject(sys_filedb_sqlca)
  15. wf_dw()
  16. If Integer(f_ProfileString (sys_empid,This.ClassName(), "x",String(This.X))) = 0 Then
  17. This.X = 23
  18. This.Y = 24
  19. Else
  20. This.X = Integer(f_ProfileString (sys_empid,This.ClassName(), "x",String(This.X)))
  21. This.Y = Integer(f_ProfileString (sys_empid,This.ClassName(), "y",String(This.Y)))
  22. End If
  23. If s_msg.ifback = 1 Then
  24. mle_objdpm.Text = s_msg.sendemp
  25. sle_billcode.Text = s_msg.billcode
  26. sle_msgtitle.Text = '回复:'+s_msg.msgtitle
  27. uo_html.uf_sethtml('<DIV><FONT face=Verdana color=#000080 size=2>&nbsp;</FONT></DIV><DIV><FONT face=Verdana color=#000080 size=2>&nbsp;</FONT></DIV><DIV><FONT face=Verdana color=#000080 size=2>&nbsp;</FONT></DIV><HR color=#b5c4df SIZE=1>' + s_msg.msg)
  28. Else
  29. sle_billcode.Text = s_msg.billcode
  30. End If
  31. end event
  32. on w_msg_send_normal.create
  33. int iCurrent
  34. call super::create
  35. end on
  36. on w_msg_send_normal.destroy
  37. call super::destroy
  38. end on
  39. type cb_func from w_msg_send_mt`cb_func within w_msg_send_normal
  40. end type
  41. type cb_exit from w_msg_send_mt`cb_exit within w_msg_send_normal
  42. end type
  43. type sle_msgtitle from w_msg_send_mt`sle_msgtitle within w_msg_send_normal
  44. string text = ""
  45. end type
  46. type st_2 from w_msg_send_mt`st_2 within w_msg_send_normal
  47. end type
  48. type mle_objdpm from w_msg_send_mt`mle_objdpm within w_msg_send_normal
  49. end type
  50. type dw_1 from w_msg_send_mt`dw_1 within w_msg_send_normal
  51. end type
  52. type rb_usergrp from w_msg_send_mt`rb_usergrp within w_msg_send_normal
  53. end type
  54. type rb_user from w_msg_send_mt`rb_user within w_msg_send_normal
  55. end type
  56. type cb_que from w_msg_send_mt`cb_que within w_msg_send_normal
  57. end type
  58. type cb_1 from w_msg_send_mt`cb_1 within w_msg_send_normal
  59. end type
  60. type st_1 from w_msg_send_mt`st_1 within w_msg_send_normal
  61. end type
  62. type sle_billcode from w_msg_send_mt`sle_billcode within w_msg_send_normal
  63. end type
  64. type st_3 from w_msg_send_mt`st_3 within w_msg_send_normal
  65. end type
  66. type uo_html from w_msg_send_mt`uo_html within w_msg_send_normal
  67. end type
  68. type dw_mt_fj from w_msg_send_mt`dw_mt_fj within w_msg_send_normal
  69. end type
  70. type p_fj_add from w_msg_send_mt`p_fj_add within w_msg_send_normal
  71. end type
  72. type st_4 from w_msg_send_mt`st_4 within w_msg_send_normal
  73. end type
  74. type st_fj_add from w_msg_send_mt`st_fj_add within w_msg_send_normal
  75. end type
  76. type st_6 from w_msg_send_mt`st_6 within w_msg_send_normal
  77. end type
  78. type st_send_suc_w from w_msg_send_mt`st_send_suc_w within w_msg_send_normal
  79. end type
  80. type ln_bar from w_msg_send_mt`ln_bar within w_msg_send_normal
  81. end type
  82. type ln_bar2 from w_msg_send_mt`ln_bar2 within w_msg_send_normal
  83. end type
  84. type r_bar from w_msg_send_mt`r_bar within w_msg_send_normal
  85. end type
  86. type st_send_suc from w_msg_send_mt`st_send_suc within w_msg_send_normal
  87. end type