You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
8.6 KiB
103 lines
8.6 KiB
<Window x:Class="SchedulingSystemClient.PBSQWindow" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
Title="排班申请" Height="auto" Width="600" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen" |
|
WindowStyle="None"> |
|
<Window.Resources> |
|
<!--下拉框--> |
|
<ControlTemplate x:Key="CusComboBox" TargetType="{x:Type ComboBox}" > |
|
<Border BorderThickness="2" BorderBrush="#E4E4E4"> |
|
<Grid> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="9*"></ColumnDefinition> |
|
<ColumnDefinition Width="1*"></ColumnDefinition> |
|
</Grid.ColumnDefinitions> |
|
<!--文本框--> |
|
<TextBox x:Name="myTxt" Grid.Column="0" |
|
Text="{TemplateBinding Text}" |
|
Background="White" |
|
BorderThickness="0" |
|
VerticalContentAlignment="Center" |
|
HorizontalContentAlignment="Center" |
|
FontSize="18" |
|
Foreground="Black"/> |
|
<!--下拉按钮--> |
|
<ToggleButton Grid.Column="1" Content="∨" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" |
|
ClickMode="Press" Background="White" BorderThickness="0"/> |
|
<Popup Name="MyPopup" |
|
IsOpen="{TemplateBinding IsDropDownOpen}" |
|
Placement="Bottom"> |
|
<Border MinWidth="{TemplateBinding ActualWidth}" |
|
MaxHeight="{TemplateBinding MaxDropDownHeight}"> |
|
<ScrollViewer MaxHeight="{TemplateBinding MaxDropDownHeight}" |
|
HorizontalScrollBarVisibility="Auto" |
|
VerticalScrollBarVisibility="Auto"> |
|
<StackPanel Background="White" |
|
IsItemsHost="True"/> |
|
</ScrollViewer> |
|
</Border> |
|
</Popup> |
|
</Grid> |
|
</Border> |
|
</ControlTemplate> |
|
</Window.Resources> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="15*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Grid Grid.Row="1"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="0.2*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<!--<RowDefinition x:Name="rowpbfs" Height="1*"></RowDefinition> |
|
<RowDefinition x:Name="rowssrq" Height="1*"></RowDefinition> |
|
<RowDefinition x:Name="rowsssj" Height="1*"></RowDefinition>--> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="0.2*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="0.2*"></ColumnDefinition> |
|
<ColumnDefinition Width="1*"></ColumnDefinition> |
|
<ColumnDefinition Width="2*"></ColumnDefinition> |
|
<ColumnDefinition Width="0.8*"></ColumnDefinition> |
|
</Grid.ColumnDefinitions> |
|
<Label Grid.Row="1" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">科室</Label> |
|
<Label Grid.Row="2" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">主刀医生</Label> |
|
<Label Grid.Row="3" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">手术名称</Label> |
|
<Label Grid.Row="4" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">患者姓名</Label> |
|
<Label Grid.Row="5" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">住院号</Label> |
|
<Label Grid.Row="6" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">诊疗卡号</Label> |
|
<Label Grid.Row="7" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">术前诊断</Label> |
|
<Label Grid.Row="8" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">是否急诊</Label> |
|
<!--<Label Grid.Row="9" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">排班方式</Label> |
|
<Label Grid.Row="10" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">手术日期</Label> |
|
<Label Grid.Row="11" Grid.Column="1" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center">手术时间</Label>--> |
|
<ComboBox x:Name="KS" Grid.Row="1" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" Template="{StaticResource CusComboBox}" FontSize="18" ></ComboBox> |
|
<ComboBox x:Name="YS" Grid.Row="2" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" Template="{StaticResource CusComboBox}" FontSize="18"></ComboBox> |
|
<ComboBox x:Name="SSMC" Grid.Row="3" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" Template="{StaticResource CusComboBox}" FontSize="18"></ComboBox> |
|
<TextBox x:Name="HZXM" Grid.Row="4" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" FontSize="20"></TextBox> |
|
<TextBox x:Name="ZYH" Grid.Row="5" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" FontSize="20"></TextBox> |
|
<TextBox x:Name="ZLKH" Grid.Row="6" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" FontSize="20"></TextBox> |
|
<TextBox x:Name="SQZD" Grid.Row="7" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" FontSize="20"></TextBox> |
|
<ComboBox x:Name="SFJZ" Grid.Row="8" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" Template="{StaticResource CusComboBox}" FontSize="18"></ComboBox> |
|
<!--<ComboBox x:Name="PBFS" Grid.Row="9" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" Template="{StaticResource CusComboBox}" FontSize="18" SelectionChanged="PBFS_SelectionChanged"></ComboBox> |
|
<ComboBox x:Name="SSRQ" Grid.Row="10" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" Template="{StaticResource CusComboBox}" FontSize="18"></ComboBox> |
|
<ComboBox x:Name="SSSJ" Grid.Row="11" Grid.Column="2" Width="280" Height="40" HorizontalAlignment="Center" VerticalContentAlignment="Center" Template="{StaticResource CusComboBox}" FontSize="18"></ComboBox>--> |
|
<Button x:Name="btn_bc" Grid.Row="9" Grid.Column="1" Grid.ColumnSpan="2" FontSize="16" Width="70" Height="35" Margin="360,0,0,0" Click="btn_bc_Click" Background="#5AB856" Foreground="White" BorderBrush="#5AB856">提 交</Button> |
|
<Button x:Name="btn_qx" Grid.Row="9" Grid.Column="3" FontSize="16" Width="70" Height="35" Margin="-40,0,0,0" Click="btn_qx_Click" Foreground="White" Background="#AEAEAE" BorderBrush="#AEAEAE">取 消</Button> |
|
</Grid> |
|
<Border Grid.Row="0" BorderThickness="0,0,0,2" BorderBrush="#E0E0E0" Padding="0"> |
|
<DockPanel LastChildFill="False" Background="#F5F5F5" > |
|
<Label DockPanel.Dock="Left" HorizontalAlignment="Center" VerticalContentAlignment="Center" Margin="10,0,0,0" FontSize="20" Foreground="#4A4A4A" >申请排班</Label> |
|
</DockPanel> |
|
</Border> |
|
</Grid> |
|
</Window>
|
|
|