public ManagerDisplay()
 {
     InitializeComponent();
     numOfEnrollees = DBMng.getNumOfEnrollees();
     enrollees      = DBMng.getEnrollees(numOfEnrollees);
     for (int i = 0; i < numOfEnrollees; i++)
     {
         listBox1.Items.Add(enrollees[i, 2]);
     }
 }
Пример #2
0
 public submitBills(int id)
 {
     InitializeComponent();
     numEnrollees = DBMng.getNumOfEnrollees();
     enrollees    = DBMng.getEnrollees(numEnrollees);
     for (int i = 0; i < numEnrollees; i++)
     {
         listBox2.Items.Add(enrollees[i, 2]);
     }
     string[] info     = DBMng.getHSPInfo(id);
     string[] services = info[2].Split(',');
     displayServices(services);
 }