Beispiel #1
0
        protected void btnGuardarConfigNegocio_Click(object sender, EventArgs e)
        {
            Data2.Class.Struct_UserConfig UC = Data2.Class.Struct_UserConfig.getUserConfig(UserId);
            if (UC == null)
            {
                UC = new Struct_UserConfig();
            }

            UC.FacturaPorDefecto  = cmb_FacturaPorDefecto.SelectedValue;
            UC.NombreNegocio      = txt_NombreNegocio.Text;
            UC.MostrarLogoNegocio = chk_MostrarLogoNegocio.Checked;
            UC.PIN           = "";
            UC.MostrarKiosco = chk_HabilitarKiosco.Checked;
            UC.Guardar(UserId);
        }