/// <summary>
    /// Execute this command.
    /// </summary>
    /// <param name="variables">The variable list of the calling code.</param>
    public override void Execute(VariableList variables)
    {
      string[] processed = ProcessParameters(variables, Parameters);

      int timeout = int.Parse(processed[2]);

      PopupMessage popup = new PopupMessage(processed[0], processed[1], timeout);
      popup.ShowDialog();
    }
Example #2
0
        /// <summary>
        /// Execute this command.
        /// </summary>
        /// <param name="variables">The variable list of the calling code.</param>
        public override void Execute(VariableList variables)
        {
            string[] processed = ProcessParameters(variables, Parameters);

            int timeout = int.Parse(processed[2]);

            PopupMessage popup = new PopupMessage(processed[0], processed[1], timeout);

            popup.ShowDialog();
        }