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