Exemple #1
0
 public void data_recover(DataGridView a, List <Apteka> l)
 {
     foreach (DataGridViewRow row in a.Rows)
     {
         Apteka buf = new Apteka();
         buf.ConvertToApteka(row);
         l.Add(buf);
     }
 }
Exemple #2
0
 public void data_update(DataGridView a, List <Apteka> l)
 {
     l.Clear();
     foreach (DataGridViewRow row in a.Rows)
     {
         Apteka buf = new Apteka();
         buf.ConvertToApteka(row);
         l.Add(buf);
     }
 }