You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
9.1 KiB
XML

<UserControl x:Class="SlnMesnac.WPF.Page.IndexControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SlnMesnac.WPF.Page"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<UserControl.Resources>
</UserControl.Resources>
<Grid>
<Grid.Background>
<ImageBrush ImageSource="/Templates/image/background.jpg" />
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.3*"/>
<ColumnDefinition Width="1.5*"/>
<ColumnDefinition Width="2.2*"/>
<ColumnDefinition Width="1.5*"/>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1.5*"/>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="2.5*"/>
</Grid.ColumnDefinitions>
<!--<Border Grid.Row="0" Grid.Column="0" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="1" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="2" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="3" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="4" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="5" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="6" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="0" Grid.Column="7" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="8" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="8" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="0" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="1" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="2" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="3" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="4" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="5" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="6" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="3" Grid.Column="7" BorderBrush="Black" BorderThickness="2"/>
<Border Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="8" BorderBrush="Black" BorderThickness="2"/>-->
<Border Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="20,0,0,10">
<TextBlock Text="I68" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="10,0,0,10">
<TextBlock Text="I68" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="0" Grid.Column="6" >
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
<TextBlock Text="I68" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="3" Grid.Column="2">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0,0,0,10">
<TextBlock Text="I68" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="3" Grid.Column="4">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0,0,0,10">
<TextBlock Text="I68" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Row="3" Grid.Column="6">
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
<TextBlock Text="I68" FontSize="22" Foreground="Black" FontWeight="Bold" HorizontalAlignment="Center"/>
<TextBox FontSize="18" Foreground="Black" Width="150" Height="30"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button Content="读取" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
<Button Content="写入" Command="{Binding ControlOnClickCommand}" Foreground="White" Style="{StaticResource MaterialDesignFlatMidBgButton}" Width="70" Height="30" Background="#194B9F" BorderBrush="#194B9F" Margin="5,5"/>
</StackPanel>
</StackPanel>
</Border>
</Grid>
</UserControl>