예제 #1
0
 private void _bs_CurrentChanged(object sender, EventArgs e)
 {
     if (_bs.Current != null)
     {
         _itemActual = (dataLista)_bs.Current;
     }
 }
예제 #2
0
 public GestionLista()
 {
     _itemActual         = null;
     _list               = new List <dataLista>();
     _bl                 = new BindingList <dataLista>(_list);
     _bs                 = new BindingSource();
     _bs.CurrentChanged += _bs_CurrentChanged;
     _bs.DataSource      = _bl;
 }
예제 #3
0
 public void Inicializa()
 {
     _itemActual = null;
     _bl.Clear();
 }