Esempio n. 1
0
 /// <summary>
 /// <para>Raises the <see cref="MenuItem.Click"/> event and executes the <see cref="ConfigurationNodeCommand"/>.</para>
 /// </summary>
 /// <param name="e">
 /// <para>An <see cref="EventArgs"/> that contains the event data.</para>
 /// </param>
 protected override void OnClick(EventArgs e)
 {
     using (new WaitCursor())
     {
         base.OnClick(e);
         command.Execute(node);
     }
 }
 /// <summary>
 /// Executes the command.
 /// </summary>
 /// <param name="node">The node to execute the command.</param>
 public void Execute(ConfigurationNode node)
 {
     command.Execute(node);
 }