private void btnSave_Click(object sender, EventArgs e) { GlobalSettings gs = new GlobalSettings(); gs.LoadSettings(); gs.SetSettingValue("LicenseKey", tbLicenseKey.Text); gs.DeleteSettings(); gs.SaveSettings(); GlobalVariables.Log("Użytkownik zmienił kod licencyjny."); LoadLicenseStatus(); }