Hi All,

I tried to get all the buttons in the working form using the code below, however, i found all the buttons in the Tabcontrol is not included in this.Controls. So how can i access all controls in a form?

foreach (Control childControl in this.Controls )
{
if (childControl is Button)
{
childControl.Enabled = inStatus;
}
}


Thanks