UploadDrawingForm.xaml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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:ucontrols="clr-namespace:CollaborativePlatformMain.Form.UserControlForm"
  9. mc:Ignorable="d"
  10. WindowStartupLocation="CenterScreen" Loaded="Window_Loaded"
  11. Title="图纸上传" SizeToContent="WidthAndHeight" ResizeMode="NoResize">
  12. <StackPanel Background="White">
  13. <!--图纸名称-->
  14. <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
  15. <Label Margin="10 0 0 0" Content="版本名称:" VerticalAlignment="Center" />
  16. <TextBox Name="tb_dwgName" Margin="0 0 20 0" Height="20" HorizontalAlignment="Left" Width="200" />
  17. </DockPanel>
  18. <DockPanel Margin="0,10,0,0">
  19. <Button Name="bt_xaunze" Content="选择上传图纸" Width="100" Click="bt_xaunze_Click" />
  20. </DockPanel>
  21. <StackPanel Name="sp_duibi" Visibility="Collapsed">
  22. <!--是否与前版本对比-->
  23. <DockPanel Margin="10 20 0 0" HorizontalAlignment="Left">
  24. <Label Content="是否与前版本对比:" VerticalAlignment="Center" />
  25. <RadioButton Content="是" Click="ButtonBase_OnClick"/>
  26. <RadioButton Content="否" IsChecked="True" Click="ButtonBase_OnClick" Margin="10 0 0 0" />
  27. </DockPanel>
  28. <StackPanel Name="sp_contrast" Visibility="Collapsed">
  29. <!--对比版本-->
  30. <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
  31. <Label Margin="35 0 0 0" Content="对比版本:" VerticalAlignment="Center" />
  32. <ComboBox Name="cb_dwgName" SelectionChanged="cb_dwgName_SelectionChanged" HorizontalAlignment="Left" Width="175" />
  33. </DockPanel>
  34. <!--对比范围-->
  35. <DockPanel Margin="0 20 0 0" HorizontalAlignment="Left">
  36. <Label Margin="35 0 0 0" Content="对比范围:" VerticalAlignment="Center" />
  37. <ucontrols:NativeCombox x:Name="cb_floor" Width="175" HorizontalAlignment="Left"/>
  38. </DockPanel>
  39. <TextBlock TextWrapping="Wrap" Foreground="Blue" Width="270" Margin="35 10 0 0" Text="注:图纸对比时需对图纸数据进行治理,过程中可能需要人工干预,请关注运行 进展。" VerticalAlignment="Center" />
  40. </StackPanel>
  41. </StackPanel>
  42. <StackPanel>
  43. <Label Margin="10 50 0 0" Content="更新日志:" Width="80" HorizontalAlignment="Left" />
  44. <RichTextBox Margin="60,5,0,0" Height="100" Width="180" FlowDirection="LeftToRight" HorizontalAlignment="Left" Background="WhiteSmoke" />
  45. </StackPanel>
  46. <Button Width="80" Margin="0 20 0 10" VerticalAlignment ="Bottom" Click="Button_Click" Content="上传" />
  47. </StackPanel>
  48. </Window>