Ejemplo n.º 1
0
        /// <summary>
        /// Enables extensible context menu support for the specified icon margin.
        /// </summary>
        public static void Add(IconBarMargin margin, DecompilerTextView textView)
        {
            var provider = new IconMarginActionsProvider(margin, textView);

            margin.MouseUp    += provider.HandleMouseEvent;
            margin.ContextMenu = new ContextMenu();
        }
Ejemplo n.º 2
0
		/// <summary>
		/// Enables extensible context menu support for the specified icon margin.
		/// </summary>
		public static void Add(IconBarMargin margin)
		{
			var provider = new IconMarginActionsProvider(margin);
			margin.MouseUp += provider.HandleMouseEvent;
			margin.ContextMenu = new ContextMenu();
		}