public void init() { smService = SystemManageService.getInstance(); comboBoxEdit_type.Properties.Items.AddRange(smService.getTypes().ToArray()); //设置ComboBoxEdit下拉不可编辑 comboBoxEdit_type.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; comboBoxEdit_type.SelectedIndex = 0; }
public static SystemManageService getInstance() { if (systemManageService == null) { systemManageService = new SystemManageService(); } return(systemManageService); }
public SystemManageForm() { InitializeComponent(); smService = SystemManageService.getInstance(); comboBoxEdit_type.Properties.Items.AddRange(smService.getTypes().ToArray()); //设置ComboBoxEdit下拉不可编辑 comboBoxEdit_type.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; pageUpControl.MyControl = gridControl; pageUpControl.QueryService = smService; initData(formatWhere()); }
public static SystemManageService getInstance() { if (systemManageService == null) { systemManageService = new SystemManageService(); } return systemManageService; }