private void BtLogin_Click(object sender, EventArgs e) { using (LoginForm loginForm = new LoginForm()) { DialogResult result = loginForm.ShowDialog(); if (result == DialogResult.OK) { this.m_BtLogin.Enabled = false; this.m_BtUpdate.Enabled = true; this.m_LbUser.Text = "First name Last Name"; m_SessionInfo = new SessionInfo(loginForm.AccessToken, loginForm.UserId); } } }
public DataMiner(SessionInfo sessionInfo) { m_SessionInfo = sessionInfo; }
public PhotosWrapper(SessionInfo session) { m_SessionInfo = session; }
public UsersWrapper(SessionInfo session) { m_SessionInfo = session; }