예제 #1
0
 public HowToPlay()
 {
     InitializeComponent();
     if (HTPstate == 1)
     {
         BtnBack.Hide();
     }
 }
예제 #2
0
 public void HideComponents()
 {
     CbDestiny.Hide();
     LblDestiny.Hide();
     BtnGo.Hide();
     BtnBack.Hide();
     CbOrigin_Enable();
     CbDestiny_Enable();
 }
예제 #3
0
        private void HTP_Back(object sender, EventArgs e)
        {
            HTPstate--;
            if (HTPstate <= 2)
            {
                BtnNext.Show();
            }
            switch (HTPstate)
            {
            case 1:
                this.BackgroundImage = Properties.Resources.Icon_seer;
                BtnBack.Hide();
                break;

            case 2:
                this.BackgroundImage = Properties.Resources.Night_time;
                break;

            case 3:
                this.BackgroundImage = Properties.Resources.Day_time;
                break;

            case 4:
                this.BackgroundImage = Properties.Resources.Day_time;
                break;

            case 5:
                this.BackgroundImage = Properties.Resources.Day_time;
                break;

            case 6:
                this.BackgroundImage = Properties.Resources.Day_time;
                break;

            case 7:
                this.BackgroundImage = Properties.Resources.Day_time;
                break;
            }
        }
예제 #4
0
        private void HTP_Back(object sender, EventArgs e)
        {
            HTPstate--;
            if (HTPstate <= 2)
            {
                BtnNext.Show();
            }
            switch (HTPstate)
            {
            case 1:
                this.BackgroundImage = Properties.Resources.HTP1;
                BtnBack.Hide();
                break;

            case 2:
                this.BackgroundImage = Properties.Resources.HTP2;
                break;

            case 3:
                this.BackgroundImage = Properties.Resources.HTP3;
                break;
            }
        }