派纳发送邮件功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.4 KiB

5 months ago
  1. /**************************************************************
  2. * Description:
  3. * CustPOSendMailUIAction.cs
  4. * Product: U9
  5. * Co. : UFIDA Group
  6. * Author : Auto Generated
  7. * version: 2.0
  8. **************************************************************/
  9. using System;
  10. using System.Collections;
  11. using System.Collections.Generic;
  12. using System.Text;
  13. using UFSoft.UBF.Util.Log;
  14. using UFSoft.UBF.UI.MD.Runtime;
  15. using UFSoft.UBF.UI.ActionProcess;
  16. using UFSoft.UBF.UI.IView;
  17. using System.Data;
  18. namespace UFIDA.U9.Cust.WC.CustPOSendMailUI
  19. {
  20. public partial class CustPOSendMailUIAction : BaseAction
  21. {
  22. private static readonly ILogger logger = LoggerManager.GetLogger(typeof(CustPOSendMailUIAction));
  23. //强类型化基类Model属性.
  24. public new CustPOSendMailUIModel CurrentModel
  25. {
  26. get {
  27. return (CustPOSendMailUIModel)base.CurrentModel;
  28. }
  29. set {
  30. base.CurrentModel = value ;
  31. }
  32. }
  33. public CustPOSendMailUIAction(IPart part) : base(part)
  34. {
  35. }
  36. //Model参数的构造,用于测试用例.
  37. public CustPOSendMailUIAction(CustPOSendMailUIModel model) : base(model)
  38. {
  39. }
  40. /// <summary>
  41. /// Help:
  42. /// </summary>
  43. public void OnSend(object sender, UIActionEventArgs e)
  44. {
  45. //调用基类委托..
  46. this.InvokeAction(sender,e,this.OnSend_Extend);
  47. }
  48. private void OnSend_DefaultImpl(object sender, UIActionEventArgs e)
  49. {
  50. }
  51. /// <summary>
  52. /// Help:
  53. /// </summary>
  54. public void OnClose(object sender, UIActionEventArgs e)
  55. {
  56. //调用基类委托..
  57. this.InvokeAction(sender,e,this.OnClose_Extend);
  58. }
  59. private void OnClose_DefaultImpl(object sender, UIActionEventArgs e)
  60. {
  61. }
  62. #region Action的内置两个Action.
  63. /// <summary>
  64. /// Help: 数据加载(发生在Form的初始化加载时)
  65. /// </summary>
  66. public void OnLoadData(object sender, UIActionEventArgs e)
  67. {
  68. //UBF扩展处...
  69. this.OnLoadData_Extend(sender,e) ;
  70. }
  71. private void OnLoadData_DefaultImpl(object sender, UIActionEventArgs e)
  72. {
  73. UFIDA.U9.UI.Commands.CommandFactory.DoCommand("DataLoad",this,sender,e);
  74. }
  75. /// <summary>
  76. /// Help: 数据收集(发生在Form的CallBack或者是PostBack时)
  77. /// </summary>
  78. public void OnDataCollect(object sender, UIActionEventArgs e)
  79. {
  80. //UBF扩展处...
  81. this.OnDataCollect_Extend(sender,e) ;
  82. }
  83. private void OnDataCollect_DefaultImpl(object sender, UIActionEventArgs e)
  84. {
  85. UFIDA.U9.UI.Commands.CommandFactory.DoCommand("DataCollect",this,sender,e);
  86. }
  87. #endregion
  88. }
  89. }