Hi,
This could be the reason your Form control/User Control is typed
or
there might be any issue with control being as null, when opening in designer mode
YOu can add a code like
#if true
public class form : Form
{
}
#else
#endif
If you are seeing object null error, In constructor you can add a condition
protected bool IsInDesignMode
{
get
{
return this.GetService(typeof(System.ComponentModel.Design.IDesignerHost)) != null;
}
}