Hi everybody,
In my form I have only two places where I try to change Menu.Enabled property.
This is one
private void tcOrders_SelectedIndexChanged(object sender, EventArgs e)
{
this.SearchMenuItem.Enabled = (this.tcOrders.SelectedIndex == this.tcOrders.TabPages.IndexOf(tabSearch));
and another one in the form's Constructor where I set it to true. In design time it is set to true as well. Yet the form comes with this menu disabled and I could not find where does it change.
Do you have ideas how can I figure this out?
Thanks.
If it's not broken, fix it until it is.
My Blog