예제 #1
0
 //Génration des prefacs
 private void Button2_Click(object sender, EventArgs e)
 {
     toolStripStatusLabel1.Text = "Génération des préfacs en cours...";
     toolStripStatusLabel1.Text = GestionPrefac.GenererPrefac(comboBox3.Text, comboBox1.Text, comboBox1.SelectedIndex + 1);
     toolStripStatusLabel1.Text = GestionPrefac.ZipPrefac(comboBox1.Text, comboBox3.Text);
     if (GestionINIParam.Envoiemailprefac)
     {
         toolStripStatusLabel1.Text = GestionPrefac.EnvoiParMail(comboBox1.Text, comboBox3.Text, "*****@*****.**");
     }
 }
예제 #2
0
 private void button10_Click(object sender, EventArgs e)
 {
     MessageBox.Show(GestionPrefac.EnvoiParMail(comboBox1.Text, comboBox3.Text, "*****@*****.**"));
 }