private void SaveDialogContentsTree_MouseDown(object sender, MouseEventArgs e) { if (CommonUoMenus == null) { CommonUoMenus = new ContentsTreeControlUoMenus(); } CommonUoMenus.SetupMouseDown(SaveDialogContentsTree, e); // show common menus if right-click return; }
private void SearchableContentsTree_MouseDown(object sender, MouseEventArgs e) { if (CommonUoMenus == null) { CommonUoMenus = new ContentsTreeControlUoMenus(); } CommonUoMenus.SetupMouseDown(ContentsTreeWithSearch.ContentsTreeCtl, e); // show common menus if right-click return; }