|
123456789101112131415161718192021222324252627282930 |
- <Window
- x:Class="WpfApp1.MainWindow"
- 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:local="clr-namespace:WpfApp1"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- Title="MainWindow"
- Width="800"
- Height="450"
- mc:Ignorable="d">
- <Grid>
- <Button
- Width="100"
- Height="30"
- Margin="36,24,664,381"
- Content="连接" Click="Button_Click" />
- <Button
- Width="100"
- Height="30"
- Margin="167,24,533,381"
- Content="上电" Click="Button_Click_1" />
- <Button
- Width="100"
- Height="30"
- Margin="300,24,400,381"
- Content="使能" Click="Button_Click_2" />
- <TextBox Name="text" Height="30" Margin="36,80,400,325"/>
- </Grid>
- </Window>
|