Commit Graph

12 Commits

Author SHA1 Message Date
Terry MacDonald
e9a821e594 [WIP] Working notifyIcon during run
notifyIcon works if run from Shortcutlibrary,
or from clicked shortcut. Next step is to make
the main window show some sort of indication
that the UI is locked until the game exits....
2020-11-19 22:40:08 +13:00
Terry MacDonald
d952059e08 Fixes resizing of MainForm
Some elements weren't resizing properly.
2020-10-26 17:13:23 +13:00
Terry MacDonald
5e9135ed30 Completed adding "minimise on start" ability
Am able to minimise on start, or run normally
using a simple checkbox on the main form.
Maintains the setting over different runs using
a settings json file stored in the AppData directory.
2020-10-26 17:08:55 +13:00
Terry MacDonald
23930a2a15 Added initial ability to minimise to notification area
Used some awesome help from Hans Passant to build
logic to allow minimise to notification area as well as
be able to change profiles etc from the notification area.

https://stackoverflow.com/questions/1730731/how-to-start-winform-app-minimized-to-tray
2020-10-26 14:30:00 +13:00
Terry MacDonald
ed0ccede4c Added initial notify icon shortcut
Added initial notify icon shortcut menu. Have yet
to hook it up to programme start so that it gets
populated.

Also tried to do some tiy up of the Main procedure
of the Program.cs.
2020-10-26 12:39:14 +13:00
Terry MacDonald
de445bc601 Change to new icon
Changed to new icon. Removed icons from the
various forms.
2020-10-23 18:11:34 +13:00
Terry MacDonald
7355b419e8 Added ChangeProfile startup action
Added the ChangeProfile startup action so that
the Notification Icon in the Notification Tray will
be able to change the display profile easily.
2020-10-22 22:05:15 +13:00
Terry MacDonald
964853ff34 Changed the HeliosPlus Icon
Still not really happy with this one, but it's better
than the last one at least...
2020-10-22 21:46:36 +13:00
terrymacdonald
5004f5f76a Silenced the System.Drawing.Image exceptions
The ProfileAdapter and ShortcutAdapters used
by the ImageListView Control unfortunately
have to access the sizes of the bitmaps being
loaded into the respective imagelistviews. I
can't find anyway of stopping the GDI+
from complaining about the Bitmap being
accessed by multiple different threads (as
ImageListView creates one thread per image.
This will be fixed once I move to this being a
WPF application as we'll use a different control.
2020-07-24 16:51:48 +12:00
terrymacdonald
c1ce153c68 Updated Shortcut saving to work with the library
Updated the 'Save To Desktop' button in the
ShortcutLibraryForm to use the CreateShortcut
function in the ShortcutItem, and fixed that so
it now uses the IWshRuntimeLibrary to create
a Windows Script Host that will create the
shortcut.
2020-07-21 19:50:41 +12:00
temacdonald
9dab00bdb4 [WIP] Sort out the ShortcutForm controls
The logic I chose for the ShortcutForm controls is
really not suited towards distributed logic. I am
going to have to centralise the logic into a single
function that will evaulate when to enable the
save button.
2020-05-17 21:19:55 +12:00
temacdonald
470cba0a1d Renamed the directories to HeliosPlus 2020-05-15 23:25:14 +12:00