Beispiel #1
0
        private void btt_scenceOrigin_Click(object sender, EventArgs e)
        {
            iChooseBG = 1;

            Properties.Settings.Default.Bg = iChooseBG.ToString();
            Properties.Settings.Default.Save();

            ctrg.MenuOn(pB_IntroBird, btt_scene, btt_speed, btt_item, pl_BgMenu, btt_Back);
            ctrg.SubMenuOff(btt_scenceOrigin, btt_scenceHallow, btt_scenceChrist);

            btt_Play.BackgroundImage = Properties.Resources.btt_ori;
            btt_Play.OnHoverImage    = Properties.Resources.btt_ori;
            btt_Play.Size            = new System.Drawing.Size(150, 60);
            btt_Play.ImageSize       = new System.Drawing.Size(151, 63);
            btt_Play.Location        = new System.Drawing.Point(124, 225);

            btt_scene.OnHoverImage    = Properties.Resources.season_ori;
            btt_scene.BackgroundImage = Properties.Resources.season_ori;

            btt_speed.OnHoverImage    = Properties.Resources.speed_ori;
            btt_speed.BackgroundImage = Properties.Resources.speed_ori;

            btt_item.OnHoverImage    = Properties.Resources.item_ori;
            btt_item.BackgroundImage = Properties.Resources.item_ori;

            btt_Menu.OnHoverImage    = Properties.Resources.menu_ori;
            btt_Menu.BackgroundImage = Properties.Resources.menu_ori;


            ctrg.ChooseBgGame(iChooseBG, this);
        }
Beispiel #2
0
        private void btt_scenceOrigin_Click(object sender, EventArgs e)
        {
            buttonOriWasClicked = true;

            if (buttonHaloWasClicked == true || buttonChristWasClicked == true)
            {
                buttonOriWasClicked = false;
            }

            iChooseBG = 1;

            //    Properties.Settings.Default

            // ctrg.ChooseBgGameForm1(1, F);
            //Form1.BackgroundImage = Properties.Resources.ori_bg;
            //F.pictureBox1.BackgroundImage = Properties.Resources.ori_logo;
            // F.panel1.BackgroundImage = Properties.Resources.ori_fame;

            Properties.Settings.Default.Bg = iChooseBG.ToString();
            Properties.Settings.Default.Save();

            ctrg.MenuOn(pB_IntroBird, btt_scene, btt_speed, btt_item, pl_BgMenu, btt_Back);
            ctrg.SubMenuOff(btt_scenceOrigin, btt_scenceHallow, btt_scenceChrist);



            btt_Play.BackgroundImage = Properties.Resources.btt_ori;
            btt_Play.OnHoverImage    = Properties.Resources.btt_ori;
            btt_Play.Size            = new System.Drawing.Size(150, 60);
            btt_Play.ImageSize       = new System.Drawing.Size(151, 63);
            btt_Play.Location        = new System.Drawing.Point(124, 225);

            btt_scene.OnHoverImage    = Properties.Resources.season_ori;
            btt_scene.BackgroundImage = Properties.Resources.season_ori;

            btt_speed.OnHoverImage    = Properties.Resources.speed_ori;
            btt_speed.BackgroundImage = Properties.Resources.speed_ori;

            btt_item.OnHoverImage    = Properties.Resources.item_ori;
            btt_item.BackgroundImage = Properties.Resources.item_ori;

            btt_Menu.OnHoverImage    = Properties.Resources.menu_ori;
            btt_Menu.BackgroundImage = Properties.Resources.menu_ori;


            ctrg.ChooseBgGame(iChooseBG, this);
        }