示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     userRef = new UserReference.UserClient();
     user    = new UserReference.TUser();
     if (Session["user"] != null)
     {
         UserLabel.Visible   = false;
         UserBox.Visible     = false;
         PassLabel.Visible   = false;
         PasswordBox.Visible = false;
         LoginButton.Visible = false;
         LoginStatus.Text    = "You are already logged in";
         Logout.Visible      = true;
     }
     else
     {
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     userRef = new UserReference.UserClient();
     newUser = new UserReference.TUser();
 }