'menu items are not availible with code this way.
CType(Me.StatusBarPanel1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel2, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel3, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel4, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel5, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel6, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel8, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel9, System.ComponentModel.ISupportInitialize).EndInit()
Me.GroupBox2.ResumeLayout(False)
Me.bgTodaysTimedEvents.ResumeLayout(False)
Me.GroupBox5.ResumeLayout(False)
Me.Panel1.ResumeLayout(False)
CType(Me.NPTimeLCD, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.NowPlayingLCD, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.MediaPlayer, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.tmrPlay, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.FadeOutTimer, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.tmrTimedEvents, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.CleanupTimer, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.Time_Timer, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
'Change it to this way and the menu items are back until the tab is changed.
CType(Me.StatusBarPanel1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel2, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel3, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel4, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel5, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel6, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel8, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.StatusBarPanel9, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.NPTimeLCD, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.NowPlayingLCD, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.MediaPlayer, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.tmrPlay, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.FadeOutTimer, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.tmrTimedEvents, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.CleanupTimer, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.Time_Timer, System.ComponentModel.ISupportInitialize).EndInit()
Me.GroupBox2.ResumeLayout(False)
Me.bgTodaysTimedEvents.ResumeLayout(False)
Me.GroupBox5.ResumeLayout(False)
Me.Panel1.ResumeLayout(False)
Me.ResumeLayout(False)