}                                                                            //O(1)

        private void deleteAllOrders(ref LinkedList <Order> orders, DBhandler DBUse) //deletes all orders from DB
        {
            while (orders.Count != 0)
            {
                DBUse.deleteOrder(orders.ElementAt(0).getOrderID());
                orders.RemoveFirst();
            }
        }        //O(N)
        }        //O(1)

        private void orderBtnDel_Click(object sender, EventArgs e)
        {
            orderStatusMsglbl.Text = "";
            DBhandler DBUse   = new DBhandler();
            int       product = 0;

            orderStatusMsglbl.Text += orderIDtxt.Text.Trim().Length == 0 ? "Missing Order ID.\n" : "";
            orderStatusMsglbl.Text += !int.TryParse(orderIDtxt.Text, out product) && orderIDtxt.Text.Trim().Length != 0 ? "Not a number for Order ID.\n" : "";
            if (orderStatusMsglbl.Text.Length == 0)
            {
                DBUse.deleteOrder(product);
                fillOrders();
            }
            ordersClearTxt();
            DBUse = null;
        }                                                           //O(1)