Beispiel #1
0
//The following lines all add the selected game (on picturebox click) to the list of games to be searched (URLs)
//Then the selected game is removed if the game is clicked again (i.e. if you click on the green checkbox).
        private void picEATPM_Click(object sender, EventArgs e)
        {
            selectEATPM.Location = new Point(20, 0);
            picEATPM.Controls.Add(selectEATPM);
            selectEATPM.Enabled = true;
            selectEATPM.Visible = true;
            Enablers.Add((PictureBox)Controls.Find("selectEATPM", true)[0]);
            var addURL = new gameURL("https://pinside.com/pinball/archive/elvira-and-the-party-monsters");

            URLs.Add(addURL);
        }
Beispiel #2
0
        private void picF14_Click(object sender, EventArgs e)
        {
            picF14.Controls.Add(selectF14);
            selectF14.Location = new Point(20, 0);
            selectF14.Enabled  = true;
            selectF14.Visible  = true;
            Enablers.Add((PictureBox)Controls.Find("selectF14", true)[0]);
            var addURL = new gameURL("https://pinside.com/pinball/archive/f-14-tomcat");

            URLs.Add(addURL);
        }
Beispiel #3
0
        private void picSS_Click(object sender, EventArgs e)
        {
            picSS.Controls.Add(selectSS);
            selectSS.Location = new Point(20, 0);
            selectSS.Enabled  = true;
            selectSS.Visible  = true;
            Enablers.Add((PictureBox)Controls.Find("selectSS", true)[0]);
            var addURL = new gameURL("https://pinside.com/pinball/archive/secret-service");

            URLs.Add(addURL);
        }
Beispiel #4
0
        private void picRB_Click(object sender, EventArgs e)
        {
            picRB.Controls.Add(selectRB);
            selectRB.Location = new Point(20, 0);
            selectRB.Enabled  = true;
            selectRB.Visible  = true;
            Enablers.Add((PictureBox)Controls.Find("selectRB", true)[0]);
            var addURL = new gameURL("https://pinside.com/pinball/archive/adventures-of-rocky-and-bullwinkle-and-friends");

            URLs.Add(addURL);
        }
Beispiel #5
0
        private void picBW_Click(object sender, EventArgs e)
        {
            picBW.Controls.Add(selectBW);
            selectBW.Location = new Point(20, 0);
            selectBW.Enabled  = true;
            selectBW.Visible  = true;
            Enablers.Add((PictureBox)Controls.Find("selectBW", true)[0]);
            var addURL = new gameURL("https://pinside.com/pinball/archive/baywatch");

            URLs.Add(addURL);
        }
Beispiel #6
0
        private void picTSPP_Click(object sender, EventArgs e)
        {
            picTSPP.Controls.Add(selectTSPP);
            selectTSPP.Location = new Point(20, 0);
            selectTSPP.Enabled  = true;
            selectTSPP.Visible  = true;
            Enablers.Add((PictureBox)Controls.Find("selectTSPP", true)[0]);
            var addURL = new gameURL("https://pinside.com/pinball/archive/simpsons-pinball-party");

            URLs.Add(addURL);
        }