Question: I've upgrade my joomla version 1.5.26 to joomla version 2.5.4 and all the things has been upgraded successfully. So when i goes into my joomla module manager admin panel then it is not showing me any kinds of modules which was previously visible in my old version(1.5.26) but in my frontend panel it can be seen easily.Does anyone knows the solution how to fix it?

Answer: 
You can get the index of ComboBox this way:

```
private void cbxSelectShape_SelectedValueChanged(object sender, EventArgs e)
    {
       var id= ((ComboBox)sender).SelectedIndex;
    }

```
You should use [SelectedValue](http://msdn.microsoft.com/en-us/library/system.windows.forms.listcontrol.selectedvalue.aspx) property of combobox to get value, associated with [ValueMember](http://msdn.microsoft.com/en-us/library/system.windows.forms.listcontrol.valuemember.aspx) (*ShapeID* in your case):

```
var id = ((ComboBox)sender).SelectedValue;

```

[SelectedIndex](http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.selectedindex.aspx) returns index of item selected in combobox. Also if this handler used for one combobox, you don't need to cast sender - simply use your combobox variable:

```
var id = cbxSelectShape.SelectedValue;

```