Ejemplo n.º 1
0
        private void BtEnregistrer_Click(object sender, EventArgs e)
        {
            this.f6002BindingSource.EndEdit();
            var f6002 = this.f6002BindingSource.Current as Core.Models.Liass.F6002;

            _controller.Save(f6002);
            this.f6002BindingSource.DataSource = _controller.CurrentF6002();
            this.f6002BindingSource.ResetCurrentItem();
        }
        private void BtEnregistrer_Click(object sender, EventArgs e)
        {
            this.F6004BindingSource.EndEdit();
            var F6004 = this.F6004BindingSource.Current as Core.Models.Liass.F6004ModeleAutorsie;

            _controller.Save(F6004);
            this.F6004BindingSource.DataSource = _controller.CurrentF6004ModeleAutorsie();
            this.F6004BindingSource.ResetCurrentItem();
        }