المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to write the design editor?



C# Programming
03-27-2010, 07:30 PM
I want to write a use control named Notebook just as TableControl.
When desigining, user draws one user control, Notebook to one form and can use the property of the Notebook to edit the Pages in this Notebook. How do I to write this property design?

I write a class PageEditor inherited from System.Drawing.Design.UITypeEditor,
But I do not know which method needed to override? and what needed to do in the override method?

Can anyone help me? :(