Nima_DK

How to make a UserControl object acts as a control container design-time by using Visual C# .NET or Visual C# 2005

Is there anybody who knows how this can be done

Thanks in advanced,

- Nima



Re: Smart Devices VB and C# Projects How to make a UserControl object acts as a control container design-time by using Visual C# .NET or Visual C# 2005

Dinesh Jayadevan

Hello Nima,

You have to add [Designer ("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof (IDesigner))] attribute to your User Control class to have it support design-time level features.

You can refer to http://support.microsoft.com/kb/813450 for more details.

Regards,

Dinesh






Re: Smart Devices VB and C# Projects How to make a UserControl object acts as a control container design-time by using Visual C# .NET or Visual C# 2005

Nima_DK

Hi Dinesh.

Thank you for the answer, but I don't think that the attribute is a part of the .Net Compact Framework 2.0 :-(

So do you have another idea

Regards, Nima





Re: Smart Devices VB and C# Projects How to make a UserControl object acts as a control container design-time by using Visual C# .NET or Visual C# 2005

Ilya Tumanov

See this.