Ejemplo n.º 1
0
        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();
        }