<Window x:Class="CollaborativePlatformMain.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:local="clr-namespace:CollaborativePlatformMain.Form"
        xmlns:HandyControl="clr-namespace:HandyControl.Controls;assembly=HandyControl"
        xmlns:ucontrols="clr-namespace:CollaborativePlatformMain.Form.UserControlForm"
        mc:Ignorable="d"
        WindowStartupLocation="CenterScreen" Loaded="Window_Loaded"
        Title="图纸上传" SizeToContent="WidthAndHeight" ResizeMode="NoResize">

    <StackPanel Background="White">
        <!--图纸名称-->
        <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
            <Label Margin="10 0 0 0" Content="版本名称："  VerticalAlignment="Center" />
            <TextBox Name="tb_dwgName" Margin="0 0 20 0" Height="20" HorizontalAlignment="Left" Width="200" />
        </DockPanel>

        <DockPanel Margin="0,10,0,0">
            <Button Name="bt_xaunze" Content="选择上传图纸" Width="100" Click="bt_xaunze_Click" />
        </DockPanel>

        <StackPanel Name="sp_duibi" Visibility="Collapsed">

            <!--是否与前版本对比-->
            <DockPanel Margin="10 20 0 0" HorizontalAlignment="Left">
                <Label  Content="是否与前版本对比："  VerticalAlignment="Center" />
                <RadioButton Content="是"  Click="ButtonBase_OnClick"/>
                <RadioButton Content="否" IsChecked="True" Click="ButtonBase_OnClick" Margin="10 0 0 0" />
            </DockPanel>

            <StackPanel Name="sp_contrast"  Visibility="Collapsed">
                <!--对比版本-->
                <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
                    <Label Margin="35 0 0 0"  Content="对比版本："  VerticalAlignment="Center" />
                    <ComboBox Name="cb_dwgName" SelectionChanged="cb_dwgName_SelectionChanged"  HorizontalAlignment="Left"  Width="175" />
                </DockPanel>
                <!--对比范围-->
                <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
                    <Label Margin="35 0 0 0"  Content="对比范围："  VerticalAlignment="Center" />
                    <ucontrols:NativeCombox x:Name="cb_floor"  Width="175"  HorizontalAlignment="Left"/>
                </DockPanel>

                <TextBlock TextWrapping="Wrap"  Foreground="Blue" Width="270"   Margin="35 10 0 0" Text="注:图纸对比时需对图纸数据进行治理，过程中可能需要人工干预，请关注运行 进展。"  VerticalAlignment="Center" />

            </StackPanel>
        </StackPanel>

        <StackPanel>
            <Label  Margin="10 50 0 0"  Content="更新日志：" Width="80" HorizontalAlignment="Left" />
            <RichTextBox Margin="60,5,0,0" Height="100" Width="180" FlowDirection="LeftToRight" HorizontalAlignment="Left" Background="WhiteSmoke" />
        </StackPanel>


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