MQTTProcessNotifier/ConfigUI/MainWindow.xaml

54 lines
2.5 KiB
XML

<Window x:Class="ConfigUI.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:ConfigUI"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="0*"/>
<RowDefinition Height="8*"/>
<RowDefinition Height="0*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0*"/>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="0*"/>
</Grid.ColumnDefinitions>
<ListBox Grid.Row="1" Grid.Column="1" Margin="10"/>
<Grid Grid.Row="1" Grid.Column="3">
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="2*"/>
</Grid.RowDefinitions>
<TextBox Grid.Row="0" Text="Systemname" Margin="10" VerticalContentAlignment="Center"/>
<TextBox Grid.Row="1" Text="Entityname" Margin="10" VerticalContentAlignment="Center"/>
<TextBox Grid.Row="2" Text="MQTTUsername" Margin="10" VerticalContentAlignment="Center"/>
<TextBox Grid.Row="3" Text="MQTTPassword" Margin="10" VerticalContentAlignment="Center"/>
<TextBox Grid.Row="4" Text="MQTTHostname" Margin="10" VerticalContentAlignment="Center"/>
<TextBox Grid.Row="4" Text="Timeout Seconds" Margin="10" VerticalContentAlignment="Center"/>
<Grid Grid.Row="5">
<Grid.RowDefinitions>
<RowDefinition Height="4*"/>
<RowDefinition Height="3*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="6*"/>
<ColumnDefinition Width="6*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Button Grid.Row="1" Grid.Column="1" Content="Save"/>
</Grid>
</Grid>
</Grid>
</Window>