private void btnSpecial_Click(object sender, EventArgs e) { popUp popUp = new popUp(); popUp.ShowDialog(); randNum = Convert.ToInt32(popUp.lblAdvance.Text); lblInstruction.Text = ""; pbDice.Show(); btnRoll.Hide(); pbLogos.Focus(); drawDice(randNum); btnSpecial.Hide(); specialCount++; if (mainFlag == 1) { calculateMove(ref iSumP1); } else if (mainFlag == 2) { calculateMove(ref iSumP2); } }
private void btnAdvance_Click(object sender, EventArgs e) { popUp popup = new popUp(); this.Hide(); }