CapDemo.PleaseWaitForm.PleaseWaitForm_Load C# (CSharp) Метод

PleaseWaitForm_Load() приватный Метод

private PleaseWaitForm_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void
        private void PleaseWaitForm_Load(object sender, EventArgs e)
        {
            this.SuspendLayout();
            Screen[] screens = Screen.AllScreens;
            if (screens.Count() > 1)
            {
                Rectangle bounds = screens[1].Bounds;
                this.SetBounds(bounds.X, bounds.Y, bounds.Width, bounds.Height);
                this.StartPosition = FormStartPosition.Manual;

            }
            this.Show();
            this.Dock = DockStyle.Fill;
            this.ResumeLayout();
        }