Exemple #1
0
 private void LoadRoutes()
 {
     m_LockTimeTable = true;
     rt = new Routes();
     rt.Parse(GetRoutes());
     dataGridView1.Rows.Clear();
     for (int i = 0, c = rt.RoutesCount(); i < c; i++)
     {
         Route r = rt[i];
         dataGridView1.Rows.Add(r.Id, r.Number, r.Name);
         dataGridView1.Rows[i].Resizable = DataGridViewTriState.False;
     }
     m_LockTimeTable = false;
 }