TestData data=https://bbs.csdn.net/topics/new TestData (); Data. Names=new List (a); Data. The Names. The Add (" * * "); Data. The Names. The Add (" li si "); Enclosing propertyGrid1. SelectedObject=data; }
Public class TestData { Public List Names the {get; set; }
Public string [] Names1 {get {return Names. The ToArray (); } the set {Names. The Clear (); Names. AddRange (value); }} }
So that we can do big, need not enter the child form,