public HowToPlay() { InitializeComponent(); if (HTPstate == 1) { BtnBack.Hide(); } }
public void HideComponents() { CbDestiny.Hide(); LblDestiny.Hide(); BtnGo.Hide(); BtnBack.Hide(); CbOrigin_Enable(); CbDestiny_Enable(); }
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; } }
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; } }