123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <Window x:Class="CollaborativePlatformMain.Form.StandardizedAssistantForm"
- 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"
- mc:Ignorable="d" Title="青蓝规范小助手" WindowStartupLocation="CenterScreen"
- SizeToContent="WidthAndHeight" ResizeMode="NoResize" Loaded="Window_Loaded"
- Closed="Window_Closed">
- <StackPanel Width="800">
- <DockPanel>
- <Border BorderBrush="Black" BorderThickness="1">
- <Label Content="Hi,用户名" BorderThickness="0" Width="80"/>
- </Border>
- <Border BorderBrush="Black" BorderThickness="1">
- <DockPanel HorizontalAlignment="Left">
- <CheckBox Content="模糊查询" Margin="10,0,0,0"/>
- <CheckBox Content="精准查询" Margin="10,0,0,0"/>
- <TextBox Name="tb_sousuo" Width="180" Margin="30,0,0,0"/>
- <Button Name="bt_sousuo" Content="搜索" Click="bt_sousuo_Click"/>
- </DockPanel>
- </Border>
- </DockPanel>
- <DockPanel>
- <Border HorizontalAlignment="Left" VerticalAlignment="Top" BorderBrush="Black" BorderThickness="1">
- <StackPanel Width="80" Height="600">
- <Label Content="建筑专业" BorderBrush="Black" Width="90"/>
- <Label Content="结构专业" BorderBrush="Black" Width="90"/>
- <Label Content="给排水专业" BorderBrush="Black" Width="90"/>
- <Label Content="暖通专业" BorderBrush="Black" Width="90"/>
- <Label Content="电气专业" BorderBrush="Black" Width="90"/>
- <Label Content="消防专业" BorderBrush="Black" Width="90"/>
- </StackPanel>
- </Border>
- <Border>
- <StackPanel>
- <TreeView x:Name="tr_threemodel" PreviewMouseLeftButtonUp="tr_threemodel_PreviewMouseLeftButtonUp"
- Width="300" Height="600" HorizontalAlignment="Left">
- <TreeView.ItemTemplate>
- <HierarchicalDataTemplate ItemsSource="{Binding SubStandNodes}">
- <TextBlock Text="{Binding Name}" PreviewMouseLeftButtonUp="TextBlock_PreviewMouseLeftButtonUp" HorizontalAlignment="Left"/>
- </HierarchicalDataTemplate>
- </TreeView.ItemTemplate>
- </TreeView>
- </StackPanel>
- </Border>
- <Border>
- <StackPanel>
- <TextBlock Name="tb_node" Width="360" Height="600" TextWrapping="Wrap"/>
- </StackPanel>
- </Border>
- </DockPanel>
- </StackPanel>
- </Window>
|