Esempio n. 1
0
        private void tmrMain_Tick(object sender, EventArgs e)
        {
            _OpenForms.Clear();

            _TimerStarted = DateTime.Now;

            foreach (var screen in Screen.AllScreens)
            {
                var frm = new OverlayForm();
                _OpenForms.Add(frm);
                frm.FormClosed   += frm_FormClosed;
                frm.Left          = screen.Bounds.Left;
                frm.Top           = screen.Bounds.Top;
                frm.StartPosition = FormStartPosition.Manual;

                frm.Show();
            }
        }
Esempio n. 2
0
        private void tmrMain_Tick(object sender, EventArgs e)
        {
            _OpenForms.Clear();
            tmrMain.Stop();
            tmrUpdateStatus.Stop();

            foreach (var screen in Screen.AllScreens)
            {
                var frm = new OverlayForm(_settings);
                _OpenForms.Add(frm);
                frm.FormClosed   += frm_FormClosed;
                frm.Left          = screen.Bounds.Left;
                frm.Top           = screen.Bounds.Top;
                frm.StartPosition = FormStartPosition.Manual;

                frm.Show();
            }
        }
Esempio n. 3
0
        private void tmrMain_Tick(object sender, EventArgs e)
        {
            _OpenForms.Clear();
            tmrMain.Stop();
            tmrUpdateStatus.Stop();

            foreach (var screen in Screen.AllScreens)
            {
                var frm = new OverlayForm(_settings);
                _OpenForms.Add(frm);
                frm.FormClosed += frm_FormClosed;
                frm.Left = screen.Bounds.Left;
                frm.Top = screen.Bounds.Top;
                frm.StartPosition = FormStartPosition.Manual;

                frm.Show(); 
            }
        }