<Window x:Class="XHandler.View.MethodProperty.SubMethodWorkflow"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:local="clr-namespace:XHandler.View.MethodProperty"
|
xmlns:str="clr-namespace:XHandler.Properties"
|
mc:Ignorable="d" WindowStartupLocation = "CenterOwner"
|
Title="" Height="auto" Width="auto" Loaded="Window_Loaded" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" Background="#00FFFFFF">
|
|
<Window.Resources>
|
<!--#region workflow menu-->
|
<ContextMenu x:Key="workflowMenu" Width="150">
|
<MenuItem x:Name="workflowMenuCopy" Header="{x:Static str:Resources.strSubMethodDetail}" Click="workflowMenuRunStatus_Click"/>
|
</ContextMenu>
|
<!--#endregion-->
|
</Window.Resources>
|
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition Height="*"/>
|
<RowDefinition Height="auto"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="auto"/>
|
<ColumnDefinition Width="*"/>
|
</Grid.ColumnDefinitions>
|
<Grid Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="550" Height="600">
|
<Grid.RowDefinitions>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
|
<Grid Grid.Row="0" MouseDown="Grid_MouseDown">
|
<Border Background="{DynamicResource blueBrush}" CornerRadius="10 10 0 0" BorderThickness="0">
|
<Grid>
|
<TextBlock Text="{x:Static str:Resources.strTips}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20 0" FontSize="18"
|
Foreground="White" FontWeight="Bold" Name="tboxTitle"/>
|
<Button Content="×" HorizontalAlignment="Right" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="10 0" FontSize="28" Width="40" Height="40"
|
FontWeight="Bold" Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Click="btnClose_Click"/>
|
</Grid>
|
</Border>
|
</Grid>
|
|
<Border Grid.Row="1" Background="White" CornerRadius="0 0 10 10" BorderThickness="2" BorderBrush="{DynamicResource blueBrush}">
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition Height="20"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="*"/>
|
</Grid.ColumnDefinitions>
|
|
<Grid Grid.Row="1" >
|
<!--流程跟踪-->
|
<TextBlock Grid.Row="2" Text="{x:Static str:Resources.strWorkFlowTrace}" FontSize="16" VerticalAlignment="Top" Margin="10 10 0 0 "/>
|
<TreeView x:Name="runTreeviewWorkflow" Grid.Row="1" Margin="10 40 10 10" Background="White" ContextMenu="{DynamicResource workflowMenu}"
|
ItemContainerStyle="{DynamicResource RunTreeViewItemStyle}" ItemTemplate="{DynamicResource RunTreeviewTemplate}" BorderThickness="0" AllowDrop="True"
|
PreviewMouseRightButtonDown="runTreeviewWorkflow_PreviewMouseRightButtonDown">
|
</TreeView>
|
</Grid>
|
|
</Grid>
|
</Border>
|
</Grid>
|
</Grid>
|
</Window>
|