void GanadorLoad(object sender, EventArgs e) { file = new Fichero(_path); if (!System.IO.File.Exists(_path)){ file.escribir_todo(""); } }
void ListaLoad(object sender, EventArgs e) { file = new Fichero(_path); if (!System.IO.File.Exists(_path)){ file.escribir_todo(""); } lista = file.leer_por_linea(); }
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(); }