Ejemplo n.º 1
0
 public Sprung()
 {
     InitializeComponent();
     this.settings = new Settings();
     this.tray = new SystemTray(settings);
     this.windowManager = new WindowManager(settings);
     this.windowMatcher = new WindowMatcher(this.windowManager);
     this.Visible = false;
     this.Opacity = 0;
     this.ControlBox = false;
     this.ShowInTaskbar = false;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.mainWindow = new Window(this.Handle);
     this.Deactivate += DeactivateCallback;
     this.KeyPreview = true;
     this.KeyDown += GlobalKeyDown;
 }
Ejemplo n.º 2
0
 public WindowMatcher(WindowManager windowManager)
 {
     this.windowManager = windowManager;
 }