예제 #1
0
 void GanadorLoad(object sender, EventArgs e)
 {
     file = new Fichero(_path);
     if (!System.IO.File.Exists(_path)){
         file.escribir_todo("");
     }
 }
예제 #2
0
        void ListaLoad(object sender, EventArgs e)
        {
            file = new Fichero(_path);

            if (!System.IO.File.Exists(_path)){
                file.escribir_todo("");
            }
            lista = file.leer_por_linea();
        }
예제 #3
0
 void AhorcadoLoad(object sender, EventArgs e)
 {
     file = new Fichero("data.txt");
     _lista = file.leer_por_linea();
     _error = 0;
     _comodin = "?";
     _estado = 0;
     label1.Text = string.Empty;
     crearBotones('Q');
     bloq_botones();
 }