Exemplo n.º 1
0
 private void yearCombo_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (rbtnLivre.Checked == true)
     {
         if (aticleCombo.Text != "" && monthCombo.Text != "")
         {
             Sortie_Livre_Caisse_Article(dn.retourCode(aticleCombo.Text), monthCombo.Text, yearCombo.Text);
         }
     }
     else if (rbtnFiche.Checked == true)
     {
         if (aticleCombo.Text != "" && monthCombo.Text != "")
         {
             Sortie_Fiche_Stock_Article(dn.retourCode(aticleCombo.Text), monthCombo.Text, yearCombo.Text);
         }
     }
     else if (rbtnBilan.Checked == true)
     {
         if (yearCombo.Text != "" && monthCombo.Text != "")
         {
             Sortie_Bilan_Mensuelle(monthCombo.Text, yearCombo.Text);
         }
     }
 }