1
yhj
2024-07-24 5e5d945e91568b973faa27d8ab0bcef99fc4a6c5
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);
        }
    }
}