private void AddTemplate(ConfigurationParameterTemplate template)
 {
     ListViewItem item = new ListViewItem(){
         Text = template.Name,
         Tag = template
     };
     item.SubItems.Add(new ListViewItem.ListViewSubItem(){
         Text = template.HelpText
     });
     listView_Items.Items.Add(item);
 }
Пример #2
0
        private void AddTemplate(ConfigurationParameterTemplate template)
        {
            ListViewItem item = new ListViewItem()
            {
                Text = template.Name,
                Tag  = template
            };

            item.SubItems.Add(new ListViewItem.ListViewSubItem()
            {
                Text = template.HelpText
            });
            listView_Items.Items.Add(item);
        }