duheng
2024-06-21 b2d4a55167e47bd7d42686670ae2555540b3de3e
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;
        }
    }
}