Example #1
0
 /// <summary>
 /// Load the list of device id's into the drop-down list control for
 /// all devices that recorded triage data from the provided session id.
 /// </summary>
 /// <param name="sessionId">The SessionId of interest.</param>
 private void LoadSessionDeviceIds(string sessionId)
 {
     using (TriageDbContext tdc = new TriageDbContext(tbDbServer.Text, tbDbName.Text))
     {
         cbDeviceId.DataSource    = tdc.GetDeviceIdsBySession(sessionId);
         cbDeviceId.SelectedIndex = 0;
     }
 }