public Login() { InitializeComponent(); var user = LoginInformation.GetLastUser(); if (user == null) { return; } TryToLogin(user); }