private void 客户L_MouseClick(object sender, MouseEventArgs e) { Mode = "CustmerID"; Title = "客户编号"; //Title = "供应商编号|简称"; 录入客户订单_获取单据信息 frm = new 录入客户订单_获取单据信息(); if (frm.ShowDialog() == DialogResult.Cancel) { if (GetMain != null) { 客户.Text = GetMain + "-" + GetOther; SupplierID = GetMain; GetMain = null; GetOther = null; } frm.Dispose(); } }
private void 订单单别L_MouseClick(object sender, MouseEventArgs e) { Mode = "TypeID"; Title = "单别"; //Title = "单别|单据简称"; 录入客户订单_获取单据信息 frm = new 录入客户订单_获取单据信息(); if (frm.ShowDialog() == DialogResult.Cancel) { if (GetMain != null) { 订单单别.Text = GetMain + "-" + GetOther; TypeID = GetMain; GetMain = null; GetOther = null; } frm.Dispose(); } }
private void 订单仓库L_MouseClick(object sender, MouseEventArgs e) { Mode = "PositionID"; Title = "仓库编号"; //Title = "仓库编号|仓库名称"; 录入客户订单_获取单据信息 frm = new 录入客户订单_获取单据信息(); if (frm.ShowDialog() == DialogResult.Cancel) { if (GetMain != null) { 订单仓库.Text = GetMain + "-" + GetOther; PositionID = GetMain; GetMain = null; GetOther = null; } frm.Dispose(); } }