this.list.Size = new System.Drawing.Size(200, 200); this.list.HeaderStyle = ColumnHeaderStyle.None; this.list.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.list.GridLines = true; this.list.MouseUp += new MouseEventHandler(list_MouseUp);
public List<ListViewItem> Settings { get { return settings; } set { settings = value; this.list.Items.Clear(); this.list.Items.AddRange(value.ToArray()); //this.list.Bounds = new Rectangle(list.Location.X, list.Location.Y, 200, 18 * value.Count); //this.list.Size = new System.Drawing.Size(200, 18 * value.Count); //this.list.Invalidate(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)