private void button8_Click(object sender, EventArgs e) { if (HandCombination.isStraight(new Hand(myHand1))) { MessageBox.Show("This is Straight."); } else { MessageBox.Show("Not Straight."); } }