lab 1 ready

This commit is contained in:
Maxim 2024-11-19 00:05:49 +04:00
parent 5c229cb2ff
commit e8b8778e62

View File

@ -20,7 +20,7 @@ namespace ProjectGSM.Forms
try try
{ {
caseBox.DataSource = caseRepository.ReadCases(); caseBox.DataSource = caseRepository.ReadCases();
caseBox.DisplayMember = "Name"; caseBox.DisplayMember = "Description";
caseBox.SelectedIndex = 0; caseBox.SelectedIndex = 0;
} }
catch (Exception ex) { } catch (Exception ex) { }