public void Main(string argument) { if (argument == "next") { panel.SelectNext(); } else if (argument == "prev") { panel.SelectPrevious(); } else if (argument == "current") { panel.ActivateCurrent(); } else if (argument == "parent") { panel.ActivateParent(); } else { SpinningBar.Step(); } display.WriteText(panel.ToString()); }