public bool Equals(PowerballTicket ticket)
        {
            if (ticket == null)
                return false;

            return ticket.Numbers.Intersect(Numbers).Count() == 5 && ticket.Powerball == Powerball;
        }
        private void btnAdd_Click(object sender, EventArgs e)
        {
            List<int> numbers = new List<int>();

            numbers.Add(Convert.ToInt32(txtNum1.Text));
            numbers.Add(Convert.ToInt32(txtNum2.Text));
            numbers.Add(Convert.ToInt32(txtNum3.Text));
            numbers.Add(Convert.ToInt32(txtNum4.Text));
            numbers.Add(Convert.ToInt32(txtNum5.Text));

            result = new PowerballTicket(numbers, Convert.ToInt32(txtNumPB.Text));

            Close();
        }