Exemple #1
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            _storedCredentials = _credentials; //save the working credentials over the top of the stored ones
            _credentialsPersistence.Save(_credentials);

            this.Close();
        }
Exemple #2
0
 public void Save()
 {
     _peristence.Save(_credentials);
 }