Subversion Repositories Projects

Rev

Rev 2287 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2287 - 1
<UserControl x:Class="MKLiveView.SerialPortCtrl"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6
             xmlns:local="clr-namespace:MKLiveView"
7
             mc:Ignorable="d" Width="207" Height="262">
8
    <Grid Margin="0,0,0,-16" HorizontalAlignment="Left" Width="207">
9
        <Border BorderBrush="#FFE4E4E4" BorderThickness="1"/>
10
        <Button x:Name="buttonOpen" Content="Open" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="110" Margin="82,22,-15.121,0" Click="buttonOpen_Click"/>
11
        <Button x:Name="buttonClose" Content="Close" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="110" Margin="82,56,-15.121,0" Click="buttonClose_Click"/>
12
        <TextBox x:Name="textBoxStatus" HorizontalAlignment="Left" Height="25" Margin="82,90,-15.121,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110" FontSize="14" Background="#FFEAE8E8"/>
13
        <Label x:Name="label" Content="Status" HorizontalAlignment="Left" Height="19" Margin="7,93,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
14
        <TextBox x:Name="textBoxBaudRate" HorizontalAlignment="Left" Height="19" Margin="82,143,-15.121,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110" Text="57600"/>
15
        <Label x:Name="label_Copy" Content="Baudrate" HorizontalAlignment="Left" Height="19" Margin="7,143,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
16
        <Label x:Name="label_Copy1" Content="Port" HorizontalAlignment="Left" Height="19" Margin="7,121,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
17
        <Label x:Name="label_Copy2" Content="Stopbits" HorizontalAlignment="Left" Height="19" Margin="7,187,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
18
        <Label x:Name="label_Copy3" Content="Parity" HorizontalAlignment="Left" Height="19" Margin="7,210,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
19
        <ComboBox x:Name="comboBoxPortName" HorizontalAlignment="Left" Height="21" Margin="82,120,-15.121,0" VerticalAlignment="Top" Width="110"/>
20
        <ComboBox x:Name="comboBoxStopBits" HorizontalAlignment="Left" Height="21" Margin="82,186,-15.121,0" VerticalAlignment="Top" Width="110"/>
21
        <ComboBox x:Name="comboBoxParity" HorizontalAlignment="Left" Height="21" Margin="82,209,-15.121,0" VerticalAlignment="Top" Width="110"/>
22
        <Button x:Name="btnRefresh" Content="refresh portlist" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="110" Margin="82,234,-15.121,-3.603" Click="btnRefresh_Click"/>
23
        <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"/>
24
        <TextBox x:Name="textBoxDataBits" HorizontalAlignment="Left" Height="19" Margin="82,164,-15.121,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110"/>
25
        <Label x:Name="label_Copy5" Content="Databits" HorizontalAlignment="Left" Height="19" Margin="7,164,0,0" VerticalAlignment="Top" Width="60" Padding="0" Foreground="White" FontSize="14"/>
26
    </Grid>
27
</UserControl>