private void btnrecettemois_Click(object sender, RoutedEventArgs e) { Bolero.Layouts.recettemois r = new Bolero.Layouts.recettemois(); DataSet DSreport = new DSreport(); DSreport.Reset(); r.Show(); }
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(); }
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(); }
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(); }