void CAddContactButton_Click(object sender, RoutedEventArgs e) { AddContactItem aci = new AddContactItem(); aci.Width = 450; aci.KeyDown += aci_KeyDown; this.XPersonalListBox.Items.Insert(this.XPersonalListBox.Items.Count-1,aci); }