| | |
| | | <Window x:Class="DataLoader.MainWindow" |
| | | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| | | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| | | Height="700" Width="900" |
| | | Loaded="Window_Loaded" |
| | | Height="700" Width="900" Loaded="Window_Loaded" |
| | | Title="数据入库 v1.5" WindowStartupLocation="CenterScreen"> |
| | | <Window.Resources> |
| | | <Style x:Key="btn" TargetType="Button"> |
| | |
| | | <Style x:Key="tb" TargetType="TextBox"> |
| | | <Setter Property="VerticalAlignment" Value="Center"/> |
| | | <Setter Property="HorizontalAlignment" Value="Stretch"/> |
| | | <Setter Property="VerticalContentAlignment" Value="Center"/> |
| | | <Setter Property="Height" Value="30"/> |
| | | <Setter Property="FontSize" Value="20"/> |
| | | <Setter Property="FontSize" Value="16"/> |
| | | </Style> |
| | | |
| | | <!--Combox--> |
| | |
| | | <Setter Property="BorderThickness" Value="0"/> |
| | | </Style> |
| | | |
| | | <!--<Style TargetType="DatePickerTextBox"> |
| | | <Style TargetType="DatePickerTextBox"> |
| | | <Setter Property="ItemsControl.Template"> |
| | | <Setter.Value> |
| | | <ControlTemplate> |
| | |
| | | </ControlTemplate> |
| | | </Setter.Value> |
| | | </Setter> |
| | | </Style>--> |
| | | </Style> |
| | | </Window.Resources> |
| | | <Grid x:Name="gMain"> |
| | | <Grid.RowDefinitions> |
| | |
| | | <Button Grid.Row="0" Grid.Column="4" Content="登 录" Style="{StaticResource btn}" Click="Login_MouseLeftButtonDown"/> |
| | | |
| | | <Label Grid.Row="1" Grid.Column="0" Content="令牌:" VerticalAlignment="Center" HorizontalAlignment="Right" /> |
| | | <TextBox Grid.Row="1" Grid.Column="1" Style="{StaticResource tb}" IsReadOnly="True" x:Name="tbToken"/> |
| | | <TextBox Grid.Row="1" Grid.Column="1" Style="{StaticResource tb}" IsReadOnly="True" x:Name="tbToken"/> |
| | | <Label Grid.Row="1" Grid.Column="2" Content="元数据类型:" VerticalAlignment="Center" HorizontalAlignment="Right" /> |
| | | <!--<TextBox Grid.Row="1" Grid.Column="3" Style="{StaticResource tb}" x:Name="tbAcqTim2e"/>--> |
| | | <!--<ComboBox Grid.Row="1" Grid.Column="3" IsReadOnly="True" DisplayMemberPath="Name" Style="{StaticResource ComboBoxStyle}" Width="320" Height="30" HorizontalAlignment="Left" x:Name="cbMetaType"></ComboBox>--> |
| | |
| | | |
| | | |
| | | <Label Grid.Row="3" Grid.Column="0" Content="资源目录:" VerticalAlignment="Center" HorizontalAlignment="Right" /> |
| | | <TextBox Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Style="{StaticResource tb}" x:Name="tbDir"/> |
| | | <TextBox Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Style="{StaticResource tb}" IsReadOnly="True" x:Name="tbDir"/> |
| | | <Button Grid.Row="3" Grid.Column="4" Content="选 择" Style="{StaticResource btn}" Click="Dir_MouseLeftButtonDown" x:Name="btnDir"/> |
| | | |
| | | <Label Grid.Row="4" Grid.Column="0" Content="数据目录:" VerticalAlignment="Center" HorizontalAlignment="Right" /> |