| | |
| | | e.Bounds.Top + 45, e.Bounds.Right - 5, e.Bounds.Height - 5); |
| | | e.Graphics.DrawString(str, f, Brushes.Gray, r); |
| | | }; |
| | | txt_suppNo.EditChanged += (s, e) => |
| | | { |
| | | var ddd = txt_suppNo.GetValue(); |
| | | // lbSupplierName.Text = ddd[1]; |
| | | }; |
| | | this.txt_depotsCode.KeyFile = "depotCode"; |
| | | this.txt_suppNo.KeyFile = "suppNo"; |
| | | btnSelect.Click += (s, e) => |
| | | { |
| | | var frm = new SelectCgMx(); |
| | |
| | | gcMx1.ForceInitialize(); |
| | | }; |
| | | frm.ShowDialog(); |
| | | }; |
| | | txt_depotsCode.EditChanged += (s, e) => |
| | | { |
| | | var ddd = txt_depotsCode.GetValue(); |
| | | //lbCkName.Text = ddd[1]; |
| | | }; |
| | | } |
| | | |
| | |
| | | private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) |
| | | { |
| | | toolBarMenu1.isSetBtn = false; |
| | | var _ckCode = txt_depotsCode.GetValue()[2]; //仓库编号 depots_code |
| | | var _gysCode = txt_suppNo.GetValue()[2]; //供应商编号 |
| | | var _ckCode = txt_depotsCode.GetCode(); //仓库编号 depots_code |
| | | var _gysCode = txt_suppNo.GetCode(); //供应商编号 |
| | | if (string.IsNullOrEmpty(_ckCode)) |
| | | { |
| | | MsgHelper.Warning("请选择仓库!"); |