public void SetAxisOnVis(string attributeName) { string option; switch (_axisID) { case 0: option = visCard.SetXAxis(attributeName); break; case 1: option = visCard.SetYAxis(attributeName); break; case 2: option = visCard.SetZAxis(attributeName); break; default: option = "Error"; break; } _instrutorSteps[2] = option; instrutor.text = _instrutorSteps[0] + "\n" + _instrutorSteps[1] + "\n" + _instrutorSteps[2]; }