Example #1
0
        /// <summary>
        /// Used to display all requests onto a list
        /// </summary>
        private void Display_Lists()
        {
            // Show requests for food
            Requests_Handler.Show_Requests();
            RequestsList.DataSource = Requests_Handler.DataTable;

            // Show requests for wake up calls and showers
            Requests_Handler.Show_Timed_Requests();
            TimedRequestsList.DataSource = Requests_Handler.DataTable;
        }
        /// <summary>
        /// Used to display all requests onto a list
        /// </summary>
        public void Display_Lists()
        {
            // Show requests for food
            Requests_Handler.Show_Requests();
            Add_New_User_Button.DataSource = Requests_Handler.DataTable1;

            // Show requests for wake up calls and showers
            Requests_Handler.Show_Timed_Requests();
            dataGridView1.DataSource = Requests_Handler.DataTable2;
        }