public override void OnShow()
{
accesslabel.Text = "ACCESS";
grantedlabel.Text = "DENIED";
accesslabel.Visible = true;
grantedlabel.Visible = true;
accesslabel.ColorText = ColorIndex.ControlColorNegative;
grantedlabel.ColorText = ColorIndex.ControlColorNegative;
progress1.ColorBackground = ColorIndex.ControlColorNegative;
progress2.ColorBackground = ColorIndex.ControlColorNegative;
progress3.ColorBackground = ColorIndex.ControlColorNegative;
progress4.ColorBackground = ColorIndex.ControlColorNegative;
progress5.ColorBackground = ColorIndex.ControlColorNegative;
UpdateColors();
base.OnShow();
General.Sounds.Play("accessdenied");
flashstate = false;
typedcode = "";
texttimer.Start();
enablestate = 0;
enabletimer.Start();
}