コード例 #1
0
ファイル: CommandUI.cs プロジェクト: 15831944/backsight
        /// <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);
        }