string str = "";
if( !(listBox1.SelectedIndex>0))
{
MessageBox.Show("请选择需要发料的MC_ID");
return;
}
str = listBox1.SelectedItems[0].ToString();//获取选中的内容
MessageBox.Show(str);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-11-07
  • 2021-11-21
  • 2021-07-09
猜你喜欢
  • 2021-11-25
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2022-02-04
相关资源
相似解决方案