Ejemplo 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();
            }
        }
Ejemplo 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();
            }
        }
Ejemplo 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(); 
            }
        }