Ejemplo n.º 1
0
 public static IActionView CreateDropDownActionView()
 {
     return(new StandardWinFormsActionView(
                delegate(IActionViewContext context)
     {
         DropDownToolbarItem item = new DropDownToolbarItem((IDropDownAction)context.Action, context.IconSize);
         context.IconSizeChanged += delegate { item.IconSize = context.IconSize; };
         return item;
     }));
 }
Ejemplo n.º 2
0
		public static IActionView CreateDropDownActionView()
		{
			return new StandardWinFormsActionView(
				delegate(IActionViewContext context)
				{
					DropDownToolbarItem item = new DropDownToolbarItem((IDropDownAction) context.Action, context.IconSize);
					context.IconSizeChanged += delegate { item.IconSize = context.IconSize; };
					return item;
				});
		}