private void FillListBox() { //listBox1.DataSource = blc.GetAdminList().ToList(); listBox1.DataSource = blc.GetAdminLst(); //listBox1.SelectedIndex = -1; }
private void FillListBox() { //listBox1.DataSource = blc.GetAdminList().ToList(); listBox1.DataSource = blc.GetAdminLst(); //listBox1.SelectedIndex = -1; }