Blame | Last modification | View Log | RSS feed
<UserControl x:Class="MKLiveView.SerialPortCtrl"
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:MKLiveView"
mc:Ignorable="d" Width="235" Height="262">
<Grid Margin="0,0,0,-16" HorizontalAlignment="Left" Width="207">
<Border BorderBrush="#FFE4E4E4" BorderThickness="1" Margin="0,0,-29,10"/>
<Button x:Name="buttonOpen" Content="Open" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="110" Margin="98,22,-1,0" Click="buttonOpen_Click"/>
<Button x:Name="buttonClose" Content="Close" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="110" Margin="98,56,-1,0" Click="buttonClose_Click"/>
<TextBox x:Name="textBoxStatus" HorizontalAlignment="Left" Height="25" Margin="98,90,-1,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110" FontSize="14" Background="#FFEAE8E8"/>
<Label x:Name="label" Content="Status" HorizontalAlignment="Left" Height="19" Margin="16,93,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
<TextBox x:Name="textBoxBaudRate" HorizontalAlignment="Left" Height="19" Margin="98,143,-1,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110" Text="57600"/>
<Label x:Name="label_Copy" Content="Baudrate" HorizontalAlignment="Left" Height="19" Margin="16,143,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
<Label x:Name="label_Copy1" Content="Port" HorizontalAlignment="Left" Height="19" Margin="16,121,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
<Label x:Name="label_Copy2" Content="Stopbits" HorizontalAlignment="Left" Height="19" Margin="16,187,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
<Label x:Name="label_Copy3" Content="Parity" HorizontalAlignment="Left" Height="19" Margin="16,210,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
<ComboBox x:Name="comboBoxPortName" HorizontalAlignment="Left" Height="21" Margin="98,120,-1,0" VerticalAlignment="Top" Width="110"/>
<ComboBox x:Name="comboBoxStopBits" HorizontalAlignment="Left" Height="21" Margin="98,186,-1,0" VerticalAlignment="Top" Width="110"/>
<ComboBox x:Name="comboBoxParity" HorizontalAlignment="Left" Height="21" Margin="98,209,-1,0" VerticalAlignment="Top" Width="110"/>
<Button x:Name="btnRefresh" Content="refresh portlist" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="110" Margin="98,234,-1,0" Click="btnRefresh_Click"/>
<Label x:Name="label_Copy4" Content="Serial port connection" HorizontalAlignment="Left" Height="19" Margin="7,1,0,0" VerticalAlignment="Top" Width="134" Padding="0" Foreground="White" FontSize="13"/>
<TextBox x:Name="textBoxDataBits" HorizontalAlignment="Left" Height="19" Margin="98,164,-1,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110"/>
<Label x:Name="label_Copy5" Content="Databits" HorizontalAlignment="Left" Height="19" Margin="16,164,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
</Grid>
</UserControl>