diff --git a/ButcherWeight/WeightForm.cs b/ButcherWeight/WeightForm.cs index e9bc047..4ba576e 100644 --- a/ButcherWeight/WeightForm.cs +++ b/ButcherWeight/WeightForm.cs @@ -98,8 +98,14 @@ namespace ButcherWeight { this.Invoke(new Action(() => { - msgGrid.DataSource = WeightBillRpc.GetMsgList(); - msgGrid.Refresh(); + //msgGrid.DataSource = WeightBillRpc.GetMsgList(); + //msgGrid.Refresh(); + var list = WeightBillRpc.GetMsgList(); + if (list.Any()) + { + Dmo = WeightBillRpc.Load(list.First().WeightBill_ID); + AppToUI(); + } })); } Thread.Sleep(2000);