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