3 using System.Reflection;
4 using System.Collections;
8 public class ABMGenerico
13 public ABMGenerico (Type objectType)
15 PropertyInfo[] properties = objectType.GetProperties ();
17 xml = new Glade.XML (null, "abm_generico.glade", "abm_one", null);
18 xml.Autoconnect (this);
21 foreach( PropertyInfo mf in properties ) {
22 Label l = new Label (mf.Name + " : ");
23 Entry e = new Entry ();
24 tabla.Attach (l, 0, 1, i, i+1);
25 tabla.Attach (e, 1, 2, i, i+1);
34 Dialog w = (Dialog)xml.GetWidget ("abm_one");