using Gs.DevApp.ToolBox;
using System;
using System.Collections.Generic;
namespace Gs.DevApp.DevFrm.JJGZ
{
public partial class YDGZCX : DevExpress.XtraEditors.XtraForm
{
string _webServiceName = "MesAttanCon/";
public YDGZCX()
{
InitializeComponent();
}
public YDGZCX(string orgId,string date)
{
InitializeComponent();
dateEdit.EditValue = date;
txtOrgId.SetIdOrCode(orgId);
}
///
/// 选择后的回调事件
///
public event EventHandler UpdateParent;
private void simpleButton1_Click(object sender, EventArgs e)
{
var list = new List();
list.Add(txtOrgId.GetId());
list.Add(dateEdit.EditValue?.ToString() ?? "");
UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringList = list }); Close();
}
}
}