Winify – Diff between revs 19 and 28
?pathlinks?
Rev 19 | Rev 28 | |||
---|---|---|---|---|
Line 5... | Line 5... | |||
5 | |
5 | |
|
6 | namespace Winify |
6 | namespace Winify |
|
7 | { |
7 | { |
|
8 | internal class Program : IDisposable |
8 | internal class Program : IDisposable |
|
9 | { |
- | ||
10 | #region Static Fields and Constants |
- | ||
11 | |
- | ||
12 | private static readonly Mutex Mutex = new Mutex(true, Constants.AssemblyGuid); |
- | ||
13 | |
- | ||
14 | private static Form _form; |
- | ||
15 | |
- | ||
16 | #endregion |
- | ||
17 | |
9 | { |
|
Line 18... | Line 10... | |||
18 | #region Constructors, Destructors and Finalizers |
10 | #region Constructors, Destructors and Finalizers |
|
19 | |
11 | |
|
20 | public void Dispose() |
12 | public void Dispose() |
|
Line 43... | Line 35... | |||
43 | return; |
35 | return; |
|
44 | } |
36 | } |
|
Line 45... | Line 37... | |||
45 | |
37 | |
|
46 | // Foreground current other application window. |
38 | // Foreground current other application window. |
|
47 | Natives.PostMessage( |
39 | Natives.PostMessage( |
|
48 | (IntPtr) Natives.HWND_BROADCAST, |
40 | (IntPtr)Natives.HWND_BROADCAST, |
|
49 | Natives.WM_SHOWME, |
41 | Natives.WM_SHOWME, |
|
50 | IntPtr.Zero, |
42 | IntPtr.Zero, |
|
51 | IntPtr.Zero); |
43 | IntPtr.Zero); |
|
Line 52... | Line 44... | |||
52 | } |
44 | } |
|
- | 45 | |
||
- | 46 | #endregion |
||
- | 47 | |
||
- | 48 | #region Static Fields and Constants |
||
- | 49 | |
||
- | 50 | private static readonly Mutex Mutex = new Mutex(true, Constants.AssemblyGuid); |
||
- | 51 | |
||
- | 52 | private static Form _form; |
||
53 | |
53 | |
|
54 | #endregion |
54 | #endregion |
|
55 | } |
55 | } |