Exemplo n.º 1
0
 void onSelect()
 {
     if (tv.SelectedRow >= 0)
     {
         var id    = tv.Table.Rows[tv.SelectedRow][0];
         var files = new Views.UI_Files();
         files.ShowModal(id.ToString());
     }
 }
Exemplo n.º 2
0
 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());
     }
 }