Hello!
I'd like to ask for some help. I have the following code:
private void Combobox1_SelectedIndexChanged(object sender, EventArgs e)
{
runstylize(lCombobox1, leftborderstyle, "left");
}
public void getborderstyle(ComboBox x, string y, string z)
{
y = z+"-was set to:" + x.SelectedItem.ToString() ;
change();
}
My question is: why is the string "leftborderstyle" (which become y in my logic) hasn't got any value after the proccess? It is a public string, defined in the initializecomponent section. What should I do to set y's value to it?
Thanks in advance!