// This method will relaod the list of patients once you Add a NEW Patient public void RefreshList() { AddictionPatientLb.Items.Clear(); GetData(); AddictionPatientLb.SelectedIndex = 0; AddictionPatientLb.Focus(); }
private void PatientsForm_Load(object sender, EventArgs e) { GetData(); AddictionPatientLb.SelectedIndex = 0; AddictionPatientLb.Focus(); }
public AddictionForm() { InitializeComponent(); AddictionPatientLb.Focus(); }