ningshuxia
2023-05-06 657c344695223f01bade2776803f719673232f81
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.WinFormUI
{
    public static class ListBoxControlExtend
    {
        public static void InitialDefaultSettings(this ListBoxControl listBox,int ItemHeight=25)
        {
            listBox.ShowFocusRect = false;
            listBox.ItemHeight = ItemHeight;
        }
    }
}