25 lines
681 B
C#
25 lines
681 B
C#
using EFCDesk.Classes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace EFCDesk.Forms
|
|
{
|
|
public partial class FormErrorLog : Form
|
|
{
|
|
private static SQLiteHelper sqliteHelper = new SQLiteHelper(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "historico.db"));
|
|
public FormErrorLog()
|
|
{
|
|
InitializeComponent();
|
|
ErrorLog errorLog = new ErrorLog();
|
|
dataGridView1.DataSource = errorLog.GetRegistrosErrorLog(sqliteHelper);
|
|
}
|
|
}
|
|
}
|