/// <summary>
        /// Handles the Click event of the showDocumentation control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void showDocumentation_Click(object sender, EventArgs e)
        {
            ComponentModelMetadata   item = GetSelectedData();
            ShowDocumentationCommand cmd  = new ShowDocumentationCommand(item);

            if (cmd.Enabled)
            {
                cmd.Exec();
            }
        }
Exemple #2
0
        protected void OnShowDocumentation(object sender, EventArgs e)
        {
            ShowDocumentationCommand cmd = new ShowDocumentationCommand(SingleSelection);

            cmd.Exec();
        }