Ejemplo n.º 1
0
        private void btnInvocation_Click(object sender, EventArgs e)
        {
            CrystalConvocation cc = new CrystalConvocation();

            cc.SetDataSource(badgeDataSet);
            cc.SetParameterValue("ch2", Application.StartupPath);
            string   filter = "{Groupe.IdGroupe} = " + (groupeComboBox.SelectedIndex + 1);
            Imprimer i      = new Imprimer(cc, filter);

            i.ShowDialog();
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            CrystalBadge1 cb = new CrystalBadge1();

            cb.SetDataSource(badgeDataSet);
            cb.SetParameterValue("ch", Application.StartupPath);
            string   filter = "{Groupe.IdGroupe} = " + (groupeComboBox.SelectedIndex + 1);
            Imprimer i      = new Imprimer(cb, filter);

            i.ShowDialog();
        }
Ejemplo n.º 3
0
        private void btnList_Click(object sender, EventArgs e)
        {
            string       semaine = Utils.getDaysOfWeek();
            CrystalListe cl      = new CrystalListe();

            cl.SetDataSource(badgeDataSet);
            cl.SetParameterValue("ch3", semaine);
            string   filter = "{Groupe.IdGroupe} = " + (groupeComboBox.SelectedIndex + 1);
            Imprimer i      = new Imprimer(cl, filter);

            i.ShowDialog();
        }