日期:2014-05-17 浏览次数:21298 次
private void btnOK_Click(object sender, EventArgs e)
{
if (!DoValid()) return;
string str = "";
foreach (string strSpNo in strSpPlanArr)
{
str = str + strSpNo + ",";
}
str = str.TrimEnd(',');
PlanSelectedEvent(this, new PlanSelectedEventArgs { spPlanNoList = str });
}
private void btnAdd_Click(object sender, EventArgs e)
{
frmPlanSelect.Width = 175;
frmPlanSelect.ReferForm = this;
frmPlanSelect.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
frmPlanSelect.MaximizeBox = false;
frmPlanSelect.ShowDialog();
}
private void onPlanSelected(object sender, PlanSelectedEventArgs e)
{
strSpNoList = e.spPlanNoList;
frmPlanSelect.Close();
ShowEditForm();
}
/// <summary>
/// 显示编辑页
/// </summary>
/// <param name="iSpID"></param>