using System.Windows.Forms; using System.ComponentModel; using System.ComponentModel.Design; [Designer("System.Windows.Forms.Design.ParentControlDesigner,System.Design", typeof(IDesigner))] public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); } }
[Designer("System.Windows.Forms.Design.ParentControlDesigner,System.Design", typeof(IDesigner))]
이 Attribute를 이용하면 끝.