示例#1
0
        // **********************************************************************
        // *                               Заявки                               *
        // **********************************************************************

        void TransactionReplyCallback(
            Trans2Quik.Result r,
            int err,
            int rc,
            int tid,
            double order_id,
            string msg)
        {
            if (r == Trans2Quik.Result.SUCCESS && rc == 3)
            {
                mgr.ActionReply(tid, (long)order_id, null);
            }
            else
            {
                mgr.ActionReply(tid, (long)order_id, msg.Length == 0 ? r + ", " + err : msg.ToString());
            }
        }