Ejemplo n.º 1
0
        /// <summary>
        /// Edit this command.
        /// </summary>
        /// <param name="parent">The parent window.</param>
        /// <returns><c>true</c> if the command was modified; otherwise <c>false</c>.</returns>
        public override bool Edit(IWin32Window parent)
        {
            EditPopup edit = new EditPopup(Parameters);

            if (edit.ShowDialog(parent) == DialogResult.OK)
            {
                Parameters = edit.Parameters;
                return(true);
            }

            return(false);
        }
Ejemplo n.º 2
0
    /// <summary>
    /// Edit this command.
    /// </summary>
    /// <param name="parent">The parent window.</param>
    /// <returns><c>true</c> if the command was modified; otherwise <c>false</c>.</returns>
    public override bool Edit(IWin32Window parent)
    {
      EditPopup edit = new EditPopup(Parameters);
      if (edit.ShowDialog(parent) == DialogResult.OK)
      {
        Parameters = edit.Parameters;
        return true;
      }

      return false;
    }