Ok, I created a windows control project….dropped a comboBox on it, wrote some custom code that I wanted on its event ( Text Changed event, etc) … I can also compile it and drop it on a new WinForms App… good.
But in my sample WinForms app that I want to use it, I cannot access the properties of that combo box.. it does not list them .. properties like SelectedItems, etc…
what Am I doing wrong? this is my first time creating a custom control tho.
Thanks all
Ok, I could fix that by Inheriting from ComboBox instead of UserConntrol which was generated by the code.
so now I am moer confused! so If I had more than one control on that border-less area then how I refer to them in my projects?