Visio.Window winShapeSearch = axDrawingControl1.Window.Windows.get_ItemFromID((int)Visio.VisWinTypes.visWinIDShapeSearch); winShapeSearch.Close();
隐藏/显示命令
Application.docmd(VisUICmds.visCmdShapesWindow) //切换显示
参考链接
http://bbs.csdn.net/topics/390802057
http://visguy.com/vgforum/index.php?topic=124.0