private void UpdateCinfo(object sender, EventArgs e)
        {
            if ((FirstnameTBE.Text != "") && (LastnameTB.Text != ""))
            {
                FirstnameTBE.Text = SpaceStripper(FirstnameTBE.Text);
                LastnameTB.Text   = SpaceStripper(LastnameTB.Text);
            }
            instant2 = EmployeePortal.ReadXML <Customer>(Custpath);
            int index = 0;

            foreach (Customer p in instant2)
            {
                if (FirstnameTBE.Text.ToUpper() == p.Firstname.ToUpper() && LastnameTB.Text.ToUpper() == p.Lastname.ToUpper())
                {
                    index = instant2.IndexOf(p); ok = true;
                }
            }
            if (ok)
            {
                CustomerInfo customerinfo = new CustomerInfo(FirstnameTBE.Text, LastnameTB.Text, true, index);
                customerinfo.ShowDialog();
            }
            else
            {
                MessageBox.Show("Customer is not in directory.");
            }
        }
        private void SellTickets_Click(object sender, EventArgs e)
        {
            //FirstnameTBE.Text = SpaceStripper(FirstnameTBE.Text);
            //LastnameTB.Text = SpaceStripper(LastnameTB.Text);
            instant2 = EmployeePortal.ReadXML <Customer>(Custpath);
            int index = 0;

            foreach (Customer p in instant2)
            {
                if (FirstnameTBE.Text.ToUpper() == p.Firstname.ToUpper() && LastnameTB.Text.ToUpper() == p.Lastname.ToUpper())
                {
                    index = instant2.IndexOf(p); ok = true; viewer = p;
                }
            }
            if (ok)
            {
                EmployeeSellTickets employeeselltickets = new EmployeeSellTickets(false, false, false, viewer);
                employeeselltickets.ShowDialog();
                ok = false;
            }
            else
            {
                if (FirstnameTBE.Text == "")
                {
                    MessageBox.Show("Please fill in customer Firstname");
                }
                else if (LastnameTB.Text == "")
                {
                    MessageBox.Show("Please fill in customer Lastname");
                }
                else
                {
                    MessageBox.Show("Customer is not in directory.");
                }
            }
        }