开发者

Data structure for a navigational sequence

I have a Silverlight LOB application that has a page that will need to be visited 4 times before moving on to the next page. I want a data structure to hold a marker to the point in that sequence. I might render a display开发者_开发技巧 to show where you are like this: o---●---o---o

I tried an enum, but I need to associate each point with small int value that is then used to locate files via HTTP. This seems so simple but if I start putting if blocks and magic variable values everywhere that is messy, so I wanted to see what people here had to say.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜