예제 #1
0
 private void kryptonCheckBox1_Click(object sender, EventArgs e)
 {
     if (ckbCompleto.Checked)
     {
         this.Visible = false;
         FormSenhaSped frm = new FormSenhaSped();
         frm.ShowDialog();
         if (frm.bSenhaValida)
         {
             configConnectionFirebirdSpedContabil.Visible = ckbCompleto.Checked;
             configConnectionContmatic.Visible            = ckbCompleto.Checked;
         }
         else
         {
             ckbCompleto.Checked = false;
         }
         this.Visible = true;
     }
     else
     {
         configConnectionFirebirdSpedContabil.Visible = ckbCompleto.Checked;
         configConnectionContmatic.Visible            = ckbCompleto.Checked;
     }
 }
예제 #2
0
 private void kryptonCheckBox1_Click(object sender, EventArgs e)
 {
     if (ckbCompleto.Checked)
     {
         this.Visible = false;
         FormSenhaSped frm = new FormSenhaSped();
         frm.ShowDialog();
         if (frm.bSenhaValida)
         {
             configConnectionFirebirdSpedContabil.Visible = ckbCompleto.Checked;
             configConnectionContmatic.Visible = ckbCompleto.Checked;
         }
         else
         {
             ckbCompleto.Checked = false;
         }
         this.Visible = true;
     }
     else
     {
         configConnectionFirebirdSpedContabil.Visible = ckbCompleto.Checked;
         configConnectionContmatic.Visible = ckbCompleto.Checked;
     }
 }