protected void shfInitializer()
        {
            // 初始化默认登录数据----需要初始化成为默认用户状态。
            shfUser      = shfUsers.GetUserById(1);         //设为默认用户。
            shfUserLogin = shfUserLogins.GetOneByUserID(1); //设为默认用户登录。

            shfUserLogin.LoginNumber++;
            shfUserLogin.LoginProgramID = this.myProgramID; //本程序标识
            shfUserLogin.LoginUnitID    = 0;                //主界面
            shfUserLogin.LastDateTime   = shfUserLogin.ThisDateTime;
            shfUserLogin.ThisDateTime   = DateTime.Now;

            shfUserLogins.UpdateOne(shfUserLogin);
        }
 private void EGLPABC082_SetEmail_Load(object sender, EventArgs e)
 {
     try
     {
         btSHFUsers users = new btSHFUsers();
         btSHFUser  user  = users.GetUserByRegistName(callMeLog.UserName);
         nameBox.Text = user.RegistEmail;
         passBox.Text = user.UserPassword;
         pop3Box.Text = "pop.gmail.com";
         smtpBox.Text = "smtp.gmail.com";
     }
     catch
     {
     }
 }
        protected void shfInitializer()
        {
            // 初始化默认登录数据----需要初始化成为默认用户状态。
            shfUser = shfUsers.GetUserById(1);//设为默认用户。
            shfUserLogin = shfUserLogins.GetOneByUserID(1);//设为默认用户登录。

            //shfUserLogin.LoginProgramID = shfUser.ProgramID; // 设置程序标识
            shfUserLogin.LoginNumber++;
            shfUserLogin.LoginProgramID = this.myProgramID;//本程序标识
            shfUserLogin.LoginUnitID = 0; //主界面
            shfUserLogin.LastDateTime = shfUserLogin.ThisDateTime;
            shfUserLogin.ThisDateTime = DateTime.Now;

            shfUserLogins.UpdateOne(shfUserLogin);
        }