I have i problem with a combobox value. The name
string variable return nothing, but when I check (name != ""), return true.
private void ReftreshComboBox()
{
comboBoxAlbums.Items.Clear();
foreach (KeyValuePair<string, string> kvp in mysql.GetAlbums())
{
comboBoxAlbums.Items.Add(kvp.Value.ToString());
}
}
this.name = comboBoxAlbums.SelectedItem.ToString();