Inertia – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | using System; |
2 | using System.Windows.Forms; |
||
3 | |||
4 | namespace Inertia |
||
5 | { |
||
2 | office | 6 | internal class Program : IDisposable |
1 | office | 7 | { |
2 | office | 8 | #region Static Fields and Constants |
9 | |||
10 | private static Form _form; |
||
11 | |||
12 | #endregion |
||
13 | |||
14 | #region Constructors, Destructors and Finalizers |
||
15 | |||
16 | public void Dispose() |
||
17 | { |
||
18 | _form?.Dispose(); |
||
19 | _form = null; |
||
20 | } |
||
21 | |||
22 | #endregion |
||
23 | |||
24 | #region Private Methods |
||
25 | |||
1 | office | 26 | /// <summary> |
2 | office | 27 | /// The main entry point for the application. |
1 | office | 28 | /// </summary> |
29 | [STAThread] |
||
2 | office | 30 | private static void Main() |
1 | office | 31 | { |
32 | Application.EnableVisualStyles(); |
||
33 | Application.SetCompatibleTextRenderingDefault(false); |
||
2 | office | 34 | _form = new Form1(); |
35 | Application.Run(); |
||
1 | office | 36 | } |
2 | office | 37 | |
38 | #endregion |
||
1 | office | 39 | } |
2 | office | 40 | } |