|
@@ -14,7 +14,7 @@
|
|
|
<TabItem Header="欢迎">
|
|
|
<Grid VerticalAlignment="Top">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="Auto" />
|
|
|
+ <ColumnDefinition Width="50" />
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
</Grid.ColumnDefinitions>
|
|
|
<Grid.RowDefinitions>
|
|
@@ -26,12 +26,22 @@
|
|
|
<RowDefinition Height="20" />
|
|
|
<RowDefinition Height="Auto" />
|
|
|
</Grid.RowDefinitions>
|
|
|
- <Image Grid.Column="0" Grid.Row="0" Source="/Res/icons8_omnichannel_48.png" Stretch="None" Margin="3"/>
|
|
|
- <TextBlock Grid.Column="1" Grid.Row="0" Text="欢迎!" Margin="10" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="24" Foreground="#0368ba"/>
|
|
|
- <Border Grid.ColumnSpan="3" Grid.Row="1" Background="#0368ba" Height="3"/>
|
|
|
- <TextBlock x:Name="maxim" Grid.Column="1" Grid.Row="2" Text="maxim" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="36" Foreground="#0368ba"/>
|
|
|
- <TextBlock x:Name="dbName0" Grid.Column="1" Grid.Row="3" Text="dbName0" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="18" Foreground="#000000"/>
|
|
|
- <TextBlock x:Name="dbName1" Grid.Column="1" Grid.Row="4" Text="dbName1" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="18" Foreground="#989898"/>
|
|
|
+ <Grid Grid.ColumnSpan="2" Grid.Row="0">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Image Grid.Column="0" Grid.Row="0" Source="/Resources/icons8_omnichannel_48.png" Margin="3"/>
|
|
|
+ <TextBlock x:Name="welcomeText" Grid.Column="1" Grid.Row="0" Text="欢迎!" Margin="10" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="24" Foreground="#0368ba"/>
|
|
|
+ <Border Grid.ColumnSpan="2" Grid.Row="1" Background="#0368ba" Height="3"/>
|
|
|
+ </Grid>
|
|
|
+ <TextBlock x:Name="WelcomeTitle" Grid.Column="1" Grid.Row="2" Text="maxim" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="36" Foreground="#0368ba"/>
|
|
|
+ <TextBlock x:Name="DatabaseName" Grid.Column="1" Grid.Row="3" Text="dbName0" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="18" Foreground="#000000"/>
|
|
|
+ <TextBlock x:Name="DatabaseSubtitle" Grid.Column="1" Grid.Row="4" Text="dbName1" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="18" Foreground="#989898"/>
|
|
|
<TextBlock Grid.Column="1" Grid.Row="6" Text="此数据库中所收集之信息皆应由合法渠道取得。注意保密!" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="18" Foreground="#000000"/>
|
|
|
</Grid>
|
|
|
</TabItem>
|
|
@@ -53,29 +63,65 @@
|
|
|
<RowDefinition Height="Auto" />
|
|
|
<RowDefinition Height="Auto" />
|
|
|
<RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
</Grid.RowDefinitions>
|
|
|
- <TextBlock Grid.Column="2" Grid.Row="0" Text="当前值" Margin="10"/>
|
|
|
-
|
|
|
- <TextBlock Grid.Column="0" Grid.Row="1" Text="数据库名称" Margin="10"/>
|
|
|
- <TextBox x:Name="dbNameBox0" Grid.Column="1" Grid.Row="1" Height="18" Width="150"/>
|
|
|
- <TextBlock x:Name="dbCuName0" Grid.Column="2" Grid.Row="1" Text="dbCuName0" Margin="10"/>
|
|
|
-
|
|
|
- <TextBlock Grid.Column="0" Grid.Row="2" Text="数据库副标题" Margin="10"/>
|
|
|
- <TextBox x:Name="dbNameBox1" Grid.Column="1" Grid.Row="2" Height="18" Width="150"/>
|
|
|
- <TextBlock x:Name="dbCuName1" Grid.Column="2" Grid.Row="2" Text="dbCuName1" Margin="10"/>
|
|
|
+ <Grid Grid.ColumnSpan="3" Grid.Row="0">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Image Grid.Column="0" Grid.Row="0" Source="/Resources/icons8_omnichannel_48.png" Margin="3"/>
|
|
|
+ <TextBlock Grid.Column="1" Grid.Row="0" Text="设置" Margin="10" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="24" Foreground="#0368ba"/>
|
|
|
+ <Border Grid.ColumnSpan="3" Grid.Row="1" Background="#0368ba" Height="3"/>
|
|
|
+ </Grid>
|
|
|
+ <Button x:Name="settingSaveButton0" Grid.Column="0" Grid.Row="1" Content="保存" HorizontalAlignment="Center" VerticalAlignment="Center" Width="50" Height="20" Click="Button_Click" IsEnabled="False"/>
|
|
|
+ <TextBlock Grid.Column="1" Grid.Row="1" Text="提示:若无更改则留空" Margin="0,10,10,10" Foreground="Gray"/>
|
|
|
+ <TextBlock Grid.Column="2" Grid.Row="1" Text="当前值" Margin="10"/>
|
|
|
+
|
|
|
+ <TextBlock Grid.Column="0" Grid.Row="2" Text="数据库名称" Margin="10"/>
|
|
|
+ <TextBox x:Name="DatabaseNameBox" Grid.Column="1" Grid.Row="2" Height="18" Width="150" TextChanged="TextChanged"/>
|
|
|
+ <TextBlock x:Name="DatabaseNameCu" Grid.Column="2" Grid.Row="2" Text="DatabaseName" Margin="10"/>
|
|
|
+
|
|
|
+ <TextBlock Grid.Column="0" Grid.Row="3" Text="数据库副标题" Margin="10"/>
|
|
|
+ <TextBox x:Name="DatabaseSubtitleBox" Grid.Column="1" Grid.Row="3" Height="18" Width="150" TextChanged="TextChanged"/>
|
|
|
+ <TextBlock x:Name="DatabaseSubtitleCu" Grid.Column="2" Grid.Row="3" Text="DatabaseSubtitle" Margin="10"/>
|
|
|
|
|
|
- <TextBlock Grid.Column="0" Grid.Row="3" Text="欢迎标题" Margin="10"/>
|
|
|
- <TextBox x:Name="cuMaximBox" Grid.Column="1" Grid.Row="3" Height="18" Width="150"/>
|
|
|
- <TextBlock x:Name="cuMaxim" Grid.Column="2" Grid.Row="3" Text="cuMaxim" Margin="10"/>
|
|
|
+ <TextBlock Grid.Column="0" Grid.Row="4" Text="欢迎标题" Margin="10"/>
|
|
|
+ <TextBox x:Name="WelcomeTitleBox" Grid.Column="1" Grid.Row="4" Height="18" Width="150" TextChanged="TextChanged"/>
|
|
|
+ <TextBlock x:Name="WelcomeTitleCu" Grid.Column="2" Grid.Row="4" Text="WelcomeTitle" Margin="10"/>
|
|
|
|
|
|
- <TextBlock Grid.Column="0" Grid.Row="4" Text="数据库密码" Margin="10"/>
|
|
|
- <TextBox x:Name="pswdBox" Grid.Column="1" Grid.Row="4" Height="18" Width="150"/>
|
|
|
- <TextBlock x:Name="cuPswd" Grid.Column="2" Grid.Row="4" Text="cuPswd" Margin="10"/>
|
|
|
+ <TextBlock Grid.Column="0" Grid.Row="5" Text="用户名" Margin="10"/>
|
|
|
+ <TextBox x:Name="UsernameBox" Grid.Column="1" Grid.Row="5" Height="18" Width="150" TextChanged="TextChanged"/>
|
|
|
+ <TextBlock x:Name="UsernameCu" Grid.Column="2" Grid.Row="5" Text="Username" Margin="10"/>
|
|
|
+
|
|
|
+ <TextBlock Grid.Column="0" Grid.Row="6" Text="数据库密码" Margin="10" Foreground="Red"/>
|
|
|
+ <TextBox x:Name="PasswordBox" Grid.Column="1" Grid.Row="6" Height="18" Width="150" Foreground="Red" TextChanged="TextChanged"/>
|
|
|
+ <TextBlock x:Name="PasswordCu" Grid.Column="2" Grid.Row="6" Text="Password" Margin="10" Foreground="Red"/>
|
|
|
+
|
|
|
+ <Button x:Name="settingSaveButton1" Grid.Column="0" Grid.Row="100" Content="保存" HorizontalAlignment="Center" VerticalAlignment="Center" Width="50" Height="20" Click="Button_Click" IsEnabled="False"/>
|
|
|
</Grid>
|
|
|
</TabItem>
|
|
|
<TabItem Header="关于">
|
|
|
<Grid>
|
|
|
-
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Image Grid.Column="0" Grid.Row="0" Source="/Resources/icons8_omnichannel_128.png" Margin="3"/>
|
|
|
</Grid>
|
|
|
</TabItem>
|
|
|
</TabControl>
|