private void MakeChages(object sender, EventArgs e)
 {
     if (comboBoxAccType.Text == "Admin")
     {
         List <string> usernames = u.getAdminUsername();
         //metroTextBoxPatientId
         AutoCompleteStringCollection colValues = new AutoCompleteStringCollection();
         metroTextBoxUsername.AutoCompleteMode   = AutoCompleteMode.SuggestAppend;
         metroTextBoxUsername.AutoCompleteSource = AutoCompleteSource.CustomSource;
         colValues.AddRange(usernames.ToArray());
         metroTextBoxUsername.AutoCompleteCustomSource = colValues;
     }
     else if (comboBoxAccType.Text == "Doctor")
     {
         List <string> usernames = u.getDoctorUsername();
         //metroTextBoxPatientId
         AutoCompleteStringCollection colValues = new AutoCompleteStringCollection();
         metroTextBoxUsername.AutoCompleteMode   = AutoCompleteMode.SuggestAppend;
         metroTextBoxUsername.AutoCompleteSource = AutoCompleteSource.CustomSource;
         colValues.AddRange(usernames.ToArray());
         metroTextBoxUsername.AutoCompleteCustomSource = colValues;
     }
     else if (comboBoxAccType.Text == "Receptionist")
     {
         List <string> usernames = u.getReceptionistUsername();
         //metroTextBoxPatientId
         AutoCompleteStringCollection colValues = new AutoCompleteStringCollection();
         metroTextBoxUsername.AutoCompleteMode   = AutoCompleteMode.SuggestAppend;
         metroTextBoxUsername.AutoCompleteSource = AutoCompleteSource.CustomSource;
         colValues.AddRange(usernames.ToArray());
         metroTextBoxUsername.AutoCompleteCustomSource = colValues;
     }
 }