RobotView.xaml 1.1 KB

123456789101112131415161718192021222324
  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. <Label Content="Account: "></Label>
  16. <TextBox Width="120" Text="{Binding Account}" />
  17. <Label Content="Password: "></Label>
  18. <TextBox Width="120" Text="{Binding Password}" />
  19. <Button Name="btnStart" Content="Login" Width="80" Height="25" Click="btnLogin_Click" />
  20. <TextBlock></TextBlock>
  21. </StackPanel>
  22. </StackPanel>
  23. </Grid>
  24. </UserControl>