public void SaveAutoLogon(bool autoLogon) { Properties.Settings.Default.AutoLogon = autoLogon; Properties.Settings.Default.Save(); }