Castle.VSNetIntegration.CastleWizards.Shared.Dialogs.WizardDialog.ShowCurrentPanel C# (CSharp) Method

ShowCurrentPanel() protected method

protected ShowCurrentPanel ( ) : void
return void
		protected void ShowCurrentPanel()
		{
			HideAllPanels();

			Control control = (Control) panels[panelIndex];

			control.Visible = true;

			buttonBack.Enabled = panelIndex != 0;

			PanelChanged(this, EventArgs.Empty);

//			if (panelIndex == panels.Count - 1)
//			{
//				EnableFinishButton();
//			}
//			else
//			{
//				EnableNextButton();
//			}
		}