-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
42 lines (40 loc) · 4.33 KB
/
MainWindow.xaml
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
37
38
39
40
41
42
<Window x:Name="baha_skip_editor" x:Class="baha_skip.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:baha_skip"
mc:Ignorable="d"
Title="baha_skip Editor" Height="450" Width="800">
<Grid Background="#FF00B4D8">
<Grid.RowDefinitions>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="133*"/>
<ColumnDefinition Width="263*"/>
</Grid.ColumnDefinitions>
<ListView x:Name="json_lv" Margin="10,10,23,10" SelectionChanged="json_lv_SelectionChanged" Background="#FFFD8200" BorderBrush="White" Foreground="#FF151821">
<ListView.View>
<GridView>
<GridViewColumn Header="☢SN" Width="200" DisplayMemberBinding="{Binding sn}" />
</GridView>
</ListView.View>
</ListView>
<Label Content="Sn" Grid.Column="1" Margin="36,42,0,0" FontSize="18" Height="33" VerticalAlignment="Top" HorizontalAlignment="Left" Width="31" Foreground="White"/>
<TextBox x:Name="sn_tb" Grid.Column="1" Margin="78,46,0,0" TextWrapping="Wrap" FontSize="18" Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="235" TabIndex="0"/>
<Label Content="OP Start" Grid.Column="1" Margin="36,88,0,0" FontSize="18" Height="33" VerticalAlignment="Top" HorizontalAlignment="Left" Width="83" Foreground="White"/>
<TextBox x:Name="opStart_tb" Grid.Column="1" Margin="124,92,0,0" TextWrapping="Wrap" FontSize="18" Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="235" TabIndex="1"/>
<Label Content="OP End" Grid.Column="1" Margin="36,125,0,0" FontSize="18" Height="33" VerticalAlignment="Top" HorizontalAlignment="Left" Width="83" Foreground="White"/>
<TextBox x:Name="opEnd_tb" Grid.Column="1" Margin="124,129,0,0" TextWrapping="Wrap" FontSize="18" Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="235" TabIndex="2"/>
<Label Content="ED Start" Grid.Column="1" Margin="36,177,0,0" FontSize="18" Height="33" VerticalAlignment="Top" HorizontalAlignment="Left" Width="83" Foreground="White"/>
<TextBox x:Name="edStart_tb" Grid.Column="1" Margin="124,181,0,0" TextWrapping="Wrap" FontSize="18" Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="235" TabIndex="3"/>
<Label Content="ED End" Grid.Column="1" Margin="36,214,0,0" FontSize="18" Height="33" VerticalAlignment="Top" HorizontalAlignment="Left" Width="83" Foreground="White"/>
<TextBox x:Name="edEnd_tb" Grid.Column="1" Margin="124,218,0,0" TextWrapping="Wrap" FontSize="18" Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="235" TabIndex="4"/>
<Button Content="🗑" Grid.Column="1" Margin="0,0,250,10" FontSize="36" Foreground="White" BorderBrush="#FFB4AEB3" Background="#FFFD8200" Height="68" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" TabIndex="7" VerticalContentAlignment="Center"/>
<Button x:Name="apply_btn" IsDefault="True" Content="✅" Grid.Column="1" Margin="0,0,90,10" FontSize="36" Foreground="White" BorderBrush="#FFC954B5" Background="#FFFD8200" Height="68" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" TabIndex="5" Click="apply_Click" VerticalContentAlignment="Center"/>
<Button Content="<" Grid.Column="1" Margin="0,0,170,10" FontSize="36" Foreground="White" BorderBrush="#FFB4AEB3" Background="#FFFD8200" Height="68" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" Click="Button_Click" TabIndex="6" VerticalContentAlignment="Center"/>
<Button Content=">" Grid.Column="1" Margin="0,0,10,10" FontSize="36" Foreground="White" BorderBrush="#FFB4AEB3" Background="#FFFD8200" Height="68" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" TabIndex="5" VerticalContentAlignment="Center"/>
<CheckBox x:Name="newData_chb" Content="🆕新增模式" Grid.Column="1" Margin="0,0,222,79" FontSize="16" Height="19" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="103" Foreground="White"/>
</Grid>
</Window>