Browse Subversion Repository
Contents of /NeoFT/TestLauncher/Program.cs
Parent Directory
| Revision Log
Revision 104 -
( show annotations)
( download)
Mon Oct 14 11:05:33 2013 UTC
(10 years, 5 months ago)
by c477
File size: 1009 byte(s)
ParamsReaderの修正、テストコード
| 1 |
using System; |
| 2 |
using System.Collections.Generic; |
| 3 |
using System.Linq; |
| 4 |
using System.Windows.Forms; |
| 5 |
using System.Diagnostics; |
| 6 |
using nft.framework; |
| 7 |
using System.Collections; |
| 8 |
using System.IO; |
| 9 |
|
| 10 |
namespace nft.test |
| 11 |
{ |
| 12 |
static class Program |
| 13 |
{ |
| 14 |
private static TestLauncher window; |
| 15 |
/// <summary> |
| 16 |
/// アプリケーションのメイン エントリ ポイントです。 |
| 17 |
/// </summary> |
| 18 |
[STAThread] |
| 19 |
static void Main() { |
| 20 |
Application.EnableVisualStyles(); |
| 21 |
Application.SetCompatibleTextRenderingDefault(false); |
| 22 |
Hashtable h = new Hashtable(); |
| 23 |
h.Add("-B",Path.Combine(AppDomain.CurrentDomain.SetupInformation.ApplicationBase,@"..\..\..")); |
| 24 |
Directories.Initialize(h); |
| 25 |
window = new TestLauncher(); |
| 26 |
Debug.Listeners.Add(window.TraceListener); |
| 27 |
Application.Run(window); |
| 28 |
Debug.Listeners.Remove(window.TraceListener); |
| 29 |
} |
| 30 |
} |
| 31 |
} |
|