Esempio n. 1
0
        ListOption LoadListOption(int optionIndex, int itemIndex)
        {
            var listOption = new ListOption
            {
                Name        = NativeMethods.GetOptionListItemName(optionIndex, itemIndex),
                Description = NativeMethods.GetOptionListItemDesc(optionIndex, itemIndex),
                Key         = NativeMethods.GetOptionListItemKey(optionIndex, itemIndex)
            };

            TraceErrors();
            return(listOption);
        }
 ListOption LoadListOption(int optionIndex, int itemIndex)
 {
     var listOption = new ListOption
                      {
                          Name = NativeMethods.GetOptionListItemName(optionIndex, itemIndex),
                          Description = NativeMethods.GetOptionListItemDesc(optionIndex, itemIndex),
                          Key = NativeMethods.GetOptionListItemKey(optionIndex, itemIndex)
                      };
     TraceErrors();
     return listOption;
 }