Пример #1
0
        public MainForm(Options options)
        {
            InitializeComponent();
            this.options   = options;
            this.semaphore = new Semaphore(options);
            BindHotKey();

            Stop();
            this.Left = Screen.PrimaryScreen.WorkingArea.Right - Width;
            this.Top  = Screen.PrimaryScreen.WorkingArea.Top + 2 * SystemInformation.CaptionHeight;
            scheme.ApplyToMain(this);
            TitleBar.BindHandleTo(this);
        }