Пример #1
0
        private void 用户管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            List <ConfigEntity> ces   = ConfigLogic.GetConfigs(configs, a => a.configtype == TopFashion.Configs.StaffStatus);
            UserForm            uForm = new UserForm(archit.Users, archit.Deps, ces);

            AddTabPage("用户管理", uForm);
        }
Пример #2
0
 public static ConfigLogic GetInstance()
 {
     sqlHelper = new SQLDBHelper(); if (Config == null)
     {
         lock (lockObj)
         {
             if (Config == null)
             {
                 Config = new ConfigLogic();
             }
         }
     }
     return(Config);
 }