public void SaveInfo() { //saves current connection into savedConnections. if (savedConnections == null) { savedConnections = new SavedConnectionHandler(); } savedConnections.SaveConnection(this); }
public bool LogOnSaved() { savedConnections = new SavedConnectionHandler(); if (savedConnections.ReadAll()) { return(savedConnections.Connect(this)); } else { return(false); } }