protected override void OnAddPropertyPages(PropertyPageCollection propertyPageCollection) { if (_hasKeyValuePropertyPage) { Add_KeyValue_PropertyPage add_KeyValue_PropertyPage = new Add_KeyValue_PropertyPage(base.DisplayName); add_KeyValue_PropertyPage.KeyValueAdded += new EventHandler(propertyPage_KeyValueAdded); propertyPageCollection.Add(add_KeyValue_PropertyPage); } }
public Add_KeyValue_PropertiesControl(Add_KeyValue_PropertyPage parentPropertyPage) { this.InitializeComponent(); this.add_KeyValue_PropertyPage = parentPropertyPage; }