Advertisement
Guest User

Untitled

a guest
Feb 26th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. private void reset_Click(object sender, EventArgs e)
  2. {
  3. Properties.Settings.Default.Username = "admin"; //ustanowienie dostepu i przypisanie mu nowej wartosci uzytkownika
  4.  
  5. Properties.Settings.Default.Password = "admin1"; // ustanowienie dostepu i przypisanie mu nowej wartosci hasla
  6. Properties.Settings.Default.Save(); // utrwalenie zmian miedzy formularzami aplikacji metoda Save
  7. MessageBox.Show("Haslo zresetowane do ustawien domyslnych"); //komunikat o zresetowaniu ustawien
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement