Frm_DeviceInfo.xaml
2.1 KB
<Window x:Class="HHWCSHost.View.Frm_DeviceInfo"
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:HHWCSHost.View"
mc:Ignorable="d"
Title="设备管理" Height="460.4" Width="770.4" ResizeMode="CanMinimize" Closing="Window_Closing">
<DockPanel>
<!--<ToolBar Height="20" VerticalAlignment="Top" DockPanel.Dock="Top"/>-->
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="100"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<DataGrid Grid.Row="1"/>
<TextBlock HorizontalAlignment="Left" Margin="22,28,0,0" TextWrapping="Wrap" Text="设备名:" VerticalAlignment="Top" FontSize="14"/>
<TextBox x:Name="txt_DeviceName" HorizontalAlignment="Left" Height="23" Margin="80,24,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" FontSize="14"/>
<TextBlock HorizontalAlignment="Left" Margin="227,28,0,0" TextWrapping="Wrap" Text="设备类型" VerticalAlignment="Top" FontSize="14"/>
<ComboBox x:Name="cbx_DeviceType" HorizontalAlignment="Left" Margin="303,24,0,0" VerticalAlignment="Top" Width="120" FontSize="14"/>
<Button x:Name="btn_Query" Content="查询" HorizontalAlignment="Left" Margin="350,56,0,0" VerticalAlignment="Top" Width="75"/>
<Button x:Name="btn_New" Content="新增" HorizontalAlignment="Left" Margin="451,56,0,0" VerticalAlignment="Top" Width="75" Background="#FF3DFF00"/>
<Button x:Name="btn_Edit" Content="编辑" HorizontalAlignment="Left" Margin="547,56,0,0" VerticalAlignment="Top" Width="75" Background="#FF00FFF1"/>
<Button x:Name="btn_Delete" Content="删除" HorizontalAlignment="Left" Margin="642,56,0,0" VerticalAlignment="Top" Width="75" Background="#FFFF5C00"/>
</Grid>
</DockPanel>
</Window>