示例#1
0
 public static void SetAttachedProperties(WorkflowDesignerWindow workflowDesignerWindow,
                                          IContextualResourceModel resource, string iconPath)
 {
     UIElementTitleProperty.SetTitle(workflowDesignerWindow, resource.ResourceName);
     UIElementTabActionContext.SetTabActionContext(workflowDesignerWindow, WorkSurfaceContext.Workflow);
     UIElementImageProperty.SetImage(workflowDesignerWindow, iconPath);
 }
示例#2
0
 public static void SetAttachedProperties(RuntimeConfigurationView view, string tabName)
 {
     UIElementTabActionContext.SetTabActionContext(view, WorkSurfaceContext.Settings);
     UIElementTitleProperty.SetTitle(view, tabName);
     UIElementImageProperty.SetImage(view, "/images/database_save.png");
 }
示例#3
0
 public static void SetAttachedProperties(DeployView view, string tabName)
 {
     UIElementTabActionContext.SetTabActionContext(view, WorkSurfaceContext.DeployResources);
     UIElementTitleProperty.SetTitle(view, tabName);
     UIElementImageProperty.SetImage(view, "/images/database_save.png");
 }