StandardizedAssistantForm.xaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <Window x:Class="CollaborativePlatformMain.Form.StandardizedAssistantForm"
  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. mc:Ignorable="d" Title="青蓝规范小助手" WindowStartupLocation="CenterScreen"
  8. SizeToContent="WidthAndHeight" ResizeMode="NoResize" Loaded="Window_Loaded"
  9. Closed="Window_Closed">
  10. <StackPanel Width="800">
  11. <DockPanel>
  12. <Border BorderBrush="Black" BorderThickness="1">
  13. <Label Content="Hi,用户名" BorderThickness="0" Width="80"/>
  14. </Border>
  15. <Border BorderBrush="Black" BorderThickness="1">
  16. <DockPanel HorizontalAlignment="Left">
  17. <CheckBox Content="模糊查询" Margin="10,0,0,0"/>
  18. <CheckBox Content="精准查询" Margin="10,0,0,0"/>
  19. <TextBox Name="tb_sousuo" Width="180" Margin="30,0,0,0"/>
  20. <Button Name="bt_sousuo" Content="搜索" Click="bt_sousuo_Click"/>
  21. </DockPanel>
  22. </Border>
  23. </DockPanel>
  24. <DockPanel>
  25. <Border HorizontalAlignment="Left" VerticalAlignment="Top" BorderBrush="Black" BorderThickness="1">
  26. <StackPanel Width="80" Height="600">
  27. <Label Content="建筑专业" BorderBrush="Black" Width="90"/>
  28. <Label Content="结构专业" BorderBrush="Black" Width="90"/>
  29. <Label Content="给排水专业" BorderBrush="Black" Width="90"/>
  30. <Label Content="暖通专业" BorderBrush="Black" Width="90"/>
  31. <Label Content="电气专业" BorderBrush="Black" Width="90"/>
  32. <Label Content="消防专业" BorderBrush="Black" Width="90"/>
  33. </StackPanel>
  34. </Border>
  35. <Border>
  36. <StackPanel>
  37. <TreeView x:Name="tr_threemodel" PreviewMouseLeftButtonUp="tr_threemodel_PreviewMouseLeftButtonUp"
  38. Width="300" Height="600" HorizontalAlignment="Left">
  39. <TreeView.ItemTemplate>
  40. <HierarchicalDataTemplate ItemsSource="{Binding SubStandNodes}">
  41. <TextBlock Text="{Binding Name}" PreviewMouseLeftButtonUp="TextBlock_PreviewMouseLeftButtonUp" HorizontalAlignment="Left"/>
  42. </HierarchicalDataTemplate>
  43. </TreeView.ItemTemplate>
  44. </TreeView>
  45. </StackPanel>
  46. </Border>
  47. <Border>
  48. <StackPanel>
  49. <TextBlock Name="tb_node" Width="360" Height="600" TextWrapping="Wrap"/>
  50. </StackPanel>
  51. </Border>
  52. </DockPanel>
  53. </StackPanel>
  54. </Window>