2025-04-15 12:10:19 +02:00

31 lines
985 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace LogFilePDF {
class Program {
static void Main(string[] args) {
GestoreLogPDF gl = new GestoreLogPDF("valerio", "colaianni", "f", "pb","jgrijrggrw",2);
GestoreLogPDF gl2 = new GestoreLogPDF("valerio", "colaianni", "f", "pb", "jgrijrggrw");
gl.scriviLog(EventLog.C6_GenerazioneAutomaticaDiagnosiIniziale);
gl2.scriviLog(EventLog.SELECTA_RistampaReport);
GestoreLogPDF k = new GestoreLogPDF();
k.IdentificativoPdf = 2;
k.Rete = "f";
k.Cf = "jgrijrggrw";
TabellaLog[] t = k.leggiLog();
for (int i = 0; i < t.Length; i++) {
Console.WriteLine("(Evento: {0},Data: {1},Ora: {2},Utente: {3})",
t[i].Evento, t[i].Data, t[i].Ora, t[i].Utente);
}
Console.Read();
}
}
}