示例#1
0
		public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider,
			object value)
		{
			var frm = new ComponentCollectionEditorForm((IList)value);
			frm.ShowDialog();
			return frm.Collection;
		}
示例#2
0
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider,
                                         object value)
        {
            var frm = new ComponentCollectionEditorForm((IList)value);

            frm.ShowDialog();
            return(frm.Collection);
        }