Beispiel #1
0
 private void loadCaptainCombo(ComboBox cbo)
 {
     cbo.DataSource        = counts.FillStaffCombo("CALFIRE");
     cbo.DisplayMember     = "FullName";
     cbo.ValueMember       = "Id";
     cbo.FormattingEnabled = true;
     cbo.SelectedValue     = 0;
 }
Beispiel #2
0
 private void loadCaptainCombo(Counts count)
 {
     cboCaptain.DataSource        = count.FillStaffCombo("CALFIRE");
     cboCaptain.DisplayMember     = "FullName";
     cboCaptain.ValueMember       = "Id";
     cboCaptain.FormattingEnabled = true;
     cboCaptain.SelectedValue     = currentCrew.Captain;
 }