예제 #1
0
        //权限用户设置
        private void BtnUserSet_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            this.mainPanel.Controls.Clear();
            //OperatSetting operate = new OperatSetting();
            //operate.Dock = DockStyle.Fill;
            //this.mainPanel.Controls.Add(operate);

            SettingControl settingForm = new SettingControl();

            settingForm.Dock = DockStyle.Fill;
            this.mainPanel.Controls.Add(settingForm);
        }
예제 #2
0
        //系统设置
        private void BtnSetting_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            SettingControl settingForm = new SettingControl();

            settingForm.Show();
        }