using System.Windows.Controls; namespace PDF_Office.Views.Tools { /// /// Interaction logic for ToolsBarContent /// public partial class ToolsBarContent : UserControl { public ToolsBarContent() { InitializeComponent(); } private void SecurityButtonMore_Click(object sender, System.Windows.RoutedEventArgs e) { SecurityMenuMore.PlacementTarget = this.SecurityButtonMore; SecurityMenuMore.IsOpen = true; } private void SecurityButtonMore_Initialized(object sender, System.EventArgs e) { this.SecurityButtonMore.ContextMenu = null; } private void CropPageMore_Click(object sender, System.Windows.RoutedEventArgs e) { CropPageMenu.PlacementTarget = this.SecurityButtonMore; CropPageMenu.IsOpen = true; } private void CropPageMore_Initialized(object sender, System.EventArgs e) { this.CropPageMenuMore.ContextMenu = null; } } }