Beispiel #1
0
        private void GetUserConfig()
        {
            string name = cBName.Text.Trim();

            if (name != ucfg.UserName && name != "")
            {
                ucfg = wapp.SysConfig.GetUserConfig(name);
                LoadUserConfig();
            }
        }
Beispiel #2
0
        private void FormLogin_Load(object sender, EventArgs e)
        {
            WinOften.AnimateWindow(this.Handle, 500, 16);
            //设置主窗口关闭按钮不可用
            int hMenu = WinOften.GetSystemMenu(this.Handle.ToInt32(), 0);

            WinOften.RemoveMenu(hMenu, 0xF060, 0x1000);
            ucfg = wapp.SysConfig.GetUserConfig();
            LoadUserConfig();
            LoadLists();
        }