加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
MainWindow.xaml 2.85 KB
一键复制 编辑 原始数据 按行查看 历史
lifajia 提交于 2022-06-18 15:55 . 加入图标
<Window x:Class="codeGenerator.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:codeGenerator"
mc:Ignorable="d"
Title="{StaticResource MainWindowName}" Height="450" Width="800" WindowStartupLocation="CenterScreen" >
<Viewbox>
<Grid Height="450" Width="850">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
<TextBlock Text="{StaticResource TempStr}" Margin="5 0 0 0"></TextBlock>
<TextBox x:Name="TableNameTextBox" Margin="5" Height="20" AcceptsReturn="True" TextWrapping="Wrap"
TextChanged="tableNameTextBox_TextChanged" />
</StackPanel>
<StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" Grid.RowSpan="9">
<TextBox Name="SqlTextBox" Width="269" MaxWidth="300" Margin="5" AcceptsReturn="True"
VerticalScrollBarVisibility="Visible" TextWrapping="Wrap" />
</StackPanel>
<StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal" Grid.RowSpan="9" Grid.ColumnSpan="2">
<TextBox Name="JavaTextBox" Width="530" MaxWidth="530" Margin="2"
VerticalScrollBarVisibility="Visible" AcceptsReturn="True" TextWrapping="Wrap" />
</StackPanel>
<StackPanel Grid.Row="9" Grid.Column="1" Grid.ColumnSpan="2" Orientation="Horizontal">
<CheckBox Content="swagger注解" Margin="0 10 5 0" />
<CheckBox Content="Java文档注释" Margin="0 10 5 0" />
<CheckBox Content="mybatis plus注解" Margin="0 10 5 0" />
<CheckBox Content="生成set" Margin="0 10 5 0" />
<Button x:Name="EnterButton" Click="EnterButton_OnClick" Margin="5" Content="生成" Width="85" Height="30" />
</StackPanel>
</Grid>
</Viewbox>
</Window>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化