private void SendMsg(Goods goods, ActionTypeE type) { MsgAction msg = new MsgAction() { o1 = goods, o2 = type }; Messenger.Default.Send(msg, MsgToken.GoodsUpdate); }
private void SendSumMsg(StockSum sum, ActionTypeE type) { mMsg.o1 = sum; mMsg.o2 = type; Messenger.Default.Send(mMsg, MsgToken.StockSumeUpdate); }