|
|
|
@ -7,8 +7,84 @@ |
|
|
|
|
mc:Ignorable="d" WindowStartupLocation="CenterScreen" |
|
|
|
|
ResizeMode="NoResize" |
|
|
|
|
Icon="./instal.ico" |
|
|
|
|
Title="Spark 1.0 Install Tools" Height="750" Width="500"> |
|
|
|
|
Title="Spark 1.0 Install Tools" Height="550" Width="500"> |
|
|
|
|
<Grid> |
|
|
|
|
|
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
<RowDefinition Height="*" /> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
<RowDefinition Height="*" /> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="0" Text="Spark 1.0 安装部署工具" FontSize="20" |
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0 20 0 0" |
|
|
|
|
/> |
|
|
|
|
<!-- 部署路径 --> |
|
|
|
|
<Grid Grid.Row="2" Grid.Column="0" Margin="20 10 20 0" Height="30"> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
<ColumnDefinition Width="*" /> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<TextBlock Grid.Column="0" Text="部 署 路 径:" VerticalAlignment="Center" Width="80"/> |
|
|
|
|
<TextBox Grid.Column="1" Text="" x:Name="InstallPath" TextAlignment="Left" VerticalContentAlignment="Center"/> |
|
|
|
|
<Button Grid.Column="2" Content="浏览" Width="40" x:Name="BrowseInstallPath" Click="ButtonBase_OnClick"/> |
|
|
|
|
</Grid> |
|
|
|
|
<!-- 登录用户 --> |
|
|
|
|
<Grid Grid.Row="3" Grid.Column="0" Margin="20 10 20 0" Height="30"> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
<ColumnDefinition Width="*" /> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<TextBlock Grid.Column="0" Text="登录用户名:" VerticalAlignment="Center" Width="80"/> |
|
|
|
|
<TextBox Grid.Column="1" Text="" x:Name="DefaultUserName" TextAlignment="Left" VerticalContentAlignment="Center"/> |
|
|
|
|
</Grid> |
|
|
|
|
<!-- 登陆密码 --> |
|
|
|
|
<Grid Grid.Row="4" Grid.Column="0" Margin="20 10 20 0" Height="30"> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
<ColumnDefinition Width="*" /> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<TextBlock Grid.Column="0" Text="登 录 密 码:" VerticalAlignment="Center" Width="80"/> |
|
|
|
|
<TextBox Grid.Column="1" Text="" x:Name="DefaultPassword" TextAlignment="Left" VerticalContentAlignment="Center"/> |
|
|
|
|
</Grid> |
|
|
|
|
<!-- 设备号 --> |
|
|
|
|
<Grid Grid.Row="5" Grid.Column="0" Margin="20 10 20 0" Height="30"> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
<ColumnDefinition Width="*" /> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<TextBlock Grid.Column="0" Text="设 备 号 码:" VerticalAlignment="Center" Width="80"/> |
|
|
|
|
<TextBox Grid.Column="1" Text="" x:Name="DeviceCode" TextAlignment="Left" VerticalContentAlignment="Center"/> |
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
<Grid Grid.Row="7" Grid.Column="0" Margin="20 10 20 0" Height="20"> |
|
|
|
|
<!-- <Grid.ColumnDefinitions> --> |
|
|
|
|
<!-- <ColumnDefinition Width="Auto" /> --> |
|
|
|
|
<!-- <ColumnDefinition Width="*" /> --> |
|
|
|
|
<!-- <ColumnDefinition Width="*" /> --> |
|
|
|
|
<!-- <ColumnDefinition Width="Auto" /> --> |
|
|
|
|
<!-- </Grid.ColumnDefinitions> --> |
|
|
|
|
<!-- <Button Grid.Column="1" Content="资源完整性检测" x:Name="InstallCheck" Click="ButtonBase_OnClick"/> --> |
|
|
|
|
<!-- <Button Grid.Column="2" Content="运行环境检测" x:Name="ll1" Click="ButtonBase_OnClick"/> --> |
|
|
|
|
<CheckBox Content="部署完成后,在桌面创建快捷方式。" IsChecked="True"></CheckBox> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid Grid.Row="8" Grid.Column="0" Margin="20 10 20 20" Height="30"> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
<ColumnDefinition Width="*" /> |
|
|
|
|
<ColumnDefinition Width="Auto" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<Button Grid.Column="1" Content="一键部署" x:Name="Install" Click="ButtonBase_OnClick"/> |
|
|
|
|
</Grid> |
|
|
|
|
</Grid> |
|
|
|
|
</Window> |
|
|
|
|