PopupProductPlane.cs 940 B

123456789101112131415161718192021222324252627282930313233343536
  1. using CoreFS.CA06;
  2. using System;
  3. using System.Windows.Forms;
  4. namespace Core.StlMes.Client.Qcm
  5. {
  6. public delegate void ProductPlaneSucessHandler(object sender, ProductPlaneArgs e);
  7. public partial class PopupProductPlane : FrmBase
  8. {
  9. public event ProductPlaneSucessHandler ProductPlaneSucessEvent;
  10. /// <summary>
  11. /// 弹窗构造函数
  12. /// </summary>
  13. /// <param name="args">输入参数</param>
  14. public PopupProductPlane(string args)
  15. {
  16. InitializeComponent();
  17. }
  18. private void btnClose_Click(object sender, EventArgs e)
  19. {
  20. if (ProductPlaneSucessEvent != null)
  21. {
  22. ProductPlaneArgs e2 = new ProductPlaneArgs();
  23. ProductPlaneSucessEvent(this, e2);
  24. }
  25. this.DialogResult = DialogResult.OK;
  26. }
  27. }
  28. public class ProductPlaneArgs : EventArgs
  29. {
  30. }
  31. }