<Window x:Class="CollaborativePlatformProject.CollaborationPlatform.Form.UploadDrawingForm"
        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:HandyControl="clr-namespace:HandyControl.Controls;assembly=HandyControl"
        xmlns:LayUI="clr-namespace:LayUI.Wpf.Controls;assembly=LayUI.Wpf"
        mc:Ignorable="d"
        AllowsTransparency="True"
        Background=" Transparent"
        WindowStartupLocation="CenterScreen"
        WindowStyle="None"
        Title="" SizeToContent="WidthAndHeight" ResizeMode="NoResize">
    <LayUI:LayTitleBar Background="{DynamicResource Blue}"   CornerRadius="10"
                       WindowState="{Binding WindowState, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
        <LayUI:LayTitleBar.Header>
            <Border Height="35">
                <DockPanel>
                    <TextBlock Margin="10,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
                               Text="图纸上传" />
                </DockPanel>
            </Border>
        </LayUI:LayTitleBar.Header>

        <StackPanel Background="White">
            <!--图纸名称-->
            <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
                <LayUI:LayTextBlock  FontSize="15" Margin="20 0 0 0" Text="图纸名称："  VerticalAlignment="Center" />

                <LayUI:LayTextBox Name="tb_dwgName" LayUI:Watermark="" Margin="0 0 20 0" Height="20" HorizontalAlignment="Left" Width="200" />
            </DockPanel>

            <!--账户密码-->
            <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
                <LayUI:LayTextBlock  FontSize="15" Margin="20 0 0 0" Text="是否与前版本对比："  VerticalAlignment="Center" />

                <RadioButton Content="是" IsChecked="True"  Click="ButtonBase_OnClick"/>
                <RadioButton Content="否" Click="ButtonBase_OnClick" Margin="10 0 0 0" />
            </DockPanel>

            <StackPanel Name="sp_contrast"  Visibility="Visible">
                <!--对比图纸-->
                <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
                    <LayUI:LayTextBlock  FontSize="15" Margin="35 0 0 0"  Text="对比图纸："  VerticalAlignment="Center" />

                    <LayUI:LayTextBox Name="tb_dwg2Name" LayUI:Watermark="" Height="20"  HorizontalAlignment="Left" Width="185" />
                </DockPanel>
                <LayUI:LayTextBlock TextWrapping="Wrap"  Foreground="Blue" Width="270"  FontSize="15" Margin="35 10 0 0" Text="注:图纸对比时需对图纸数据进行治理，过程中可能需要人工干预，请关注运行 进展。"  VerticalAlignment="Center" />

                <!--对比范围-->
                <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
                    <LayUI:LayTextBlock  FontSize="15" Margin="35 0 0 0"  Text="对比范围："  VerticalAlignment="Center" />
                    <ComboBox Width="150" Name="cb_range"></ComboBox>
                </DockPanel>
            </StackPanel>

            <LayUI:LayTextBlock  FontSize="15" Margin="20 50 0 0"  Text="更新日志："  VerticalAlignment="Center" />
            <Border Height="100" Width="180" Margin="20 0 0 0">
                <TextBox Height="100" Width="180" HorizontalAlignment="Left" TextWrapping="Wrap" Background="WhiteSmoke" />
            </Border>

            <Button Width="80" Margin="0 20 0 10" VerticalAlignment ="Bottom" Click="Button_Click" Content="上传" />
        </StackPanel>
    </LayUI:LayTitleBar>
</Window>