Пример #1
0
        private void SendMsg(Goods goods, ActionTypeE type)
        {
            MsgAction msg = new MsgAction()
            {
                o1 = goods,
                o2 = type
            };

            Messenger.Default.Send(msg, MsgToken.GoodsUpdate);
        }
Пример #2
0
 private void SendSumMsg(StockSum sum, ActionTypeE type)
 {
     mMsg.o1 = sum;
     mMsg.o2 = type;
     Messenger.Default.Send(mMsg, MsgToken.StockSumeUpdate);
 }