Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        public static SystemManageService getInstance()
        {
            if (systemManageService == null)
            {
                systemManageService = new SystemManageService();
            }

            return(systemManageService);
        }
Exemplo n.º 3
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());
        }
Exemplo n.º 4
0
        public static SystemManageService getInstance()
        {
            if (systemManageService == null)
            {
                systemManageService = new SystemManageService();
            }

            return systemManageService;
        }