| | |
| | | <StackPanel x:Name="formPanel"> |
| | | <pu:FormGroup Header="{DynamicResource Dv.Datasource.Name}" |
| | | dp:FormGroupHelper.IsRequired="True" |
| | | dp:FormGroupHelper.ValidateMethod="ValidateName" |
| | | Style="{StaticResource InputFormGroupStyle}" |
| | | GroupName="MyFormGroup"> |
| | | <TextBox Style="{StaticResource EditorTextBoxStyle}" x:Name="programInput"/> |
| | |
| | | <ColumnDefinition/> |
| | | <ColumnDefinition Width="Auto"/> |
| | | </Grid.ColumnDefinitions> |
| | | <TextBox Style="{StaticResource EditorTextBoxStyle}" IsReadOnly="True" x:Name="dbFilePathInput"/> |
| | | <TextBox Style="{StaticResource EditorTextBoxStyle}" IsReadOnly="False" x:Name="dbFilePathInput"/> |
| | | <Button Style="{StaticResource SearchButton}" x:Name="searchBtn" Click="Button_Click" Grid.Column="1"/> |
| | | </Grid> |
| | | </pu:FormGroup> |
| | |
| | | x:Name="tableNameInput" SelectionChanged="ComboxSelectionChanged"/> |
| | | </pu:FormGroup> |
| | | |
| | | <pu:FormGroup Header="通配符" Style="{StaticResource InputFormGroupStyle}" GroupName="MyFormGroup"> |
| | | <TextBox Style="{StaticResource EditorTextBoxStyle}" x:Name="TbPattern"/> |
| | | </pu:FormGroup> |
| | | |
| | | <pu:FormGroup Header="{DynamicResource Dv.Datasource.Fields}" Orientation="Vertical" GroupName="MyFormGroup"> |
| | | <Grid dp:GridHelper.Space="10"> |
| | | <Grid.ColumnDefinitions> |
| | |
| | | |
| | | <DataGrid Style="{StaticResource DefaultDataGrid}" |
| | | BorderThickness="1" |
| | | pu:DataGridHelper.ColumnHeaderFontSize="12" |
| | | SelectionMode="Extended" |
| | | ItemsSource="{Binding Columns}" x:Name="columnTable"> |
| | | <DataGrid.Columns> |
| | |
| | | <Button Style="{StaticResource PrimaryButton}" x:Name="addBtn" Click="Button_Click" |
| | | Content="{DynamicResource App.AddTo}"/> |
| | | <Button Style="{StaticResource PrimaryButton}" x:Name="delBtn" Click="Button_Click" |
| | | Content="{DynamicResource App.Delete}" |
| | | /> |
| | | Content="{DynamicResource App.Delete}" /> |
| | | </StackPanel> |
| | | |
| | | <DataGrid Grid.Column="2" Style="{StaticResource DefaultDataGrid}" |
| | | BorderThickness="1" |
| | | IsReadOnly="False" |
| | | SelectionMode="Extended" |
| | | pu:DataGridHelper.ColumnHeaderFontSize="12" |
| | | ItemsSource="{Binding Conditions}" x:Name="conditionTable"> |
| | | <DataGrid.Columns> |
| | | <DataGridTemplateColumn Header="#" CanUserResize="False" IsReadOnly="True"> |