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 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());
        }