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