private void Control_Closed(object sender, DevExpress.XtraEditors.Controls.ClosedEventArgs e) { Venta doc = View.CurrentObject as Venta; // Agrega item doc.AddItem(); }