thanks for your answers,
using an enumeration, works fine.
But by using them i run into another problem. The name of enumerations
entrys which is also the name of the resolution in the combobox can not start
with a number. So i can not name the resolution like "567X460".
I could rename all entries so that they will start with a character, but if
there is any other solution without renaming it would be more suitable for me.
Thank you
David
"Carsten Unterberg" wrote:
> Hi David,
>
> that is very easy, just use a enumeration for all available resolutions. if
> you let the user set up the resultion via a property, Visual Studio gives
> him a combobox to select the right resolution.
>
> Feel free to ask me, if you might have any questions.
>
> Best regards
>
> Carsten Unterberg | Test-Framework
> http://test-framework.blogspot.com/
>
> "David Diefenbach" <David (E-Mail Removed)> schrieb im
> Newsbeitrag news:602C30AD-AC3C-4022-9DF5-(E-Mail Removed)...
> > Hi,
> >
> > I'm building a costum control for a Windows CE Camera Driver. I have
> > integrated this control in to the toolbox, and also defined some
> > additional
> > parameters in the DesignTimeAttributs.xmta file.
> >
> > I now want to extend this toolbox-item by an additional parameter which
> > holds the current resolution of the CameraOutput window. In my
> > control-application i have created a string array with all available
> > resolutions.
> >
> > The user should now see a combobox in the toolbox-item properties where he
> > can select one of the available resolutions. But i have found no
> > information
> > how i can populate these infomation as a combobox and then save the user
> > selected value.
> >
>
>
>