public override bool Equals(object obj)
        {
            SimpleServerItem item2 = obj as SimpleServerItem;

            if (item2 == null)
            {
                return(false);
            }
            return(ServerName == item2.ServerName && ServerIpAndPort == item2.ServerIpAndPort);
        }
        public void LoadFromSettings()
        {
            SimpleServerItem initialServer = null;

            try
            {
                UseDecal      = Properties.Settings.Default.InjectDecal;
                ShowPassword  = Properties.Settings.Default.ShowPassword;
                AccountName   = Properties.Settings.Default.SimpleLaunch_Username;
                Password      = Properties.Settings.Default.SimpleLaunch_Password;
                initialServer = _servers.SourceCollection.OfType <SimpleServerItem>().FirstOrDefault(
                    x => x.GetHashCode() == Properties.Settings.Default.SimpleLaunch_ServerHashCode);
            }
            catch
            {
            }
            SelectedServer = initialServer;
        }