啊鑫
2024-07-09 0552fcc8cb73fc3021e2915129f55a42ed3f20e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#region
 
using System;
using CSFrameworkV5.Core;
using CSFrameworkV5.Interfaces;
using CSFrameworkV5.Library;
using CSFrameworkV5.Library.CommonClass;
 
#endregion
 
namespace CSFrameworkV5.GSTEST {
    public partial class frmGSTESTMain : frmBaseModule {
        public frmGSTESTMain() {
            InitializeComponent();
            _ModuleID = (int)Interfaces.ModuleID.GSTEST; //设置模块编号
            _ModuleName = ModuleNames.GSTEST; //设置模块名称
            menuStripMain.Text = ModuleNames.GSTEST; //与AssemblyModuleEntry.ModuleName定义相同
            MainMenuStrip = menuStripMain;
            SetMenuTag();
            SetMenuButtonRelations();
            //this.ShowVersion(lbVersion, Globals.SystemManage);
            //this.SetLanguage();
            Text = "广深测试";
        }
 
        private void btnUser_Click(object sender, EventArgs e) {
            MdiTools.OpenChildForm(MdiParent as IMdiForm, typeof(Frmtest), menuItemUserMgr);
        }
 
        private void SetMenuButtonRelations() {
            AddToMapControl(menuItemUserMgr, btnUser);
        }
 
        private void SetMenuTag() {
            menuGSTEST.Tag =
                new MenuItemTag(MenuType.ItemOwner, (int)Interfaces.ModuleID.GSTEST, AuthorityCategory.NONE);
        }
 
        private void simpleButton1_Click(object sender, EventArgs e) {
            MdiTools.OpenChildForm(MdiParent as IMdiForm, typeof(FrmtestT), menuItemUserMgr);
        }
 
        private void simpleButton2_Click(object sender, EventArgs e) {
            MdiTools.OpenChildForm(MdiParent as IMdiForm, typeof(Frm2), menuItemUserMgr);
        }
    }
}