Пример #1
0
 public void SaveInfo()
 {
     //saves current connection into savedConnections.
     if (savedConnections == null)
     {
         savedConnections = new SavedConnectionHandler();
     }
     savedConnections.SaveConnection(this);
 }
Пример #2
0
 public bool LogOnSaved()
 {
     savedConnections = new SavedConnectionHandler();
     if (savedConnections.ReadAll())
     {
         return(savedConnections.Connect(this));
     }
     else
     {
         return(false);
     }
 }