<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:ButcherFactory.Tools" x:Class="ButcherFactory.Tools.MainWindow"
        Title="BWP_Tools" Height="500" Width="525" ResizeMode="NoResize" >
  <Grid Margin="0,0,2,0">
    <Label Content="MES地址" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,30,0,0" VerticalAlignment="Top" Height="47"/>
    <TextBox x:Name="mesUrlBox" HorizontalAlignment="Left" Height="65" Margin="179,34,0,0" TextWrapping="Wrap" FontSize="15px" Text="" VerticalAlignment="Top" Width="229" PreviewMouseLeftButtonDown="UrlTextBoxClick"/>
    <Label Content="B3地址" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,118,0,0" VerticalAlignment="Top" Height="47"/>
    <TextBox x:Name="b3UrlBox" HorizontalAlignment="Left" Height="65" Margin="179,122,0,0" TextWrapping="Wrap" FontSize="15px" Text="" VerticalAlignment="Top" Width="229" PreviewMouseLeftButtonDown="UrlTextBoxClick"/>
    <Label Content="服务模式" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="69,206,0,0" VerticalAlignment="Top" Height="47"/>
    <ComboBox x:Name="modeComboBox" HorizontalAlignment="Left" Margin="179,210,0,0" FontSize="18px" VerticalContentAlignment="Center" VerticalAlignment="Top" Width="229" Height="37"/>
    <Label Content="数据库" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,256,0,0" VerticalAlignment="Top" Height="47"/>
    <ComboBox x:Name="dbComboBox" HorizontalAlignment="Left" Margin="179,262,0,0" FontSize="18px" VerticalContentAlignment="Center" VerticalAlignment="Top" Width="229" Height="37"/>
    <Label Content="机器码" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="18px" Margin="84,311,0,0" VerticalAlignment="Top" Height="47"/>
    <TextBox x:Name="clientCodeBox" HorizontalAlignment="Left" Margin="179,320,0,0" FontSize="18px" VerticalContentAlignment="Center" VerticalAlignment="Top" Width="229" Height="37" PreviewMouseLeftButtonDown="UrlTextBoxClick"/>
    <Button Content="保存" FontSize="18px" Margin="76,380,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="SaveBtnClick"/>
    <Button Content="升级" FontSize="18px" Margin="201,380,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="Button_Click"/>
    <Button Content="关闭" FontSize="18px" Margin="324,380,0,0" Height="50" Width="94" HorizontalAlignment="Left" VerticalAlignment="Top" Click="CloseBtnClick"/>
  </Grid>
</Window>
