Add() public méthode

public Add ( Control control ) : TpListViewSubItem
control System.Windows.Forms.Control
Résultat TpListViewSubItem
Exemple #1
0
        public TpListViewItem Add(string[] data)
        {
            var viewItem = new TpListViewItem();

            foreach (string text in data)
            {
                viewItem.Add(text);
            }
            Controls.Add(viewItem);
            UpdateControl();
            return(viewItem);
        }
		public TpListViewItem Add(string[] data)
		{
			var viewItem = new TpListViewItem();
			foreach (string text in data)
				viewItem.Add(text);
			Controls.Add(viewItem);
			UpdateControl();
			return viewItem;
		}