private void Suit_Pile4_pictureBox_Click(object sender, EventArgs e) { int a; if (Is_discard_selected == true) { if (Solitaire_Game.DisToSuit(4) == false) { MessageBox.Show("ERROR - Move not allowed - Cannot place card onto this card"); } else { Displaysuit(4); Displaydiscard(); } } else if ((a = Is_panel_selected()) > 0) { if (Solitaire_Game.PanelToSuit(a, 4) == false) { MessageBox.Show("ERROR - Move not allowed - Cannot place card onto this card"); } else { Displaysuit(4); Display7table(a); } } reset_is_select(); }