Exemple #1
0
        private void btnrecettemois_Click(object sender, RoutedEventArgs e)
        {
            Bolero.Layouts.recettemois r = new Bolero.Layouts.recettemois();

            DataSet DSreport = new DSreport();

            DSreport.Reset();

            r.Show();
        }
Exemple #2
0
        private void Fact_Click(object sender, RoutedEventArgs e)
        {
            Commande cm1 = (Commande)dataGrid.SelectedValue;
            int      id  = cm1.IdCommande;


            DataSet DSreport = new DSreport();

            DSreport.Reset();

            TK_et_FK ne = new TK_et_FK(id);

            ne.ShowDialog();
        }
Exemple #3
0
        private void Fact_Click(object sender, RoutedEventArgs e)
        {
            Commande cm1 = (Commande)dataGrid.SelectedValue;
            int      id  = cm1.IdCommande;

            //MessageBox.Show(""+id);
            Bolero.Layouts.TK_et_FK tk = new Bolero.Layouts.TK_et_FK(id);

            DataSet DSreport = new DSreport();

            DSreport.Reset();

            tk.Show();
        }
Exemple #4
0
        private void btnpayer_Click(object sender, RoutedEventArgs e)
        {
            Layouts.TK_et_FK t = new TK_et_FK(id);

            t.Show();
            this.Close();
            Commande c = new Commande();

            DAL.CommandeDAO daoc = new DAL.CommandeDAO();

            c = daoc.getById(id);

            DataSet DSreport = new DSreport();

            DSreport.Reset();
            List <Commande> lstCom = new List <Commande>();

            lstCom = daoc.getAll();
            g.dataGrid.DataContext = lstCom;
            g.PerformRefresh();
        }