SeconThreeDimensionalPage.xaml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <Page x:Class="CollaborativePlatformMain.Form.MessageSubPage.SeconThreeDimensionalPage"
  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.MessageSubPage"
  7. mc:Ignorable="d"
  8. Title="SeconThreeDimensionalPage"
  9. Width="663" Height="430"
  10. Loaded="Window_Loaded">
  11. <DockPanel>
  12. <!--中间-->
  13. <StackPanel Height="430">
  14. <StackPanel Width="130" Height="430" Background="WhiteSmoke" Name="sp_three">
  15. <TreeView x:Name="tr_threemodel" PreviewMouseLeftButtonUp="tr_threemodel_PreviewMouseLeftButtonUp"
  16. Width="180" Height="430" HorizontalAlignment="Left" Background="WhiteSmoke">
  17. <TreeView.ItemTemplate>
  18. <HierarchicalDataTemplate ItemsSource="{Binding SubDatas}">
  19. <Button Content="{Binding Node}" Click="Button_Click" HorizontalAlignment="Left"/>
  20. </HierarchicalDataTemplate>
  21. </TreeView.ItemTemplate>
  22. </TreeView>
  23. <!--<Button Name="bt_autoModel" Content="自动建模" Width="180" Height="30" Click="bt_autoModel_Click" HorizontalAlignment="Left"/>
  24. <Button Name="bt_modelUser" Content="模型应用" Width="180" Height="30" Click="bt_modelUser_Click" HorizontalAlignment="Left"/>
  25. <Button Name="bt_modelEmploy" Content="模型服务" Width="180" Height="30" Click="bt_modelEmploy_Click" HorizontalAlignment="Left"/>-->
  26. </StackPanel>
  27. </StackPanel>
  28. <StackPanel Margin="10,0,0,0" Name="me_right" HorizontalAlignment="Left" Height="430" Width="483">
  29. <!--自动建模-->
  30. <StackPanel Name="sp_autoModel" Visibility="Collapsed">
  31. <Button Name="bt_creatLevel" Margin="10,10,0,0" Content="创建标高体系" HorizontalAlignment="Left" Click="bt_creatLevel_Click"/>
  32. <StackPanel Name="sp_creatLevel" Margin="30,5,0,0">
  33. </StackPanel>
  34. <Button Name="upDrawing" Content="上传" Width="80" Height="26" Click="upDrawing_Click"/>
  35. </StackPanel>
  36. <!--碰撞检测-->
  37. <StackPanel Name="sp_modelUser1" Visibility="Collapsed" Margin="10,10,0,0">
  38. <DockPanel>
  39. <Label Content="选择模型:"/>
  40. <TextBox Text="双击选择模型地址" Name="selectModelApplication1" Width="300" Height="26" Foreground="Red" HorizontalAlignment="Left" MouseDoubleClick="TextBox_MouseDoubleClick1"/>
  41. </DockPanel>
  42. <DockPanel HorizontalAlignment="Left" Margin="50,10,0,0">
  43. <Button Content="上传" Width="80" Height="26"/>
  44. </DockPanel>
  45. </StackPanel>
  46. <!--净高分析-->
  47. <StackPanel Name="sp_modelUser2" Visibility="Collapsed" Margin="10,10,0,0">
  48. <DockPanel>
  49. <Label Content="选择模型:"/>
  50. <TextBox Text="双击选择模型地址" Name="selectModelApplication2" Width="300" Height="26" Foreground="Red" HorizontalAlignment="Left" MouseDoubleClick="TextBox_MouseDoubleClick2"/>
  51. </DockPanel>
  52. <DockPanel HorizontalAlignment="Left" Margin="50,10,0,0">
  53. <Button Content="上传" Width="80" Height="26"/>
  54. </DockPanel>
  55. </StackPanel>
  56. <!--条文审查-->
  57. <StackPanel Name="sp_modelUser3" Visibility="Collapsed" Margin="10,10,0,0">
  58. <DockPanel>
  59. <Label Content="选择模型:"/>
  60. <TextBox Text="双击选择模型地址" Name="selectModelApplication3" Width="300" Height="26" Foreground="Red" HorizontalAlignment="Left" MouseDoubleClick="TextBox_MouseDoubleClick3"/>
  61. </DockPanel>
  62. <DockPanel HorizontalAlignment="Left" Margin="50,10,0,0">
  63. <Button Content="上传" Width="80" Height="26"/>
  64. </DockPanel>
  65. </StackPanel>
  66. <!--模型服务-->
  67. <StackPanel Name="sp_modelEmploy" Visibility="Collapsed" Margin="10,10,0,0" Height="430">
  68. <DockPanel>
  69. <Label Content="选择模型:" Margin="0,0,10,0"/>
  70. <TextBox Text="双击选择模型地址" Name="selectModelServices" Width="300" Height="26" Foreground="Red" HorizontalAlignment="Left" MouseDoubleClick="SelectmodelServices_MouseDoubleClick"/>
  71. </DockPanel>
  72. <StackPanel HorizontalAlignment="Left" Margin="0,30,0,0">
  73. <Label Content="对象命名 上传图纸" Width="190" />
  74. <DockPanel>
  75. <StackPanel Name="sp_objectName" Margin="0,5,0,5">
  76. <!--<TextBox Width="80"/>-->
  77. </StackPanel>
  78. <StackPanel Name="sp_objectDraw" Margin="0,5,0,5" HorizontalAlignment="Right">
  79. <!--<Button Content="上传" Width="80"/>-->
  80. </StackPanel>
  81. </DockPanel>
  82. <Button Content="新增" Width="190" Click="Button_Click_1"/>
  83. </StackPanel>
  84. <StackPanel Margin="0,20,0,0">
  85. <Button Content="联系服务专员" HorizontalAlignment="Left"/>
  86. </StackPanel>
  87. </StackPanel>
  88. </StackPanel>
  89. </DockPanel>
  90. </Page>