123456789101112131415161718192021222324252627282930313233 |
- <Window x:Class="NEIntelligentControl2.Windows.CustomValueWindow"
- 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:NEIntelligentControl2.Windows"
- mc:Ignorable="d"
- Title="自定义挂牌" Height="178.2" Width="316.8" WindowStartupLocation="CenterOwner" Loaded="Window_Loaded">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <TextBlock Text="输入自定义挂牌内容" HorizontalAlignment="Center" Margin="4" Foreground="#FF2D2D2D" FontSize="14"/>
- <Grid Grid.Row="1" Margin="10">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <TextBlock Text="挂牌类型:"/>
- <RadioButton Grid.Column="1" Content="检修" Margin="5,0" Click="RadioButton_Click" Tag="[检修]" IsChecked="True"/>
- <RadioButton Grid.Column="2" Content="故障" Margin="5,0" Click="RadioButton_Click" Tag="[故障]"/>
- </Grid>
- <TextBox Grid.Row="2" x:Name="_TBMain" VerticalContentAlignment="Center" Margin="10,0"/>
- <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10">
- <Button Content="确定" Style="{DynamicResource ConfirmButtonStyle}" Padding="12,3" Margin="3" Click="Button_Click" Tag="ok" IsDefault="True"/>
- <Button Content="取消" Style="{DynamicResource CancelButtonStyle}" Padding="12,3" Margin="3" Click="Button_Click" Tag="cancel" IsCancel="True"/>
- </StackPanel>
- </Grid>
- </Window>
|