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.

38 lines
2.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<Window x:Class="KPlan.Forms.NewPartNr"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:KPlan.Forms"
mc:Ignorable="d" ResizeMode="NoResize" UseLayoutRounding="True" WindowStartupLocation="CenterOwner" Height="230" Width="400" MinHeight="230" MinWidth="400" Icon="/EPLAN.EplAddin.KPlan;component/Resources/logo_16.ico" Title="新建部件">
<Grid Margin="20,20,20,10">
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="12"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="12"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="120"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Content="该部件不存在于Eplan部件库如需同步请赋予部件编号前缀" Grid.Row="0" Grid.ColumnSpan="2"/>
<Label Content="制造商缩写" Grid.Row="2" Grid.Column="0"/>
<TextBox TextChanged="Tb_manufacturer_TextChanged" x:Name="tb_manufacturer" Grid.Row="2" Grid.Column="1" Width="200" HorizontalAlignment="Left" VerticalContentAlignment="Center"/>
<Label Content="部件编号预览" Grid.Row="4" Grid.Column="0"/>
<TextBox VerticalContentAlignment="Center" Text="“制造商缩写”+“.”+“订货号”" x:Name="tb_preview" Grid.Row="4" Grid.Column="1" Width="200" HorizontalAlignment="Left" IsEnabled="False"/>
<Grid Grid.Row="6" Grid.ColumnSpan="2" HorizontalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="25"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
<Button Content="确定" Grid.Column="0" Width="80" Height="24" Click="Button_Click"/>
<Button Content="取消" Grid.Column="2" Width="80" Height="24" Click="Button_Click_1"/>
</Grid>
</Grid>
</Window>