示例#1
0
 /// <summary>
 ///     Выход из системы.
 /// </summary>
 public void LogOut(Workstation workstation)
 {
     Status = UserStatus.LoggingOut;
     workstation.LogOut();
 }
示例#2
0
 /// <summary>
 ///     Вход в систему.
 /// </summary>
 /// <param name="workstation">Рабочая станция.</param>
 public void LogIn(Workstation workstation)
 {
     Status = UserStatus.LoggingIn;
     workstation.LogIn(this);
 }