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);
|
|
}
|
|
/// <summary>
|
/// 选择后的回调事件
|
/// </summary>
|
public event EventHandler<UpdateParentEventArgs> UpdateParent;
|
|
private void simpleButton1_Click(object sender, EventArgs e)
|
{
|
var list = new List<string>();
|
|
list.Add(txtOrgId.GetId());
|
list.Add(dateEdit.EditValue?.ToString() ?? "");
|
|
UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringList = list }); Close();
|
}
|
}
|
}
|