예제 #1
0
 public void LoadEvents(Int32 statelid)
 {
     while ((cnt_events < dt_events.Rows.Count) && ((Int32)dt_events.Rows[cnt_events][1] == statelid))
     {
         Statel_Event e = new Statel_Event();
         e.EventNumber = (Int32)dt_events.Rows[cnt_events][2];
         e.LoadFunctions((Int32)dt_events.Rows[cnt_events][0], statelid);
         Events.Add(e);
         cnt_events++;
     }
 }
예제 #2
0
            public void LoadEvents(Int32 statelid)
            {

                while ((cnt_events < dt_events.Rows.Count) && ((Int32)dt_events.Rows[cnt_events][1] == statelid))
                {
                    Statel_Event e = new Statel_Event();
                    e.EventNumber = (Int32)dt_events.Rows[cnt_events][2];
                    e.LoadFunctions((Int32)dt_events.Rows[cnt_events][0], statelid);
                    Events.Add(e);
                    cnt_events++;
                }
            }