O'Reilly logo

Visual Basic® .NET Database Programming by Rod Stephens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MRU List

The last piece to program EasyDraw is the MRU (most recently used file) list. The MRU list shows the four most recently accessed files with the most recent on top. The list appears in the File menu above the Exit command, as shown in Figure 9.2. If you select one of the filenames from the list, the program automatically opens the corresponding file.

Figure 9.2. The MRU list displays the four most recently accessed files.

Program EasyDraw uses the code shown in Listing 9.5 to manage its MRU list. The program stores the four MRU filenames in the m_MruFileNames collection. This collection always holds exactly four filenames. If some ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required