DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTblShow.cs
@@ -1,4 +1,5 @@ using DevExpress.XtraEditors; using Gs.DevApp.ToolBox; using System; using System.Collections.Generic; using System.ComponentModel; @@ -16,6 +17,18 @@ public Frm_MesItemTblShow() { InitializeComponent(); btnIn.Click += (s, e) => { string _StringSingle = txt_chkOut.Checked ? "1" : "0"; UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = _StringSingle }); Close(); }; } /// <summary> /// 选择后的回调事件 /// </summary> public event EventHandler<UpdateParentEventArgs> UpdateParent; } }