RobotView.xaml 906 B

1234567891011121314151617181920
  1. <UserControl x:Class="Modules.Robot.RobotView"
  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" xmlns:Robot="clr-namespace:Modules.Robot"
  6. mc:Ignorable="d"
  7. d:DesignHeight="600" d:DesignWidth="800" d:DataContext="{d:DesignInstance Robot:RobotViewModel}">
  8. <Grid>
  9. <StackPanel>
  10. <StackPanel Orientation="Horizontal" >
  11. <Label Content="loginIp: "></Label>
  12. <TextBox Width="120" Text="{Binding LoginIp}" />
  13. <Label Content="loginPort: "></Label>
  14. <TextBox Width="40" Text="{Binding LoginPort}" />
  15. <Button Name="btnStart" Content="Login" Width="80" Height="25" Click="btnLogin_Click" />
  16. <TextBlock></TextBlock>
  17. </StackPanel>
  18. </StackPanel>
  19. </Grid>
  20. </UserControl>