35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace DatabaseMigrator
|
|
{
|
|
static class MigrateDatabase
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(string[] args)
|
|
{
|
|
var targetDir = string.Empty;
|
|
//for (var i = 0; i < args.Length; i++)
|
|
//{
|
|
// switch (i)
|
|
// {
|
|
// case 0:
|
|
// targetDir = args[i];
|
|
// break;
|
|
// case 1:
|
|
// productVersion = new Version(args[i]);
|
|
// break;
|
|
// }
|
|
//}
|
|
targetDir = Environment.CurrentDirectory; // "C:\\DTS\\DTS.Suite\\1.9.569\\DataPRO";
|
|
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new MigrationForm(targetDir));
|
|
}
|
|
}
|
|
}
|