12345678910111213141516171819202122232425262728293031323334353637 |
- using System.Windows.Controls;
- namespace PDF_Office.Views.Tools
- {
- /// <summary>
- /// Interaction logic for ToolsBarContent
- /// </summary>
- 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;
- }
- }
- }
|