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; } }