Esempio n. 1
0
        /// <summary>
        /// Finishes this command.
        /// </summary>
        /// <returns>True (always).</returns>
        protected bool FinishCommand()
        {
            // If this command was invoked by an update command, get
            // the update to clean up. Otherwise tell the controller.

            if (m_UpdCmd != null)
            {
                m_UpdCmd.FinishCommand(this);
            }
            else
            {
                this.Controller.FinishCommand(this);
            }

            return(true);
        }