示例#1
0
文件: Engagement.cs 项目: gwupe/Gwupe
 void LogoutOccurred(object sender, LoginEventArgs e)
 {
     // Disconnect Tunnels
     //DisconnectTunnels();
 }
示例#2
0
 private void OnLoggingOut()
 {
     if (_appContext.IsShuttingDown) return;
     LoginEventArgs e = new LoginEventArgs { LoginState = LoginState.LoggingOut };
     LoginEvent handler = LoggingOut;
     if (handler != null) handler(this, e);
 }
示例#3
0
 /// <summary>
 /// Event called when we are logged out
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="loginEventArgs"></param>
 private void LoginManagerOnLoggedOut(object sender, LoginEventArgs loginEventArgs)
 {
     Reset();
 }
示例#4
0
文件: UIManager.cs 项目: gwupe/Gwupe
 private void LoginManagerOnLoggingIn(object sender, LoginEventArgs loginEventArgs)
 {
     if (GwupeClientAppContext.CurrentAppContext.IsShuttingDown) return;
     if (loginEventArgs.LoginState == LoginState.LoggingIn)
         dashBoard.LoggingIn();
 }