re-tag version 1.0.0.0 (initial release) +added application icon
re-tag (added icon)
+commit latest build +add NexusPowerControl.ico
always copy app icon to output directory
add icon file
add icon
tagging version: 1.0.0.0 (initial release)
commit latest build
add missing .pdb files
adding release/debug files
add theme images (working psd/png files)
update svn:ignores
re-arrange theme buttons on MainUI
*** remove old wmi shutdown/reboot code +++ using TokenAdjuster.SetPriviledge with SeShutdownPrivilege causes shutdown and reboot to work just like logoff (all operations disaply the default 'force/cancel' dialog under windows7/vista
try TokenAduster.SetPrivilege with ExitWindowsEx (for shutdown and reboot)
Obtained TokenAdjuster from: http://www.dotnet247.com/247reference/msgs/58/292150.aspx
mboShutdownParams["Flags"] = flags.ToString(); -> mboShutdownParams["Flags"] = (int)flags;
Add: WMI Impersonation Update Enum: internal enum WMIShutdownRebootFlags { Shutdown = 1, Reboot = 2, }
display message boxes with exception thrown by wmi when executing shutdown or reboot
*** use WMI for shutdown/reboot
minor changes to code
*** reference: system.windows.forms Sleep Stub: public static bool Sleep() { return Application.SetSuspendState(PowerState.Hibernate, false, false); }
add code stubs for: + Shutdown + Restart + Logoff + Sleep
rename: Win32API.cs -> win32api.cs
implement lockscreen
Turn off: (testing is completed) #define USE_TESTING_CODE ++ now time to implement the powerstate commands
Turn off these defines: (testing is completed) #define TEST_NEXUS_POWER_COMMAND #define DONOT_CLOSE_MAIN_FORM_WHEN_TESTING_NEXUS_POWER_COMMAND
*** implement use of NexusPowerCommand in NexusPowerControl
use #define USE_TESTING_CODE, for testing application before actually implementing the power state commands
*** inital commit of NexusPowerCommand ++ commandline tool for executing the various power control operations
*** Fully implement default theme and AeroLowRes theme buttons
update Resources.Designer.cs
add default theme images to resources
add other theme images for buttons
*** fix issues with haveing to click the form once, when trapping the mouse, before the form can recieve mouse clicks
add image themeing for themebuttons
*** implement trapping mouse to form
** set .Net Framework 4 rather than .Net Framework 4 Client Profile Add keyboard hook support from // Obtained From: https://gist.github.com/471698 // Modifications used from: http://stackoverflow.com/questions/3920315/ignore-keyboard-input
*** add desktop blur form / with timer to launch MainUI
*** implement theme button clicks
implement theme button clicking
add buttons to main form and style them
** now have theme images being read from xml file
** initial support for themes (better put this in now, rather than having to do a major re-write later)
** add initial theme images ** add theme image to main form ** set form opacity to 98% ** need to work out transparency for the theme image (beyond setting form opacity) ** need to setup on form: + No borders/control box + Ability to move form by clicking/dragging on inner parts of form + etc, etc
Update: svn:ignores Add: bin/Debug, bin/Release
Add Nexus Theme Files for: Aero LowRes
initial commit
initial layout
initial layout
initial layout