void updateControl() { if (lv1.Items.Count > 2) this.MinimumSize = new Size(366, 84); this.Refresh(); }