c# - How to create new components in Visual Studio 2010 -



c# - How to create new components in Visual Studio 2010 -

can tell me how create new visual component .net 4.0 in visual studio 2010, have book component creation in russian language (pavel agurov -razrabotka komponentov v ms visual studio 2005/2008), methods in book covers vs 2005 , 2008. , methods gives errors in vs 2010.

edit: there code

public partial class excombobox : combobox { /*public excombobox() { initializecomponent(); }*/ private system.collections.specialized.stringcollection _itemvalues = new system.collections.specialized.stringcollection(); [designerserializationvisibility(designerserializationvisibility.content)] [editor("system.windows.forms.design.stringcollectioneditor,system.editor","system.drawing.design.uitypeeditor,system.drawing")] public system.collections.specialized.stringcollection itemvalues { { homecoming _itemvalues; } set { _itemvalues = value; } } public object selecteditemvalue { { homecoming _itemvalues[selectedindex]; } } }

and when seek add together component new form , add together values itemvalues says constructor on type 'system.string' not found.

create windows application , go add together new item menu right clicking on project in solution explorer , can see there component afair.

c# visual-studio-2010 user-controls

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -