private void ydDLvwReUA(object obj0, EventArgs obj1) { if (this.form.DialogResult != DialogResult.OK || BarFactoryItemListEditor.ListChanged == null) { return; } BarFactoryItemListEditor.ListChanged(this, EventArgs.Empty); }
protected override CollectionEditor.CollectionForm CreateCollectionForm() { this.form = base.CreateCollectionForm(); this.form.Closed += (sender, e) => { if (this.form.DialogResult != DialogResult.OK || BarFactoryItemListEditor.ListChanged == null) { return; } BarFactoryItemListEditor.ListChanged(this, EventArgs.Empty); }; return(this.form); }