private void PlotValues(Graphics graphics, MyDisplayMethod displayMethod) { switch (displayMethod) { case MyDisplayMethod.SCROLL: DrawScroll(graphics); break; case MyDisplayMethod.SCALE: DrawScale(graphics); break; case MyDisplayMethod.CYCLE: default: DrawCycle(graphics); break; } }