RegName – Diff between revs 1 and 3
?pathlinks?
Rev 1 | Rev 3 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | using System; |
1 | using System; |
|
- | 2 | using System.IO; |
||
2 | using System.Windows.Forms; |
3 | using System.Windows.Forms; |
|
Line 3... | Line 4... | |||
3 | |
4 | |
|
4 | namespace RegName |
5 | namespace RegName |
|
5 | { |
6 | { |
|
Line 11... | Line 12... | |||
11 | /// The main entry point for the application. |
12 | /// The main entry point for the application. |
|
12 | /// </summary> |
13 | /// </summary> |
|
13 | [STAThread] |
14 | [STAThread] |
|
14 | private static void Main() |
15 | private static void Main() |
|
15 | { |
16 | { |
|
- | 17 | Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory); |
||
- | 18 | |
||
16 | Application.EnableVisualStyles(); |
19 | Application.EnableVisualStyles(); |
|
17 | Application.SetCompatibleTextRenderingDefault(false); |
20 | Application.SetCompatibleTextRenderingDefault(false); |
|
18 | Application.Run(new MainForm()); |
21 | Application.Run(new MainForm()); |
|
19 | } |
22 | } |