public DemoItem(string name, string description, Type userControlType, IDemoItemOwner owner) { this.name = name; this.description = description; this.owner = owner; this.userControlType = userControlType; }
static public void AddItem(string name, string description, Type userControlType, IDemoItemOwner owner) { demos.Add(new DemoItem(name, description, userControlType, owner)); }