0
Reply

Customizing .NET Collection Editor

xironix

xironix

May 7 2005 1:01 AM
3.6k
Hi every body I Wrote a calendar class that have a collection of holidays as an ArrayList. This collection is a property of my custom control that I want Add some objects of Holiday class to it at design time.I want to customize the .NET collection editor to add my Holiday class instances instead of object type.Please help me. My holiday class is very simple as follow : public class Holiday { private int month; private int day; private string reason; public Holiday(int month,int day,int reason) {...} //Properties public int Month {...} public int Day {...} public string Reason {...} } I read some articles is code project but they were very complicated.Please give me one simple tutorial link if you can.