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 @@
@@ -1,30 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<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" |
||||
Title="{sd:Localize AddIns.Profiler.ProfilerControlWindow.Title}" |
||||
WindowStyle="ToolWindow" Closing="WindowClosing" |
||||
Topmost="True" |
||||
Height="60" |
||||
Width="170"> |
||||
<Grid> |
||||
<Grid.RowDefinitions> |
||||
<RowDefinition |
||||
Height="*" /> |
||||
</Grid.RowDefinitions> |
||||
<ToolBar |
||||
Grid.Column="0" |
||||
Grid.Row="0" |
||||
HorizontalAlignment="Left" |
||||
VerticalAlignment="Stretch"> |
||||
<ToggleButton |
||||
Content="{sd:Localize AddIns.Profiler.ProfilerControlWindow.CollectData}" |
||||
x:Name="collectData" |
||||
Checked="CollectDataChecked" |
||||
Unchecked="CollectDataUnchecked" /> |
||||
<Button |
||||
Content="{sd:Localize AddIns.Profiler.ProfilerControlWindow.Shutdown}" |
||||
x:Name="shutdown" |
||||
Click="ShutdownClick" /> |
||||
</ToolBar> |
||||
</Grid> |
||||
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}" SizeToContent="WidthAndHeight" |
||||
WindowStyle="ToolWindow" Closing="WindowClosing" |
||||
Topmost="True"> |
||||
<Grid> |
||||
<Grid.ColumnDefinitions> |
||||
<ColumnDefinition Width="Auto" /> |
||||
</Grid.ColumnDefinitions> |
||||
<Grid.RowDefinitions> |
||||
<RowDefinition Height="Auto" /> |
||||
</Grid.RowDefinitions> |
||||
<Menu> |
||||
<ToggleButton |
||||
Content="{sd:Localize AddIns.Profiler.ProfilerControlWindow.CollectData}" |
||||
x:Name="collectData" |
||||
Checked="CollectDataChecked" |
||||
Unchecked="CollectDataUnchecked" /> |
||||
<Button |
||||
Content="{sd:Localize AddIns.Profiler.ProfilerControlWindow.Shutdown}" |
||||
x:Name="shutdown" |
||||
Click="ShutdownClick" /> |
||||
</Menu> |
||||
</Grid> |
||||
</Window> |
@ -1,42 +1,31 @@
@@ -1,42 +1,31 @@
|
||||
<UserControl x:Class="ICSharpCode.Profiler.Controls.ExtendedTimeLineControl" |
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||||
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 Margin="3,0"> |
||||
<TextBlock Text="Performance Counters" DockPanel.Dock="Top" /> |
||||
<ListBox x:Name="perfCounterList" ItemsSource="{Binding}" /> |
||||
<ListBox x:Name="perfCounterList" SelectionChanged="PerfCounterListSelectionChanged" /> |
||||
</DockPanel> |
||||
<Grid Margin="3,0"> |
||||
<Grid.RowDefinitions> |
||||
<RowDefinition Height="20" /> |
||||
<RowDefinition Height="20" /> |
||||
<RowDefinition Height="Auto" /> |
||||
<RowDefinition Height="100" /> |
||||
</Grid.RowDefinitions> |
||||
<TextBlock Grid.Row="0" Text="Time" /> |
||||
<TextBlock Text="Time" /> |
||||
<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> |
||||
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled" Margin="3,0"> |
||||
<Grid> |
||||
<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> |
||||
<local:TimeLineControl x:Name="timeLine" /> |
||||
</ScrollViewer> |
||||
</DockPanel> |
||||
</UserControl> |
Loading…
Reference in new issue