Advertisement
tankcr

Untitled

Jun 2nd, 2014
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. private void comboBox1_SelectionChangeCommitted(object sender, EventArgs e)
  2. {
  3. List<Computers> computerList = GetComputers.GetComputerNames(comboBox1.SelectedText, comboBox2.SelectedItem.ToString());
  4. listBox1.DisplayMember = "ComputerName";
  5. listBox1.DataSource = computerList;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement