checkedListBox是不支持多选的:

可将该模式设置为一项或没有任何项。

http://msdn.microsoft.com/zh-cn/library/system.windows.forms.checkedlistbox.selectionmode.aspx

linkLabel:

private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
      //连接到网页
      System.Diagnostics.Process.Start("http://www.uworks.cn");
     
      //连接到新窗口
      Form f2 = new Form();
      f2.Show();
      linkLabel1.LinkVisited = true;
}

comboBox:

//绑定
comboBox1.DataSource = dt; comboBox1.DisplayMember = "BILL_ID"; comboBox1.ValueMember = "SELFID";

comboBox1.SelectedItem:当前选择中的第一个项

comboBox1.SelectedText:comboBox1.DisplayMember的值

comboBox1.SelectedValue:comboBox1.ValueMember的值,如果没设置就会报错

相关文章:

  • 2021-12-14
  • 2022-02-24
  • 2021-12-23
  • 2021-11-26
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
相关资源
相似解决方案