root / trunk / Pithos.Client / Program.cs @ 275a059e
History | View | Annotate | Download (608 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Windows.Forms; |
5 |
|
6 |
namespace Pithos.Client |
7 |
{ |
8 |
static class Program |
9 |
{ |
10 |
/// <summary> |
11 |
/// The main entry point for the application. |
12 |
/// </summary> |
13 |
[STAThread] |
14 |
static void Main() |
15 |
{ |
16 |
Application.EnableVisualStyles(); |
17 |
Application.SetCompatibleTextRenderingDefault(false); |
18 |
var mainForm = new Preferences(); |
19 |
|
20 |
IoC.Current.Compose(mainForm); |
21 |
mainForm.UpdateStatus(); |
22 |
Application.Run(mainForm); |
23 |
} |
24 |
} |
25 |
} |