|
|
@ -98,8 +98,14 @@ namespace ButcherWeight |
|
|
{ |
|
|
{ |
|
|
this.Invoke(new Action(() => |
|
|
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); |
|
|
Thread.Sleep(2000); |
|
|
|