protected void OnShown(object sender, EventArgs e) { currentChart = Chart.StudyChart; neuronChart = new NeuronChart(); neuronChart.NeuronSelected += OnNeuronSelected; stateChart = new StateChart(); countdownChart = new CountDownChart(); Initialize(); BindSliders(); InitializeStudyView(); pnlScope.Initialized(); pnlScope.Tick(); // refreshes the display to deal with panel height. }