Ejemplo n.º 1
0
 //selection of a bank for displaying bank's customers & accounts
 private void lvAccsCustOfBank_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (lvAccsCustOfBank.SelectedItems.Count > 0)
     {
         ListViewItem item = lvAccsCustOfBank.SelectedItems[0];
         int          bankId;
         bool         evalTest = int.TryParse(item.SubItems[0].Text.Trim(), out bankId);
         customerUtility.GetCustomersAndAccountsOfBank(lblCustomersAndAccountsOfBank, bankId);
     }
 }