Пример #1
0
        private void rbSimSERV_CheckedChanged(object sender, EventArgs e)
        {
            dalConfig conf = new dalConfig();

            if (rbSimSERV.Checked)
            {
                conf.atuConfig("SERV", "S");
            }
            else
            {
                conf.atuConfig("SERV", "N");
            }
        }
Пример #2
0
 private void atualizaTaxas(string TaxaC, string TaxaD)
 {
     try
     {
         dalConfig conf = new dalConfig();
         conf.atuConfig("TaxaC", TaxaC);
         conf.atuConfig("TaxaD", TaxaD);
         MessageBox.Show("Taxas atualizadas com sucesso", "Atualizar taxas", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     catch (Exception)
     {
         throw;
     }
 }
Пример #3
0
 private void atualizaDescDiario(string Domingo, string Segunda, string Terca, string Quarta, string Quinta, string Sexta, string Sabado)
 {
     try
     {
         dalConfig conf = new dalConfig();
         conf.atuConfig("Sunday", Domingo);
         conf.atuConfig("Monday", Segunda);
         conf.atuConfig("Tuesday", Terca);
         conf.atuConfig("Wednesday", Quarta);
         conf.atuConfig("Thursday", Quinta);
         conf.atuConfig("Friday", Sexta);
         conf.atuConfig("Saturday", Sabado);
         MessageBox.Show("Descontos diários atualizados com sucesso", "Atualizar descontos diários", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     catch (Exception)
     {
         throw;
     }
 }