forked from BornToBeRoot/NETworkManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStatusWindow.xaml
More file actions
36 lines (36 loc) · 2.9 KB
/
StatusWindow.xaml
File metadata and controls
36 lines (36 loc) · 2.9 KB
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
<mahAppsControls:MetroWindow x:Class="NETworkManager.StatusWindow"
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:mahAppsControls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:loadingIndicators="clr-namespace:LoadingIndicators.WPF;assembly=LoadingIndicators.WPF"
xmlns:localization="clr-namespace:NETworkManager.Localization.Resources;assembly=NETworkManager.Localization"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:resources="clr-namespace:NETworkManager.Properties"
xmlns:networkManager="clr-namespace:NETworkManager"
xmlns:converters="clr-namespace:NETworkManager.Converters;assembly=NETworkManager.Converters"
mc:Ignorable="d" d:DataContext="{d:DesignInstance networkManager:StatusWindow}"
Title="{x:Static resources:Resources.NETworkManager_ProjectName}" Style="{DynamicResource DefaultWindow}" Deactivated="MetroWindow_Deactivated" Height="280" Width="950" ShowInTaskbar="False" ResizeMode="NoResize" IsWindowDraggable="False" ShowMinButton="False" ShowMaxRestoreButton="False" ShowCloseButton="False" ShowTitleBar="False" Closing="MetroWindow_Closing" >
<mahAppsControls:MetroWindow.Resources>
<converters:Bytes1000ToSpeedConverter x:Key="Bytes1000ToSpeedConverter" />
<converters:IPAddressArrayToStringConverter x:Key="IPAddressArrayToStringConverter" />
<converters:BooleanToVisibilityCollapsedConverter x:Key="BooleanToVisibilityCollapsedConverter" />
<converters:BooleanReverseToVisibilityCollapsedConverter x:Key="BooleanReverseToVisibilityCollapsedConverter" />
</mahAppsControls:MetroWindow.Resources>
<Grid Margin="10">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="10" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ContentControl x:Name="ContentControlNetworkConnection" Grid.Row="0" />
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="{x:Static localization:Strings.Reload}" Command="{Binding ReloadCommand}" Style="{StaticResource DefaultButton}" Margin="0,0,10,0" />
<Button Content="{x:Static localization:Strings.Show}" Command="{Binding ShowMainWindowCommand}" Style="{StaticResource DefaultButton}" Margin="0,0,10,0" />
<Button Content="{x:Static localization:Strings.Close}" Command="{Binding CloseCommand}" Style="{StaticResource DefaultButton}" />
</StackPanel>
</Grid>
</Grid>
</mahAppsControls:MetroWindow>