private void btnAdd_Click(object sender, EventArgs e) { LightChooseType clt = new LightChooseType(); if (clt.ShowDialog() == DialogResult.OK) { this.listObjects.Items.Add(this.CreateInstance(clt.SelectedType)); } }