using CoreFS.CA06; using System; using System.Windows.Forms; namespace Core.StlMes.Client.Qcm { public delegate void ProductPlaneSucessHandler(object sender, ProductPlaneArgs e); public partial class PopupProductPlane : FrmBase { public event ProductPlaneSucessHandler ProductPlaneSucessEvent; /// /// 弹窗构造函数 /// /// 输入参数 public PopupProductPlane(string args) { InitializeComponent(); } private void btnClose_Click(object sender, EventArgs e) { if (ProductPlaneSucessEvent != null) { ProductPlaneArgs e2 = new ProductPlaneArgs(); ProductPlaneSucessEvent(this, e2); } this.DialogResult = DialogResult.OK; } } public class ProductPlaneArgs : EventArgs { } }