Exemple #1
0
        private void facultyListBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            Faculty selectedFaculty = facultyListBox.SelectedItem as Faculty;

            facultyIDTextBox.Text = selectedFaculty.Id.ToString();
        }