예제 #1
0
 // 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();
 }
예제 #2
0
 private void PatientsForm_Load(object sender, EventArgs e)
 {
     GetData();
     AddictionPatientLb.SelectedIndex = 0;
     AddictionPatientLb.Focus();
 }
예제 #3
0
 public AddictionForm()
 {
     InitializeComponent();
     AddictionPatientLb.Focus();
 }