示例#1
0
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            ShellItemBrowseForm f = new ShellItemBrowseForm();

            if (f.ShowDialog() == DialogResult.OK)
            {
                return f.SelectedItem;
            }

            return value;
        }
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            ShellItemBrowseForm f = new ShellItemBrowseForm();

            if (f.ShowDialog() == DialogResult.OK)
            {
                return(f.SelectedItem);
            }

            return(value);
        }