Exemplo n.º 1
0
        public UI_Row GetRowByUIType(string uitype)
        {
            UI_Row dj_row = null;

            m_dict.TryGetValue(uitype, out dj_row);
            return(dj_row);
        }
Exemplo n.º 2
0
 public bool ParseTable(JArray jay)
 {
     m_dict = new Dictionary <string, UI_Row>();
     for (int i = 0; i < jay.Count; ++i)
     {
         var    tmpjobj   = jay[i] as JObject;
         UI_Row table_row = new UI_Row();
         table_row.ParseRow(tmpjobj);
         m_dict.Add(table_row.uitype, table_row);
     }
     IsLoad = true;
     return(true);
 }