init
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user