2016-11-15 16:43:12 -05:00
|
|
|
<Window x:Class="WifiSitterGui.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:WifiSitterGui"
|
|
|
|
xmlns:tb="http://www.hardcodet.net/taskbar"
|
2016-11-17 13:06:17 -05:00
|
|
|
xmlns:vm="clr-namespace:WifiSitterGui.ViewModel"
|
2016-11-15 16:43:12 -05:00
|
|
|
mc:Ignorable="d"
|
2016-11-15 20:50:47 -05:00
|
|
|
Icon="pack://application:,,,/Resources/wifisitter-icon.ico"
|
|
|
|
Title="WifiSitter Config"
|
|
|
|
Height="600"
|
|
|
|
Width="525">
|
2016-11-17 13:06:17 -05:00
|
|
|
|
|
|
|
<Window.DataContext>
|
|
|
|
<vm:MainWindowViewModel/>
|
|
|
|
</Window.DataContext>
|
2016-11-15 16:43:12 -05:00
|
|
|
<Grid>
|
2016-11-18 23:28:53 -05:00
|
|
|
<TabControl>
|
|
|
|
<TabItem Header="Status">
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="62"/>
|
|
|
|
<RowDefinition/>
|
2016-11-21 19:16:14 -05:00
|
|
|
<RowDefinition/>
|
2016-12-17 21:49:05 -05:00
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
2016-11-18 23:28:53 -05:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<TextBlock>
|
|
|
|
<Run>Service Status: </Run> <Run Text="{Binding ServiceState, Mode=OneWay}"/>
|
|
|
|
</TextBlock>
|
|
|
|
|
2016-12-17 21:49:05 -05:00
|
|
|
<DataGrid x:Name="DataGridWiredNics"
|
2016-11-18 23:28:53 -05:00
|
|
|
Grid.Row="1"
|
2016-12-17 18:26:44 -05:00
|
|
|
IsReadOnly="True"
|
2016-12-17 21:49:05 -05:00
|
|
|
ItemsSource="{Binding WiredNics, Mode=OneWay}" />
|
|
|
|
<DataGrid x:Name="DataGridWirelessNics"
|
|
|
|
Grid.Row="2"
|
|
|
|
IsReadOnly="True"
|
|
|
|
ItemsSource="{Binding WirelessNics, Mode=OneWay}" />
|
|
|
|
<DataGrid x:Name="DataGridIgnoredNics"
|
|
|
|
Grid.Row="3"
|
|
|
|
IsReadOnly="True"
|
|
|
|
AutoGenerateColumns="False"
|
|
|
|
ItemsSource="{Binding IgnoredNics, Mode=OneWay}">
|
|
|
|
<DataGrid.Columns>
|
|
|
|
<DataGridTextColumn Header="Name" Binding="{Binding Name}"/>
|
|
|
|
<DataGridTextColumn Header="Description" Binding="{Binding Description}"/>
|
|
|
|
<DataGridTextColumn Header="Type" Binding="{Binding NetworkInterfaceType}"/>
|
|
|
|
</DataGrid.Columns>
|
|
|
|
</DataGrid>
|
2016-11-21 19:16:14 -05:00
|
|
|
<ListBox x:Name="IgnoredNicsList"
|
2016-12-17 21:49:05 -05:00
|
|
|
Grid.Row="4"
|
|
|
|
ItemsSource="{Binding Whitelist, Mode=OneWay}" />
|
2016-11-18 23:28:53 -05:00
|
|
|
</Grid>
|
|
|
|
</TabItem>
|
|
|
|
|
|
|
|
<TabItem Header="Settings">
|
|
|
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
|
|
</TabControl>
|
2016-11-30 15:32:17 -05:00
|
|
|
|
|
|
|
<Button x:Name="Btn_About"
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
Margin="4,0"
|
|
|
|
Click="Btn_About_Click">About</Button>
|
2016-11-15 16:43:12 -05:00
|
|
|
</Grid>
|
|
|
|
</Window>
|