private void BtEnregistrer_Click(object sender, EventArgs e) { this.F6004BindingSource.EndEdit(); DBf6004BindingSource.EndEdit(); var F6004 = this.F6004BindingSource.Current as Model.F6004; if (F6004 != null) { _controller.Save(F6004.MF6004); } _CurrentF6004 = _controller.CurrentF6004(); DBf6004BindingSource.DataSource = _CurrentF6004; this.F6004BindingSource.DataSource = new Model.F6004(_CurrentF6004); }
private void BtEnregistrer_Click(object sender, EventArgs e) { this.f6002BindingSource.EndEdit(); DBf6002BindingSource.EndEdit(); var f6002 = this.f6002BindingSource.Current as Model.F6002; if (f6002 != null) { _controller.Save(f6002.Mf6002); } _CurrentF6002 = _controller.CurrentF6002(); DBf6002BindingSource.DataSource = _CurrentF6002; this.f6002BindingSource.DataSource = new Model.F6002(_CurrentF6002); }
private void BtEnregistrer_Click(object sender, EventArgs e) { this.f6301BindingSource.EndEdit(); DBf6301BindingSource.EndEdit(); var f6301 = this.f6301BindingSource.Current as Model.F6301; if (f6301 != null) { _controller.Save(f6301.MF6301); } _CurrentF6301 = _controller.CurrentF6301(); DBf6301BindingSource.DataSource = _CurrentF6301; this.f6301BindingSource.DataSource = new Model.F6301(_CurrentF6301); }