CapDemo.Open_Game.pb_QuestionSub_Click C# (CSharp) Метод

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

private pb_QuestionSub_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        private void pb_QuestionSub_Click(object sender, EventArgs e)
        {
            if (show ==false)
            {
                Screen[] screens = Screen.AllScreens;
                if (screens.Count() > 1)
                {
                    Rectangle bounds = screens[1].Bounds;
                    questionScreen.SetBounds(bounds.X, bounds.Y, bounds.Width, bounds.Height);
                    //
                    questionScreen.Location = new Point(questionScreen.Location.X + 0, questionScreen.Location.Y + 80);
                    questionScreen.StartPosition = FormStartPosition.Manual;
                    questionScreen.Show();
                    questionScreen.ShowQuestionSub(IDQuestion_Sub);
                }
                else
                {
                    questionScreen.Show();
                    questionScreen.ShowQuestionSub(IDQuestion_Sub);
                }
                show = true;
            }
            else
            {
                questionScreen.Hide();
                show = false;
            }
        }