bobmarley12345

xamlcodeserialthingy

Apr 14th, 2019
318
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <Grid>
  2.         <Button x:Name="connectbutton" Content="Connect" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="126" Height="34" Click="Connectbutton_Click" Background="#FF323232" BorderBrush="#FF4F4F4F" Foreground="#FFEAEAEA"/>
  3.         <ListBox x:Name="serialports" HorizontalAlignment="Left" Margin="10,49,0,10" Width="126" Background="#FF1E1E1E" BorderBrush="#FF4F4F4F" Foreground="#FFEAEAEA" FontSize="14"/>
  4.         <Grid Margin="141,10,10,49">
  5.             <Grid.ColumnDefinitions>
  6.                 <ColumnDefinition Width="307*"/>
  7.                 <ColumnDefinition Width="306*"/>
  8.             </Grid.ColumnDefinitions>
  9.             <Label Content="Sent Messages:" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="#FFEAEAEA"/>
  10.             <ListBox x:Name="sent" Margin="0,26,2,0" Background="#FF1E1E1E" BorderBrush="#FF4F4F4F" Foreground="#FFEAEAEA" FontSize="14"/>
  11.             <ListBox x:Name="received" Margin="2,26,0,0" Grid.Column="1" Background="#FF1E1E1E" BorderBrush="#FF4F4F4F" Foreground="#FFEAEAEA" FontSize="14"/>
  12.             <Label Content="Received Messages:" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="1" Margin="2,0,0,0" Foreground="#FFEAEAEA"/>
  13.         </Grid>
  14.         <Button x:Name="sendmessage" Content="Send Message" HorizontalAlignment="Left" Margin="141,0,0,10" VerticalAlignment="Bottom" Width="126" Height="34" Click="Sendmessage_Click" Background="#FF323232" BorderBrush="#FF4F4F4F" Foreground="#FFEAEAEA"/>
  15.         <TextBox x:Name="sendtextbox" Height="34" Margin="272,0,10,10" TextWrapping="Wrap" VerticalAlignment="Bottom" FontSize="20" Background="#FF1E1E1E" BorderBrush="#FF4F4F4F" Foreground="#FFEAEAEA"/>
  16.  
  17.     </Grid>
RAW Paste Data