void onSelect() { if (tv.SelectedRow >= 0) { var id = tv.Table.Rows[tv.SelectedRow][0]; var files = new Views.UI_Files(); files.ShowModal(id.ToString()); } }
void onCellActivated(CellActivatedEventArgs cellEvt) { if (cellEvt.Row >= 0) { var id = cellEvt.Table.Rows[cellEvt.Row][0]; var files = new Views.UI_Files(); files.ShowModal(id.ToString()); } }