private void commandsample_CheckedChanged(object sender, EventArgs e)
{
if (commandsample.Checked)
{
SuspendLayout();
if (componentVisualName.Text == "Name")
componentVisualName.Text = "Archimedean spiral";
componentnickname.Text = "ASpi";
if (componentCategory.Text == "Category")
componentCategory.Text = "Curve";
if (componentSubcategory.Text == "Subcategory")
componentSubcategory.Text = "Primitive";
componentDescription.Text = "Construct an Archimedean, or arithmetic, spiral given its radii and number of turns.";
componentDescription.Enabled = false;
ResumeLayout(true);
}
else
{
componentDescription.Enabled = true;
}
}