TCP Server created, processMessage and call according method
[gsk.git] / CommandServer / CommandServer / MainWindow.xaml
blobb147599a0a99dd10f2c3ec3aad6c96edf1df633a
1 <Window x:Class="CommandServer.MainWindow"
2         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4         Title="MainWindow" Height="733" Width="935" WindowStartupLocation="CenterScreen">
5     <Grid>
6         <Grid.ColumnDefinitions>
7             <ColumnDefinition Width="2*" />
8             <ColumnDefinition Width="5px" />
9             <ColumnDefinition Width="1*" MinWidth="300px" />
10         </Grid.ColumnDefinitions>
11         <ListBox Name="lbHistory" Grid.Column="0" ItemsSource="{Binding Path=historyListe}" />
13         <GridSplitter Background="LightGray" Grid.Column="1" Grid.Row="0" Height="Auto" Width="Auto" HorizontalAlignment="Stretch"
14 VerticalAlignment="Stretch" />
15         
16         <Grid Grid.Column="2">
17             <StackPanel>
18                 <Button Name="btnStartServer" Margin="10 2 10 2" Click="btnStartServer_Click">Start Server</Button>
19                 <Button Name="btnStopServer" Margin="10 2 10 2" Click="btnStopServer_Click" IsEnabled="False">Stop Server</Button>
20                 <Label >Select Profile (maybe detect running application later)</Label>
21                 <ComboBox Name="cbCommandProfiles" ItemsSource="{Binding Source=commandProfileList}" Margin="20 0 20 0" />
22                 <GroupBox Header="Simulate Commands (Only for dev)" Margin="10">
23                     <StackPanel>
24                         <Button Name="btnSimulateForwardCommand"  Margin="10 2 10 2" Click="btnSimulateForwardCommand_Click">Simulate Forward Gestrue</Button>
25                         <Button Name="btnSimulateBackwardCommand"  Margin="10 2 10 2" Click="btnSimulateBackwardCommand_Click">Simulate Backward Gestrue</Button>
26                     </StackPanel>
27                 </GroupBox>
28             </StackPanel>
29         </Grid>
30     </Grid>
31 </Window>