ACAT.Extensions.Default.UI.Dialogs.AboutBoxForm.OnRunCommand C# (CSharp) Method

OnRunCommand() public method

Handles the command. There is only the OK button that we have to handle
public OnRunCommand ( string command, bool &handled ) : void
command string command to execute
handled bool was it handled?
return void
        public void OnRunCommand(string command, ref bool handled)
        {
            handled = true;

            switch (command)
            {
                case "@ok":
                    Windows.CloseAsync(this);
                    break;

                default:
                    handled = false;
                    break;
            }
        }