+ alta_plan_xml = new Glade.XML (null, "mantener_planes.glade", "alta_plan", null);
+ alta_plan_xml.Autoconnect (this);
+
+ coberturas.Model = new ListStore (typeof(int), typeof(float), typeof (float), typeof (int), typeof(string));
+ coberturas.HeadersVisible = true;
+ coberturas.AppendColumn ("Prestacion", new CellRendererText (), "text", 0);
+ coberturas.AppendColumn ("Carencia", new CellRendererText (), "text", 1);
+ coberturas.AppendColumn ("Cobertura", new CellRendererText (), "text", 2);
+ coberturas.AppendColumn ("Limite Anual", new CellRendererText (), "text", 3);
+ coberturas.AppendColumn ("Tipo", new CellRendererText (), "text", 4);
+
+ TreeSelection sel = lista.Selection;
+ TreeModel model;
+ TreeIter iter;
+
+ sel.GetSelected (out model, out iter);
+ int codplan = (int)model.GetValue (iter, 0);
+
+ CargarCoberturas (codplan);
+ Dialog w = (Dialog)alta_plan_xml.GetWidget ("alta_plan");
+ w.Run ();
+ w.Destroy ();
+
+ CargarPlanes ();