I got the following method in my MDIparent1
public void Disablebutton()
{
toolStripButton1.Enabled = false;
}
In my LoginForm OKButton click
MDIParent1 f1 = new MDIParent1();
f1.Disablebutton();
this.Close();
The LoginForm is Modal of MDIparent1.
Problem is the Disablebutton() don't works in LoginForm