Esempio n. 1
0
        public void CancelOrders()
        {
            foreach (var order in mSellOrders)
            {
                diginoteSystem.DeleteSellOrder(order);
            }

            mSellOrders.Clear();

            foreach (var order in mPurchaseOrders)
            {
                diginoteSystem.DeletePurchaseOrder(order);
            }

            mPurchaseOrders.Clear();

            clientForm.UpdatePurchaseOrders(mPurchaseOrders);
            clientForm.UpdateSellOrders(mSellOrders);

            clientForm.UpdateDiginotes(mWallet.Count.ToString());
        }