DevExpress右键菜单使用小记
摘要:
添加BarManager和popupMenu组建:设置popupMenu组件的Manager属性:右键点击popupMenu主键,点击Customize选项添加菜单:然后便可添加到鼠标事件中,此处以TreeList为例:View Code 1.private void treeList1_MouseUp(object sender, MouseEventArgs e) 2.{ 3. TreeList tree = sender as TreeList; 4. if (e.Button == MouseButtons.Right 5. && M... 阅读全文
posted @ 2013-04-11 19:41 星空夜夏梦 阅读(234) 评论(0) 推荐(0) 编辑