private void cardView_DoubleClick(object sender, EventArgs e) { CardView cardView = (sender as CardView); if (cardView == null) { return; } DataRow dataRow = cardView.GetFocusedDataRow( ); ventas = new CommonUtils.Ventas( ); ventas.ProductoID = Convert.ToInt32(dataRow.ItemArray[0]); ventas.Articulo = Convert.ToString(dataRow.ItemArray[2]); ventas.Precio = Convert.ToDouble(dataRow.ItemArray[7]); this.Process( ); }