Hi, I am new in C# and learning. Can you please help me capture the object save in combobox.
I populated the comboxbox using this class
public class ItemValue
{
private string m_Display;
private long m_Value;
public ItemValue(string Display, long Value)
{
m_Display = Display;
m_Value = Value;
}
public string Display
{
get{return m_Display;}
}
public long Value
{
get{return m_Value;}
}
}
now in SelectedIndexChanged, how would I get capture the selected value/display?
private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
Maraming salamat po!