public Dialog() { this.baseService = new BaseService(); this.baseService.Url = "https://10.196.4.114/base/15"; this.readers = baseService.getCardReaders(); this.reader = readers[0]; this.myInfo = new produktInfo(); this.myInfo.produktId = 900101; this.myInfo.produktVersion = "0.0.1"; this.myInfo.produktIdSpecified = true; }
private void frmMain_Load(object sender, EventArgs e) { this.MenuList = SysUserMgr.GetPower(_loginname); //得到登录用户的权限(可执行的操作) this.initMenu(); //加载菜单 this.initToolBar(); //加载资产管理的工具栏 this.InitDbgEq(); //加载资产表 this.BuilTree(); //加载树 this.tvwEqSeach.Nodes[0].Expand(); //展开树的第一层节点 this.InitStatusInfo(); //加载状态栏 TotalPage = this.getTotalPage(); //得到数据的总页数 this.lblTotalpage.Text = "共" + TotalPage.ToString() + "页"; cardR = new cardReader(); }