Example #1
0
 public CtrlOrgDat(string help, ListVal listVal, int height, LangKind langKkind)
     : base(help, listVal, height, langKkind)
 {
     foreach (OneVal o in listVal.GetList(null))
     {
         if (o.Name == "type")
         {
             _type = o.OneCtrl;
         }
         else if (o.Name == "name")
         {
             _name = o.OneCtrl;
         }
         else if (o.Name == "alias")
         {
             _alias = o.OneCtrl;
         }
         else if (o.Name == "address")
         {
             _address = o.OneCtrl;
         }
         else if (o.Name == "priority")
         {
             _priority = o.OneCtrl;
         }
     }
 }
Example #2
0
 public CtrlOrgDat(string help, ListVal listVal, int height, LangKind langKkind)
     : base(help, listVal, height, langKkind)
 {
     foreach (OneVal o in listVal.GetList(null)){
         if (o.Name == "type"){
             _type = o.OneCtrl;
         } else if (o.Name == "name"){
             _name = o.OneCtrl;
         } else if (o.Name == "alias"){
             _alias = o.OneCtrl;
         } else if (o.Name == "address"){
             _address = o.OneCtrl;
         } else if (o.Name == "priority"){
             _priority = o.OneCtrl;
         }
     }
 }