You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
3.2 KiB
60 lines
3.2 KiB
<Window x:Class="ICSharpCode.CodeQualityAnalysis.MainWindow" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:Controls="clr-namespace:ICSharpCode.WpfDesign.Designer.Controls;assembly=ICSharpCode.WpfDesign.Designer" |
|
xmlns:Graph="clr-namespace:ICSharpCode.CodeQualityAnalysis.Controls" |
|
Title="Code Quality Analysis" |
|
x:Name="root"> |
|
<Window.Resources> |
|
<ResourceDictionary> |
|
<ResourceDictionary.MergedDictionaries> |
|
<ResourceDictionary Source="../Resources/GraphTemplate.xaml" /> |
|
</ResourceDictionary.MergedDictionaries> |
|
</ResourceDictionary> |
|
</Window.Resources> |
|
|
|
<TabControl> |
|
<TabItem Header="Dependency Graph"> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition /> |
|
</Grid.RowDefinitions> |
|
|
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="250px" /> |
|
<ColumnDefinition /> |
|
<ColumnDefinition Width="200px" /> |
|
</Grid.ColumnDefinitions> |
|
|
|
<ToolBarTray Background="White" Grid.Row="0" Grid.ColumnSpan="2"> |
|
<ToolBar> |
|
<Button Name="btnOpenAssembly" Click="btnOpenAssembly_Click" Margin="0 0 5 0">Open Assembly</Button> |
|
<Button Name="btnRelayout" Click="btnRelayout_Click" Margin="0 0 5 0">Relayout</Button> |
|
<Button Name="btnContinueLayout" Click="btnContinueLayout_Click" Margin="0 0 5 0">Continue Layout</Button> |
|
<Button Name="btnResetGraph" Click="btnResetGraph_Click" Margin="0 0 5 0">Reset Graph</Button> |
|
<Button Name="btnSaveImageGraph" Click="btnSaveImageGraph_Click">Save an Image of Graph</Button> |
|
</ToolBar> |
|
</ToolBarTray> |
|
|
|
<TreeView Name="definitionTree" Grid.Row="1" Grid.Column="0" SelectedItemChanged="definitionTree_SelectedItemChanged" /> |
|
|
|
<Controls:ZoomControl Grid.Row="1" Grid.Column="1" Name="zoom" AlwaysShowZoomButtons="True" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible"> |
|
<Graph:DependencyGraphLayout x:Name="graphLayout" |
|
LayoutAlgorithmType="LinLog" |
|
OverlapRemovalAlgorithmType="FSA" |
|
HighlightAlgorithmType="Simple" |
|
VertexClick="graphLayout_VertexClick" |
|
/> |
|
</Controls:ZoomControl> |
|
|
|
<TextBlock Name="txbTypeInfo" Grid.Column="3" Grid.Row="1"/> |
|
</Grid> |
|
</TabItem> |
|
<TabItem Header="Dependency Matrix"> |
|
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True"> |
|
<Graph:DependencyMatrixControl x:Name="matrixControl"></Graph:DependencyMatrixControl> |
|
</ScrollViewer> |
|
</TabItem> |
|
</TabControl> |
|
</Window>
|
|
|