Пример #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     try
     {
         ClientInfo[] clientInfo = _clientsManager.GetAllProblematicClients();
         label4.Text = "Get " + clientInfo.Length + " users";
         dataGridView1.Rows.Clear();
         for (int i = 0; i < clientInfo.Length; ++i)
         {
             dataGridView1.Rows.Add(clientInfo[i].ClientId, clientInfo[i].ClientsListenedSystemId.ToString(),
                                    clientInfo[i].ClientBrocker, clientInfo[i].ClientEmail);
         }
     }
     catch (NullReferenceException) { }
     catch (Exception ex)
     {
         ShowError("Exception while perform operations. Detailed info :\n" + ex.Message);
     }
 }