Subversion Repositories Projects

Rev

Rev 2287 | 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="207" Height="262">
    <Grid Margin="0,0,0,-16" HorizontalAlignment="Left" Width="207">
        <Border BorderBrush="#FFE4E4E4" BorderThickness="1"/>
        <Button x:Name="buttonOpen" Content="Open" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="110" Margin="82,22,-15.121,0" Click="buttonOpen_Click"/>
        <Button x:Name="buttonClose" Content="Close" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="110" Margin="82,56,-15.121,0" Click="buttonClose_Click"/>
        <TextBox x:Name="textBoxStatus" HorizontalAlignment="Left" Height="25" Margin="82,90,-15.121,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110" FontSize="14" Background="#FFEAE8E8"/>
        <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"/>
        <TextBox x:Name="textBoxBaudRate" HorizontalAlignment="Left" Height="19" Margin="82,143,-15.121,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110" Text="57600"/>
        <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"/>
        <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"/>
        <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"/>
        <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"/>
        <ComboBox x:Name="comboBoxPortName" HorizontalAlignment="Left" Height="21" Margin="82,120,-15.121,0" VerticalAlignment="Top" Width="110"/>
        <ComboBox x:Name="comboBoxStopBits" HorizontalAlignment="Left" Height="21" Margin="82,186,-15.121,0" VerticalAlignment="Top" Width="110"/>
        <ComboBox x:Name="comboBoxParity" HorizontalAlignment="Left" Height="21" Margin="82,209,-15.121,0" VerticalAlignment="Top" Width="110"/>
        <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"/>
        <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="82,164,-15.121,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="110"/>
        <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"/>
    </Grid>
</UserControl>