ningshuxia
2025-04-16 ed113213fc94c3d9886ea08dfddd09d08d9ba7d5
1
2
3
4
5
6
7
8
9
10
11
12
13
using DevExpress.XtraEditors;
 
namespace IStation.Win
{
    public static class ListBoxControlExtend
    {
        public static void InitialDefaultSettings(this ListBoxControl listBox, int ItemHeight = 25)
        {
            listBox.ShowFocusRect = false;
            listBox.ItemHeight = ItemHeight;
        }
    }
}