private void PanelChanged(object sender, EventArgs e) { if (GetNextPanelIndex() == -1) { EnableFinishButton(); } else { EnableNextButton(); } }