Exemple #1
0
 private void FormViewAllRsvp_Load(object sender, EventArgs e)
 {
     lblMessage.Show();
     if (currentCoord.registrationList()[0] != null && currentCoord.registrationList()[0] != "")
     {
         // show a list of all reservations
         foreach (string registration in currentCoord.registrationList())
         {
             if (registration != "")
             {
                 lblMessage.Hide();
                 string[] registrationFields = registration.Split(';');
                 labelNumberInfo.Text += registrationFields[0] + "\n\n";
                 labelDateInfo.Text   += registrationFields[1] + "\n\n";
                 labelNameInfo.Text   += registrationFields[2] + "\n\n";
                 labelEventId.Text    += registrationFields[3] + "\n\n";
             }
         }
     }
 }