Controlling VMware Player in Tasktray.
Revision | e2efe22b1a881c37fff20ecee26881b9c5630474 (tree) |
---|---|
Time | 2015-10-09 15:10:45 |
Author | JeffyTS <JeffyTS@outl...> |
Commiter | JeffyTS |
Fixed dialogs bug.
@@ -196,25 +196,31 @@ namespace VMwPlayerTaskTray | ||
196 | 196 | private void ToolStripMenuItem_Reset_Click(object sender, EventArgs e) |
197 | 197 | { |
198 | 198 | // open dialog |
199 | + notifyIcon_MainForm.Visible = false; | |
199 | 200 | if (confirmDialog()) |
200 | 201 | { |
201 | 202 | VMControl(VMCTRL.GO_RESET); |
202 | 203 | } |
204 | + notifyIcon_MainForm.Visible = true; | |
203 | 205 | } |
204 | 206 | |
205 | 207 | private void ToolStripMenuItem_PowerOff_Click(object sender, EventArgs e) |
206 | 208 | { |
207 | 209 | // open dialog |
210 | + notifyIcon_MainForm.Visible = false; | |
208 | 211 | if (confirmDialog()) |
209 | 212 | { |
210 | 213 | VMControl(VMCTRL.GO_POWER_OFF); |
211 | 214 | } |
215 | + notifyIcon_MainForm.Visible = true; | |
212 | 216 | } |
213 | 217 | |
214 | 218 | private void ToolStripMenuItem_About_Click(object sender, EventArgs e) |
215 | 219 | { |
216 | 220 | // About dialog |
221 | + notifyIcon_MainForm.Visible = false; | |
217 | 222 | AboutDialog(); |
223 | + notifyIcon_MainForm.Visible = true; | |
218 | 224 | } |
219 | 225 | |
220 | 226 | private void ToolStripMenuItem_Exit_Click(object sender, EventArgs e) |
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | ||
32 | 32 | // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を |
33 | 33 | // 既定値にすることができます: |
34 | 34 | // [assembly: AssemblyVersion("1.0.*")] |
35 | -[assembly: AssemblyVersion("1.2.0.*")] | |
36 | -[assembly: AssemblyFileVersion("1.2.0.0")] | |
35 | +[assembly: AssemblyVersion("1.2.1.*")] | |
36 | +[assembly: AssemblyFileVersion("1.2.1.0")] |
@@ -37,8 +37,8 @@ Thanks to VMware,Inc and Microsoft Corporation. | ||
37 | 37 | |
38 | 38 | Rlease & modify |
39 | 39 | --- Date --- Ver. -- Modify -- |
40 | - 2014/04/01 1.0.0 First release for VMware Player 6.0.2 and VMware VIX 1.13.2. | |
41 | - 2014/12/26 1.0.1 Changed developing environment to VMware Player 7.0.0 and VMware VIX 1.14.0. | |
40 | + 2014/04/01 1.0.0 First release for VMware Player 6.0.2 and VMware VIX 1.13.2. | |
41 | + 2014/12/26 1.0.1 Changed developing environment to VMware Player 7.0.0 and VMware VIX 1.14.0. | |
42 | 42 | 2015/01/05 1.0.1 Improved await proc and added readme.txt. |
43 | 43 | 2015/01/06 1.0.2 Improved IO exception and fixed some bugs. |
44 | 44 | 2015/01/07 1.0.3 Changed to not check .vmx file existing when started and running. |
@@ -57,6 +57,7 @@ Rlease & modify | ||
57 | 57 | 2015/09/25 1.1.9 Improved moving window timing. |
58 | 58 | 2015/09/27 1.1.10 Improved code. |
59 | 59 | 2015/10/02 1.2.0 Improved code and eliminated 'Interop.VixCOM.dll'. |
60 | + 2015/10/09 1.2.1 Fixed dialogs bug. | |
60 | 61 | |
61 | 62 | |
62 | 63 |