Sorry for the second pull request, but I was browsing through your issues and noticed someone said they had a problem with docking to the bottom. I tried it myself and got a System.ArgumentException error saying that my width/height or top/left values were negative. To fix this, I replaced PrimaryScreenWidth and PrimaryScreenHeight with WorkArea.Width and WorkArea.Height to get the work area of the screen (screen size minus the taskbar and other appbar applications).
I sort of messed up your assembly versions, though.. I have no idea what version the software is now.
Sorry for the second pull request, but I was browsing through your issues and noticed someone said they had a problem with docking to the bottom. I tried it myself and got a System.ArgumentException error saying that my width/height or top/left values were negative. To fix this, I replaced PrimaryScreenWidth and PrimaryScreenHeight with WorkArea.Width and WorkArea.Height to get the work area of the screen (screen size minus the taskbar and other appbar applications).
I sort of messed up your assembly versions, though.. I have no idea what version the software is now.