Browse Source
- added ExtendedTimeLineControl - updated SDPS to 1.2 git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5049 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
23 changed files with 597 additions and 257 deletions
@ -1,30 +1,26 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<Window |
<Window |
||||||
x:Class="ICSharpCode.Profiler.AddIn.Dialogs.ProfilerControlWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sd="http://icsharpcode.net/sharpdevelop/core" |
x:Class="ICSharpCode.Profiler.AddIn.Dialogs.ProfilerControlWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sd="http://icsharpcode.net/sharpdevelop/core" |
||||||
Title="{sd:Localize AddIns.Profiler.ProfilerControlWindow.Title}" |
Title="{sd:Localize AddIns.Profiler.ProfilerControlWindow.Title}" SizeToContent="WidthAndHeight" |
||||||
WindowStyle="ToolWindow" Closing="WindowClosing" |
WindowStyle="ToolWindow" Closing="WindowClosing" |
||||||
Topmost="True" |
Topmost="True"> |
||||||
Height="60" |
<Grid> |
||||||
Width="170"> |
<Grid.ColumnDefinitions> |
||||||
<Grid> |
<ColumnDefinition Width="Auto" /> |
||||||
<Grid.RowDefinitions> |
</Grid.ColumnDefinitions> |
||||||
<RowDefinition |
<Grid.RowDefinitions> |
||||||
Height="*" /> |
<RowDefinition Height="Auto" /> |
||||||
</Grid.RowDefinitions> |
</Grid.RowDefinitions> |
||||||
<ToolBar |
<Menu> |
||||||
Grid.Column="0" |
<ToggleButton |
||||||
Grid.Row="0" |
Content="{sd:Localize AddIns.Profiler.ProfilerControlWindow.CollectData}" |
||||||
HorizontalAlignment="Left" |
x:Name="collectData" |
||||||
VerticalAlignment="Stretch"> |
Checked="CollectDataChecked" |
||||||
<ToggleButton |
Unchecked="CollectDataUnchecked" /> |
||||||
Content="{sd:Localize AddIns.Profiler.ProfilerControlWindow.CollectData}" |
<Button |
||||||
x:Name="collectData" |
Content="{sd:Localize AddIns.Profiler.ProfilerControlWindow.Shutdown}" |
||||||
Checked="CollectDataChecked" |
x:Name="shutdown" |
||||||
Unchecked="CollectDataUnchecked" /> |
Click="ShutdownClick" /> |
||||||
<Button |
</Menu> |
||||||
Content="{sd:Localize AddIns.Profiler.ProfilerControlWindow.Shutdown}" |
</Grid> |
||||||
x:Name="shutdown" |
|
||||||
Click="ShutdownClick" /> |
|
||||||
</ToolBar> |
|
||||||
</Grid> |
|
||||||
</Window> |
</Window> |
@ -1,42 +1,31 @@ |
|||||||
<UserControl x:Class="ICSharpCode.Profiler.Controls.ExtendedTimeLineControl" |
<UserControl x:Class="ICSharpCode.Profiler.Controls.ExtendedTimeLineControl" |
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||||
xmlns:y="clr-namespace:ICSharpCode.Profiler.Controls"> |
xmlns:local="clr-namespace:ICSharpCode.Profiler.Controls"> |
||||||
<DockPanel> |
<DockPanel> |
||||||
<DockPanel Margin="3,0"> |
<DockPanel Margin="3,0"> |
||||||
<TextBlock Text="Performance Counters" DockPanel.Dock="Top" /> |
<TextBlock Text="Performance Counters" DockPanel.Dock="Top" /> |
||||||
<ListBox x:Name="perfCounterList" ItemsSource="{Binding}" /> |
<ListBox x:Name="perfCounterList" SelectionChanged="PerfCounterListSelectionChanged" /> |
||||||
</DockPanel> |
</DockPanel> |
||||||
<Grid Margin="3,0"> |
<Grid Margin="3,0"> |
||||||
<Grid.RowDefinitions> |
<Grid.RowDefinitions> |
||||||
<RowDefinition Height="20" /> |
<RowDefinition Height="20" /> |
||||||
<RowDefinition Height="20" /> |
<RowDefinition Height="20" /> |
||||||
<RowDefinition Height="Auto" /> |
<RowDefinition Height="100" /> |
||||||
</Grid.RowDefinitions> |
</Grid.RowDefinitions> |
||||||
<TextBlock Grid.Row="0" Text="Time" /> |
<TextBlock Text="Time" /> |
||||||
<TextBlock Grid.Row="1" Text="Events" /> |
<TextBlock Grid.Row="1" Text="Events" /> |
||||||
<TextBlock Grid.Row="2" Text="Graph" /> |
<DockPanel Grid.Row="2"> |
||||||
|
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal"> |
||||||
|
<TextBlock Text="Graph " /> |
||||||
|
<TextBlock x:Name="maxLabel" HorizontalAlignment="Right" /> |
||||||
|
</StackPanel> |
||||||
|
<TextBlock x:Name="minLabel" DockPanel.Dock="Bottom" VerticalAlignment="Bottom" HorizontalAlignment="Right" /> |
||||||
|
<TextBlock x:Name="unitLabel" VerticalAlignment="Center" HorizontalAlignment="Right" /> |
||||||
|
</DockPanel> |
||||||
</Grid> |
</Grid> |
||||||
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled" Margin="3,0"> |
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled" Margin="3,0"> |
||||||
<Grid> |
<local:TimeLineControl x:Name="timeLine" /> |
||||||
<Grid.RowDefinitions> |
|
||||||
<RowDefinition Height="20" /> |
|
||||||
<RowDefinition Height="20" /> |
|
||||||
<RowDefinition Height="Auto" /> |
|
||||||
</Grid.RowDefinitions> |
|
||||||
<StackPanel Grid.Row="0" Orientation="Horizontal"> |
|
||||||
<TextBlock Text="Test" /> |
|
||||||
<TextBlock Text="a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa" /> |
|
||||||
<TextBlock Text="a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa" /> |
|
||||||
<TextBlock Text="a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa" /> |
|
||||||
<TextBlock Text="a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa" /> |
|
||||||
<TextBlock Text="a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa" /> |
|
||||||
<TextBlock Text="a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa" /> |
|
||||||
<TextBlock Text="a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa" /> |
|
||||||
</StackPanel> |
|
||||||
<y:TimeLineControl x:Name="t1" Grid.Row="1" /> |
|
||||||
<TextBlock Grid.Row="2" Text="Test" /> |
|
||||||
</Grid> |
|
||||||
</ScrollViewer> |
</ScrollViewer> |
||||||
</DockPanel> |
</DockPanel> |
||||||
</UserControl> |
</UserControl> |
Loading…
Reference in new issue