示例#1
0
文件: Menu.cs 项目: lanceewing/agile
 /// <summary>
 /// Puts away the menu so that it is no longer displayed, but remembers what item
 /// in the list was selected at the time it was put away.
 /// </summary>
 /// <param name="header">The MenuHeader representing the menu to put away.</param>
 /// <param name="item">The MenuItem that was currently selected in the menu when it was put away.</param>
 private void PutAwayMenu(MenuHeader header, MenuItem item)
 {
     header.CurrentItem = item;
     Deselect(header.Title);
     textGraphics.CloseWindow();
 }