Example #1
0
        public System.Windows.Forms.Control CreateControl(clsLogin login, string MenuID, string Paramters)
        {
            Pubvar.ConnString = login.GetLoginInfo().ConnString.ToString();
            Pubvar.UserId     = login.GetLoginInfo().UserName.ToString();
            Pubvar.userToken  = login.userToken.ToString();
            Pubvar.accid      = login.GetLoginInfo().AccID.ToString();

            //初始化自定义用户控件对象
            bestglimportusercontrol = new ImportGLVoucher();

            return(bestglimportusercontrol);
        }