ActivityDesignerVerbCollection IDesignerVerbProvider.GetVerbs(ActivityDesigner activityDesigner)
 {
     ActivityDesignerVerbCollection verbs = new ActivityDesignerVerbCollection();
     if (activityDesigner.ParentDesigner is FreeformActivityDesigner)
     {
         ActivityDesignerVerb verb = new ActivityDesignerVerb(activityDesigner, DesignerVerbGroup.Actions, DR.GetString("BringToFront", new object[0]), new EventHandler(this.OnZOrderChanged), new EventHandler(this.OnZOrderStatusUpdate));
         verb.Properties[DesignerUserDataKeys.ZOrderKey] = ZOrder.Foreground;
         verbs.Add(verb);
         verb = new ActivityDesignerVerb(activityDesigner, DesignerVerbGroup.Actions, DR.GetString("SendToBack", new object[0]), new EventHandler(this.OnZOrderChanged), new EventHandler(this.OnZOrderStatusUpdate));
         verb.Properties[DesignerUserDataKeys.ZOrderKey] = ZOrder.Background;
         verbs.Add(verb);
     }
     return verbs;
 }
        ActivityDesignerVerbCollection IDesignerVerbProvider.GetVerbs(ActivityDesigner activityDesigner)
        {
            ActivityDesignerVerbCollection verbs = new ActivityDesignerVerbCollection();

            if (activityDesigner.ParentDesigner is FreeformActivityDesigner)
            {
                ActivityDesignerVerb verb = new ActivityDesignerVerb(activityDesigner, DesignerVerbGroup.Actions, DR.GetString("BringToFront", new object[0]), new EventHandler(this.OnZOrderChanged), new EventHandler(this.OnZOrderStatusUpdate));
                verb.Properties[DesignerUserDataKeys.ZOrderKey] = ZOrder.Foreground;
                verbs.Add(verb);
                verb = new ActivityDesignerVerb(activityDesigner, DesignerVerbGroup.Actions, DR.GetString("SendToBack", new object[0]), new EventHandler(this.OnZOrderChanged), new EventHandler(this.OnZOrderStatusUpdate));
                verb.Properties[DesignerUserDataKeys.ZOrderKey] = ZOrder.Background;
                verbs.Add(verb);
            }
            return(verbs);
        }