public LoginAccount(string login, string name, int profileicon) : this() { try { ProfileIcon.Source = DataDragon.GetProfileIconImage(DataDragon.GetIconData(profileicon)).Load(); } catch { } NameLabel.Content = name; Username = login; State = LoginAccountState.Normal; }