Esempio n. 1
0
        /// <summary>
        /// Sets receiver
        /// </summary>
        /// <param name="name">Receiver moniker</param>
        /// <returns>true if receiver change is not requested</returns>
        public bool setRequestedReceiver()
        {
            Receiver ri = getReceiver(_m_RPN_Functions.getRequestedReceiver());

            if (ri == null)
            {
                return(true);
            }
            string return_to = _m_RPN_Functions.getRequestedReturnReceiver();

            if (return_to == "None")
            {
                return_to = current_Receiver.Moniker;
            }
            ri.activate(return_to);
            current_Receiver = ri;
            return(false);
        }