I'm not even sure if I'm taking even remotely the right approach here so some advice would be appreciated. Basically I have this application which needs to run in the tray 99% of the time, with just a little UI interaction which I'm using Caliburn.Micro
Essentially in the bootstrapper I'm overriding OnStartup where I build a System.Windows.Forms.NotifyIcon. The bootstrapper extends Bootstrapper<ShellViewModel>, and ShellViewModel and ShellView are both empty with ShellView visibility set to Hidden.
This results in a tray icon but no visible window.
Now I need to respond to a context menu item click on the NotifyIcon by bringing up a different window, which I'll call SettingsView (obviously backed by a SettingsViewModel). How can I go about this from inside the bootstrapper, where I am handling this
event? Is there a more sane way of doing this?