UploadDrawingForm.xaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <Window x:Class="CollaborativePlatformMain.Form.UploadDrawingForm"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:CollaborativePlatformMain.Form"
  7. xmlns:HandyControl="clr-namespace:HandyControl.Controls;assembly=HandyControl"
  8. xmlns:LayUI="clr-namespace:LayUI.Wpf.Controls;assembly=LayUI.Wpf"
  9. mc:Ignorable="d"
  10. AllowsTransparency="True"
  11. Background=" Transparent"
  12. WindowStartupLocation="CenterScreen"
  13. WindowStyle="None"
  14. Title="" SizeToContent="WidthAndHeight" ResizeMode="NoResize">
  15. <LayUI:LayTitleBar Background="{DynamicResource Blue}" CornerRadius="10"
  16. WindowState="{Binding WindowState, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
  17. <LayUI:LayTitleBar.Header>
  18. <Border Height="35">
  19. <DockPanel>
  20. <TextBlock Margin="10,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
  21. Text="图纸上传" />
  22. </DockPanel>
  23. </Border>
  24. </LayUI:LayTitleBar.Header>
  25. <StackPanel Background="White">
  26. <!--图纸名称-->
  27. <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
  28. <LayUI:LayTextBlock FontSize="15" Margin="20 0 0 0" Text="图纸名称:" VerticalAlignment="Center" />
  29. <LayUI:LayTextBox Name="tb_dwgName" LayUI:Watermark="" Margin="0 0 20 0" Height="20" HorizontalAlignment="Left" Width="200" />
  30. </DockPanel>
  31. <!--账户密码-->
  32. <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
  33. <LayUI:LayTextBlock FontSize="15" Margin="20 0 0 0" Text="是否与前版本对比:" VerticalAlignment="Center" />
  34. <RadioButton Content="是" IsChecked="True" Click="ButtonBase_OnClick"/>
  35. <RadioButton Content="否" Click="ButtonBase_OnClick" Margin="10 0 0 0" />
  36. </DockPanel>
  37. <StackPanel Name="sp_contrast" Visibility="Visible">
  38. <!--对比图纸-->
  39. <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
  40. <LayUI:LayTextBlock FontSize="15" Margin="35 0 0 0" Text="对比图纸:" VerticalAlignment="Center" />
  41. <LayUI:LayTextBox Name="tb_dwg2Name" LayUI:Watermark="" Height="20" HorizontalAlignment="Left" Width="185" />
  42. </DockPanel>
  43. <LayUI:LayTextBlock TextWrapping="Wrap" Foreground="Blue" Width="270" FontSize="15" Margin="35 10 0 0" Text="注:图纸对比时需对图纸数据进行治理,过程中可能需要人工干预,请关注运行 进展。" VerticalAlignment="Center" />
  44. <!--对比范围-->
  45. <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
  46. <LayUI:LayTextBlock FontSize="15" Margin="35 0 0 0" Text="对比范围:" VerticalAlignment="Center" />
  47. <ComboBox Width="150" Name="cb_range"></ComboBox>
  48. </DockPanel>
  49. </StackPanel>
  50. <LayUI:LayTextBlock FontSize="15" Margin="20 50 0 0" Text="更新日志:" VerticalAlignment="Center" />
  51. <Border Height="100" Width="180" Margin="20 0 0 0">
  52. <TextBox Height="100" Width="180" HorizontalAlignment="Left" TextWrapping="Wrap" Background="WhiteSmoke" />
  53. </Border>
  54. <Button Width="80" Margin="0 20 0 10" VerticalAlignment ="Bottom" Click="Button_Click" Content="上传" />
  55. </StackPanel>
  56. </LayUI:LayTitleBar>
  57. </Window>