-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMainWindow.xaml
58 lines (50 loc) · 3.78 KB
/
MainWindow.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
<Window x:Class="SnifferGunbound.MainWindow"
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:SnifferGunbound"
mc:Ignorable="d"
Title="MainWindow" Height="600" Width="1000" Loaded="Window_Loaded" MinHeight="350" MinWidth="790" WindowStartupLocation="CenterScreen" Closed="Window_Closed" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50*"/>
<ColumnDefinition Width="50*"/>
</Grid.ColumnDefinitions>
<GroupBox Header="TCP Dump" HorizontalAlignment="Stretch" Margin="5,5,5,5" VerticalAlignment="Stretch" Grid.RowSpan="2" >
<Grid >
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox VerticalScrollBarVisibility="Visible" Name="TXTTCPLOG" HorizontalAlignment="Stretch" TextWrapping="Wrap" VerticalAlignment="Stretch" Margin="0,0,0,5" />
<Button Name="TXTTCPClear" Content="Clear" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Grid.Row="1" Click="TXTTCPClear_Click"/>
</Grid>
</GroupBox>
<GroupBox Header="UDP Dump" HorizontalAlignment="Stretch" Margin="5,5,5,5" VerticalAlignment="Stretch" Grid.Column="1" Grid.RowSpan="2" >
<Grid >
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox VerticalScrollBarVisibility="Visible" Name="TXTUDPLOG" HorizontalAlignment="Stretch" TextWrapping="Wrap" VerticalAlignment="Stretch" Margin="0,0,0,5" />
<Button Name="TXTUDPClear" Content="Clear" HorizontalAlignment="Left" Width="75" Grid.Row="1" Click="TXTUDPClear_Click"/>
</Grid>
</GroupBox>
</Grid>
<Grid Grid.ColumnSpan="1" Grid.Row="1" Margin="5">
<ComboBox Name="ComboAdapter" HorizontalAlignment="Left" VerticalAlignment="Top" Width="363" Height="23" Margin="0,0,0,0"/>
<Button Name="BTNSTART" Content="Start" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Height="23" Margin="368,0,0,0" Click="BTNSTART_Click" />
<Label Content="Port:" HorizontalAlignment="Left" Margin="448,-1,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Height="23" Width="39"/>
<TextBox Name="TXTPORT" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" HorizontalAlignment="Left" Height="23" Margin="492,0,0,0" TextWrapping="Wrap" Text="8501,8502,8444,8372" VerticalAlignment="Top" Width="205"/>
<Button Name="BTNAPPLY" Content="Apply" HorizontalAlignment="Left" Margin="702,0,0,0" VerticalAlignment="Top" Width="70" Click="BTNAPPLY_Click" Height="23"/>
<TextBox Name="TXTGBP" HorizontalAlignment="Left" VerticalContentAlignment="Center" Height="23" Margin="852,-1,0,0" TextWrapping="Wrap" Text="GBPassword" VerticalAlignment="Top" Width="120"/>
<Label Content="Password:" HorizontalAlignment="Left" Margin="772,-1,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Height="23" Width="75"/>
</Grid>
</Grid>
</Window>