blaberry / FullscreenLock

Like AKADEVILs PrimaryLock, but different.
GNU Lesser General Public License v3.0
93 stars 16 forks source link

Tray icon with basic min-/maximize functionality #8

Closed Ririshi closed 3 years ago

Ririshi commented 3 years ago

Hi there!

I figured since you were asking (issue https://github.com/blaberry/FullscreenLock/issues/5), and I really want it too, I might as well learn 10 lines of C# and add a tray icon. Works basically the way you expect it. Minimize to minimize to tray, left-click tray icon to open again. Or right-click the tray icon to "show" or "quit". Could add a bunch of extra functionality, of course, but I don't think that's necessary (yet).

P.S.: the huge +/- diff is because I changed some function names and the order of the functions in the FullscreenLock.cs file, which apparently lead to the resx file being completely different. I'm not very knowledgeable about this. I literally installed VS 2019 just to do this, so I'm struggling to understand all of it. Please don't hate me!

Ririshi commented 3 years ago

Closing this, as PR #9 also includes the changes made here.