摘要:
private void xtraTabbedMdiManager1_MouseUp(object sender, MouseEventArgs e){ //点左键无效, 必须是点右键弹出菜单 if (e.Button != MouseButtons.Right) return; BaseTabHitInfo hint = xtraTabbedMdiManager1.CalcHitInfo(e.Location); //点击有效,且点击在TabPage标题上 if (hint.IsValid && (hint.Page != null)) { //... 阅读全文