Hi,
I am trying to use, public class FileNameConvert er : StringConverter
for creating a dropdown list within my dynamic property grid. Thus I
have the methods GetStandardValu esSupported, GetStandardValu es, and
GetStandardValu esExclusive.
My problem is , that my GetStandardValu es, needs to get values from a
database, whose name I need to pass from another class, how do I go
about doing that??
I would also need to pass 2 other parameters. And I am never calling
the class by its constructor.
The only time the class name gets passed is like this:
myProp = new PropertySpec(at tribute, typeof(string), category,
description, valueofattribut e,
typeof(System.D rawing.Design.U ITypeEditor),
typeof(FileName Converter));
where PropertySpec is my dynamic propertygrid class.
Please help.
Thanks alot!
I am trying to use, public class FileNameConvert er : StringConverter
for creating a dropdown list within my dynamic property grid. Thus I
have the methods GetStandardValu esSupported, GetStandardValu es, and
GetStandardValu esExclusive.
My problem is , that my GetStandardValu es, needs to get values from a
database, whose name I need to pass from another class, how do I go
about doing that??
I would also need to pass 2 other parameters. And I am never calling
the class by its constructor.
The only time the class name gets passed is like this:
myProp = new PropertySpec(at tribute, typeof(string), category,
description, valueofattribut e,
typeof(System.D rawing.Design.U ITypeEditor),
typeof(FileName Converter));
where PropertySpec is my dynamic propertygrid class.
Please help.
Thanks alot!