here is the idea of the code used to demo this bug.
create a new class
public partial class MainForm : Applications.UI.ShadowForm
{
//in here create another class
ChildClass cClass = new ChildClass()
//link the parent object to the child class
cClass._parent = this.
//in the InitializeComponent tell it to hide the max button
....
this.MaximizeBox = false;
....
//tell the application to show you child class
cClass.Show()
}
in the cClass modifiy the parent MaximizeBox to true
Result the box does not display untill you resize the parent. forcing it to re-draw.
create a new class
public partial class MainForm : Applications.UI.ShadowForm
{
//in here create another class
ChildClass cClass = new ChildClass()
//link the parent object to the child class
cClass._parent = this.
//in the InitializeComponent tell it to hide the max button
....
this.MaximizeBox = false;
....
//tell the application to show you child class
cClass.Show()
}
in the cClass modifiy the parent MaximizeBox to true
Result the box does not display untill you resize the parent. forcing it to re-draw.