예제 #1
0
 private void AddElementsForSearch(Type obj)
 {
     foreach (var prop in obj.GetProperties())
     {
         ControlObjectElement elem = new ControlObjectElement(prop.Name);
         this.splitContainer2.Panel1.Controls.Add(elem);
     }
 }
예제 #2
0
 public void AddInsertingControls(Type obj)
 {
     foreach (var prop in obj.GetProperties())
     {
         ControlObjectElement elem = new ControlObjectElement(prop.Name);
         this.splitContainer1.Panel1.Controls.Add(elem);
     }
 }