-
Notifications
You must be signed in to change notification settings - Fork 10
/
Filter.xaml
85 lines (84 loc) · 6.38 KB
/
Filter.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<Window x:Name="window" x:Class="LogViewer.Filter"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Filter" Width="300" Height="520"
Background="{DynamicResource WindowBackgroundBrush}" WindowStartupLocation="CenterOwner">
<Window.Resources>
<Storyboard x:Key="OnLoaded1">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="{x:Null}">
<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</Window.Resources>
<Window.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard Storyboard="{StaticResource OnLoaded1}"/>
</EventTrigger>
</Window.Triggers>
<DockPanel Margin="4,4,8,4">
<StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom" HorizontalAlignment="Center">
<Button Height="23" Name="buttonClear" Width="76" Click="buttonClear_Click" Margin="3">Clear</Button>
<Button Height="23" Name="buttonCancel" Width="75" Click="buttonCancel_Click" Margin="3" IsCancel="True">Cancel</Button>
<Button Height="23" Name="buttonOK" Width="75" Click="buttonOK_Click" Margin="3" IsDefault="True">OK</Button>
</StackPanel>
<Grid Name="MainGrid">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
<RowDefinition Height="25"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="90" />
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Height="28" Foreground="White" Content="UserName"></Label>
<ComboBox Grid.Column="1" Grid.Row="0" Height="23" Name="comboBoxUserName" Text="{Binding UserName}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="1" Height="28" Foreground="White" Content="Identity"></Label>
<ComboBox Grid.Column="1" Grid.Row="1" Height="23" Name="comboBoxIdentity" Text="{Binding Identity}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="2" Height="28" Foreground="White" Content="Level"></Label>
<ComboBox Grid.Column="1" Grid.Row="2" Height="23" Name="comboBoxLevel" Text="{Binding Level}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="3" Foreground="White" Content="Message"></Label>
<TextBox Grid.Column="1" Grid.Row="3" Height="23" Name="textBoxMessage" Text="{Binding Message}" />
<Label Grid.Column="0" Grid.Row="4" Height="28" Foreground="White" Content="Thread"></Label>
<ComboBox Grid.Column="1" Grid.Row="4" Height="23" Name="comboBoxThread" Text="{Binding Thread}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="5" Height="28" Foreground="White" Content="NDC"></Label>
<ComboBox Grid.Column="1" Grid.Row="5" Height="23" Name="comboBoxNDC" Text="{Binding NDC}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="6" Height="28" Foreground="White" Content="Machine Name"></Label>
<ComboBox Grid.Column="1" Grid.Row="6" Height="23" Name="comboBoxMachineName" Text="{Binding MachineName}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="7" Height="28" Foreground="White" Content="Host Name"></Label>
<ComboBox Grid.Column="1" Grid.Row="7" Height="23" Name="comboBoxHostName" Text="{Binding HostName}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="8" Height="28" Foreground="White" Content="Application"></Label>
<ComboBox Grid.Column="1" Grid.Row="8" Height="23" Name="comboBoxApplication" Text="{Binding App}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="9" Height="28" Foreground="White" Content="Throwable"></Label>
<TextBox Grid.Column="1" Grid.Row="9" Height="23" Name="textBoxThrowable" Text="{Binding Throwable}" />
<Label Grid.Column="0" Grid.Row="10" Height="28" Foreground="White" Content="Class"></Label>
<ComboBox Grid.Column="1" Grid.Row="10" Height="23" Name="comboBoxClass" Text="{Binding Class}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="11" Height="28" Foreground="White" Content="Method"></Label>
<ComboBox Grid.Column="1" Grid.Row="11" Height="23" Name="comboBoxMethod" Text="{Binding Method}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="12" Height="28" Foreground="White" Content="File"></Label>
<ComboBox Grid.Column="1" Grid.Row="12" Height="23" Name="comboBoxFile" Text="{Binding File}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="13" Height="28" Foreground="White" Content="Log File"></Label>
<ComboBox Grid.Column="1" Grid.Row="13" Height="23" Name="comboLogFile" Text="{Binding LogName}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="14" Height="28" Foreground="White" Content="Logger"></Label>
<ComboBox Grid.Column="1" Grid.Row="14" Height="23" Name="comboLogger" Text="{Binding Logger}" IsEditable="True" />
<Label Grid.Column="0" Grid.Row="15" Height="28" Foreground="White" Content="Time stamp from"></Label>
<TextBox Grid.Column="1" Grid.Row="15" Height="23" Name="textBoxTimestampFrom" Text="{Binding TimeStampFrom, StringFormat=yyyy-MM-dd HH:mm:ss}"/>
<Label Grid.Column="0" Grid.Row="16" Height="28" Foreground="White" Content="Time stamp to"></Label>
<TextBox Grid.Column="1" Grid.Row="16" Height="23" Name="textBoxTimestampTo" Text="{Binding TimeStampTo, StringFormat=yyyy-MM-dd HH:mm:ss}" />
</Grid>
</DockPanel>
</Window>