lixiaojun
2024-12-10 2243566596bc1cf47fc81e4390e4ca459d90fcc5
1
2
3
4
5
6
7
8
9
10
11
12
13
using DevExpress.XtraEditors;
 
namespace ISupply.WinFrmUI
{
    public static class ListBoxControlExtend
    {
        public static void InitialDefaultSettings(this ListBoxControl listBox, int ItemHeight = 25)
        {
            listBox.ShowFocusRect = false;
            listBox.ItemHeight = ItemHeight;
        }
    }
}