C# Question:Dynamically Disable ToolStripMenuItems/ToolStripButtons in an MDIParent Form: Which Even

Posted by RedEye on Stack Overflow See other posts from Stack Overflow or by RedEye
Published on 2010-04-27T19:49:36Z Indexed on 2010/04/27 19:53 UTC
Read the original article Hit count: 512

Any guidance on the following issue would be greatly appreciated. In which MDIParent event should I disable the items/buttons? Activated? On program Launch, I want the buttons disabled. If there are no active MDIChildren, I want the buttons disabled. When I launch a child form, I want to test that child form for data. If it is a blank form, I want the buttons to remain disabled. I currently have my code in the MdiChildActivated Event Handler. Thanks for your time.

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms