예제 #1
0
파일: Sprung.cs 프로젝트: guija/sprung
 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;
 }
예제 #2
0
 public WindowManager(Settings settings)
 {
     this.settings = settings;
 }