Esempio n. 1
0
        public WorkshopBookings()
        {
            InitializeComponent();
            try
            {
                List <string> bookingIDs = new List <string>();

                bookingIDs = CC.GetWaiting();

                foreach (string s in bookingIDs)
                {
                    lbBookings.Items.Add(s);
                }
            }
            catch (Exception)
            {
                MessageBox.Show("Connection error");
            }
        }