private void ListBox1_Click(object sender, EventArgs e)
{
if (listBox1.SelectedItem != null)
{
var myConrol = new UserControl1();
panel3.Controls.Add(myConrol );
}
}