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