public override void OnShow()
{
UpdateAccessButton();
ShowTechPanel(0);
agendadisplayindex = -5;
notesitemindex = -1;
animatetoptimer.Interval = 100;
animatetoptimer.Start();
for(int i = 0; i < NUM_AGENDA_ITEMS; i++)
{
agendaitems[i].Visible = false;
agendatimes[i].Visible = false;
}
for(int i = 0; i < NUM_NOTES_ITEMS; i++)
notesitems[i].Visible = false;
// Show first tech panel
techpanelindex = 0;
for(int i = 0; i < techpanels.Count; i++)
techpanels[i].Visible = (techpanelindex == i);
base.OnShow();
}