实现效果:

  对ListBox控件中的数据进行排序

知识运用:

  ListBox控件的Sorted属性  //ListBox控件中的数据项是否按字母顺序排序

  public bool Sorted{get;set;}

实现代码:

        private void button1_Click(object sender, EventArgs e)
        {
            listBox1.Sorted=true;
        }

 

相关文章:

  • 2022-12-23
  • 2021-07-07
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-12-25
  • 2022-12-23
  • 2022-01-26
相关资源
相似解决方案