To reproduce: add a RadForm and start the application.
Workaround:
public partial class Form1 : RadForm
{
public Form1()
{
InitializeComponent();
}
protected override void OnLoad(Size desiredSize)
{
this.ElementTree.InitializeRootElement();
this.RootElement.ApplyShapeToControl = false;
base.OnLoad(desiredSize);
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.RootElement.ApplyShapeToControl = true;
}
}
As I advised on the other comment of yours, it will be best to contact our support team to discuss your issue. Thank you.
I am having this problem too. I was tasked with updating an old enterprise application because it was hanging on windows 10 and would eventually crash. I found it was do to this line in the design.cs files this.RootElement.ApplyShapeToControl = true; if I comment out the line in the design file it will work however, you can not make any changes to the form or it is overridden(and rightly so).