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