| | |
| | | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| | | Height="500" Width="750" |
| | | Loaded="Window_Loaded" |
| | | Title="数据入库 v1.3" WindowStartupLocation="CenterScreen"> |
| | | Title="数据入库 v1.4" WindowStartupLocation="CenterScreen"> |
| | | <Window.Resources> |
| | | <Style x:Key="btn" TargetType="Button"> |
| | | <Setter Property="Background" Value="#005699"/> |
| | |
| | | |
| | | <Label Grid.Row="2" Grid.Column="0" Content="入库目录:" VerticalAlignment="Center" HorizontalAlignment="Right" /> |
| | | <TextBox x:Name="tbTarget" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3" Style="{StaticResource tb}" Text="{Binding Path=TargetPath, Mode=TwoWay}"/> |
| | | <Button x:Name="btnTarget" Grid.Row="2" Grid.Column="4" Content="选 择" Style="{StaticResource btn}" Click="Target_MouseLeftButtonDown"/> |
| | | |
| | | <ScrollViewer Grid.Row="3" Grid.RowSpan="3" Grid.Column="0" Grid.ColumnSpan="4" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="2"> |
| | | <Label Grid.Row="3" Grid.Column="0" Content="起始编号:" VerticalAlignment="Center" HorizontalAlignment="Right" /> |
| | | <TextBox x:Name="tbStart" Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Style="{StaticResource tb}" Text="1"/> |
| | | |
| | | <ScrollViewer Grid.Row="4" Grid.RowSpan="3" Grid.Column="0" Grid.ColumnSpan="4" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="2"> |
| | | <ListView x:Name="lvView"> |
| | | <ListView.View> |
| | | <GridView> |
| | |
| | | </ListView> |
| | | </ScrollViewer> |
| | | |
| | | <Button x:Name="btnTarget" Grid.Row="2" Grid.Column="4" Content="选 择" Style="{StaticResource btn}" Click="Target_MouseLeftButtonDown"/> |
| | | <Button x:Name="btnLoad" Grid.Row="3" Grid.Column="4" Content="加 载" Style="{StaticResource btn}" Click="Load_MouseLeftButtonDown"/> |
| | | <Button x:Name="btnImport" Grid.Row="4" Grid.Column="4" Content="导 入" Style="{StaticResource btn}" Click="Import_MouseLeftButtonDown"/> |
| | | </Grid> |