private void CreateSqliteTables(IProgress<TaskProgressUpdate> TaskProgress)
{
// Show Progress Form
if (TaskProgress != null)
TaskProgress.Report(new TaskProgressUpdate("Creating Stats Tables", "Creating Bf2Stats SQLite Database..."));
try
{
// Create Tables
string SQL = Program.GetResourceAsString("BF2Statistics.SQL.SQLite.Stats.sql");
base.Execute(SQL);
}
catch
{
throw;
}
}