1234567891011121314151617181920212223 |
- <Window
- 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:wfh="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
- xmlns:wfc="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
- xmlns:local="clr-namespace:WpfApp1"
- xmlns:PLCS7="clr-namespace:PLCS7;assembly=PLCS7" x:Class="WpfApp1.MainWindow"
- mc:Ignorable="d"
- Title="MainWindow" Height="700" Width="1200" Closed="win_Closed">
- <Grid Margin="0,0,-8,-20">
- <WindowsFormsHost x:Name="form1" HorizontalAlignment="Left" Height="500" Margin="10,65,0,0" VerticalAlignment="Top" Width="750">
- <wfc:FlowLayoutPanel x:Name="flowLayoutPanel1"/>
- </WindowsFormsHost>
- <Button x:Name="GetNum" Content="生成号牌" HorizontalAlignment="Left" Margin="886,138,0,0" VerticalAlignment="Top" Width="64" Height="36" Click="GetNum_Click"/>
- <TextBox x:Name="NumMachineId" HorizontalAlignment="Left" Height="47" Margin="812,65,0,0" TextWrapping="Wrap" Text="input id" VerticalAlignment="Top" Width="76">
- </TextBox>
- <TextBox x:Name="License" HorizontalAlignment="Left" Height="47" Margin="941,65,0,0" TextWrapping="Wrap" Text="result" VerticalAlignment="Top" Width="76"/>
- </Grid>
- </Window>
|