55 lines
1.9 KiB
XML
55 lines
1.9 KiB
XML
<Window x:Class="IpRangeToConfigConverter.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:IpRangeToConfigConverter"
|
|
mc:Ignorable="d"
|
|
Title="MainWindow"
|
|
Height="450"
|
|
Width="800"
|
|
DataContext="{Binding RelativeSource={RelativeSource Self}}">
|
|
|
|
<Border Padding="10">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto " />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBox Grid.Row="0"
|
|
Grid.Column="0"
|
|
Padding="2.5"
|
|
Text="{Binding SelectedFile}" />
|
|
|
|
<Button x:Name="SearchFileButton"
|
|
Grid.Row="0"
|
|
Grid.Column="1"
|
|
Click="SearchFileButton_Click"
|
|
ToolTip="Select File"
|
|
Margin="10 0 0 0"
|
|
Padding="5,0">...</Button>
|
|
|
|
<Button Grid.Row="1"
|
|
Grid.ColumnSpan="2"
|
|
Margin="0 10"
|
|
Content="Convert"
|
|
Click="ConvertButton_Click" />
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto"
|
|
Grid.Row="2"
|
|
Grid.ColumnSpan="2">
|
|
<RichTextBox x:Name="OutputTextBox" />
|
|
</ScrollViewer>
|
|
|
|
</Grid>
|
|
</Border>
|
|
|
|
</Window>
|