Ejemplo n.º 1
0
        private void reiniciar_Click(object sender, EventArgs e)
        {
            Reiniciar R = new Reiniciar();

            R.ShowDialog();
            bool reiniciar = Valor.GetContinuar();

            if (!reiniciar)
            {
                return;
            }
            Valor.SetContinuar(false);
            pathArchivo = Valor.GetPathArchivo();
            if (pathArchivo == string.Empty)
            {
                return;
            }
            valorIngresado = new string[9, 9];
            valorEliminado = new string[9, 9];
            GuardarJuego(pathArchivo);
            txtSudoku = Funcion.SetearTextBoxLimpio(txtSudoku);
            AbrirJuego(pathArchivo);
        }