Пример #1
0
 public void RefreshZooPresenter( )
 {
     ZooPresenter.Rows.Clear( );
     foreach (var a in Animals)
     {
         ZooPresenter.Rows.Add(new object[] {
             a,
             a.Name,
             a.Age,
             a.IsInRedBook,
             a.Type,
             a.Class,
             a.Detachment,
             a.GetCommonHabitatsArea( ),
         });
     }
     ZooPresenter.ClearSelection( );
 }
Пример #2
0
 private void ZooPresenter_Sorted(Object sender, EventArgs e)
 {
     ZooPresenter.ClearSelection( );
 }