i wrote a code to enable users add item to listBox clears the items from the textBox1 and ComboBox1.But wen i real click without inputing any thing,the textBox1 gives space in the listBox and the ComboBox1 add the previous item that was selected when not as been selected.
}
if (ComboBox1->Empty & textBox1->Empty==true)
Message->Show("Error");
but am getting errors