private void Init() { Bll_Sys_Map mapInst = new Bll_Sys_Map(); Map = mapInst.GetModel(string.Format(" AND Map_Module='{0}' AND Map_Source='{0}'", "SmsTemplate")); Bll_Audit auditInst = new Bll_Audit(); TemlateKey = auditInst.GetTemplateModel(ModuleCode); GridHelper gen = new GridHelper(); uGridUser = gen.GenerateGrid("CList_VUser", this.panel1, new Point(6, 20)); var dt = adInstance.GetNextVerifyUser(AuditNode, SessionConfig.UserCode); uGridUser.DataSource = dt; uGridUser.DoubleClickRow += new DoubleClickRowEventHandler(uGridUser_DoubleClickRow); gen.SetGridReadOnly(uGridUser, true); gen.SetGridColumnStyle(uGridUser, AutoFitStyle.ResizeAllColumns); AddCustomCol(); }