|
40 | 40 | <RowDefinition Height="*" />
|
41 | 41 | </Grid.RowDefinitions>
|
42 | 42 | <TextBox x:Name="serverSendTextbox1" Grid.Column="0" Grid.Row="0" Margin="5,5,5,5"/>
|
43 |
| - <Button Content="Send" Grid.Column="1" Grid.Row="0" Margin="5,5,5,0" Height="20" VerticalAlignment="Top" Click="Button_Click"/> |
| 43 | + <Button x:Name="serverSendButton1" Content="Send" Grid.Column="1" Grid.Row="0" Margin="5,5,5,0" Height="20" VerticalAlignment="Top" Click="serverSendButton1_Click" IsEnabled="false"/> |
44 | 44 | </Grid>
|
45 | 45 |
|
46 | 46 | <Grid Grid.Column="0" Grid.Row="2">
|
|
52 | 52 | <RowDefinition Height="*" />
|
53 | 53 | </Grid.RowDefinitions>
|
54 | 54 | <TextBox x:Name="serverSendTextbox2" Grid.Column="0" Grid.Row="0" Margin="5,5,5,5"/>
|
55 |
| - <Button Content="Send" Grid.Column="1" Grid.Row="0" Margin="5,5,5,5" Click="Button_Click_1"/> |
| 55 | + <Button x:Name="serverSendButton2" Content="Send" Grid.Column="1" Grid.Row="0" Margin="5,5,5,5" Click="serverSendButton2_Click" IsEnabled="false"/> |
56 | 56 | </Grid>
|
57 | 57 |
|
58 | 58 | </Grid>
|
|
80 | 80 |
|
81 | 81 | <Label Content="Port:" Grid.Column="0" Grid.Row="0" VerticalAlignment="Bottom"/>
|
82 | 82 | <TextBox x:Name="serverPort" Text="233" Grid.Column="0" Grid.Row="1" Margin="5,0,5,10"/>
|
83 |
| - <Label Content="IP (read only):" Grid.Column="0" Grid.Row="2" VerticalAlignment="Bottom"/> |
84 |
| - <TextBox x:Name="serverIP" Text="0.0.0.0" Grid.Column="0" Grid.Row="3" Margin="5,0,5,10" IsEnabled="false"/> |
85 |
| - <Button x:Name="serverStartButton" Content="Listen" Grid.Column="0" Grid.Row="4" Margin="5,5,5,5" Background="LightGreen" FontWeight="Bold" Click="serverStartButton_Click"/> |
| 83 | + <Button x:Name="serverStartButton" Content="Listen" Grid.Column="0" Grid.Row="2" Margin="5,5,5,5" Background="LightGreen" FontWeight="Bold" Click="serverStartButton_Click"/> |
86 | 84 | </Grid>
|
87 | 85 | </Grid>
|
88 | 86 | </TabItem>
|
|
119 | 117 | <RowDefinition Height="*" />
|
120 | 118 | </Grid.RowDefinitions>
|
121 | 119 | <TextBox x:Name="clientSendTextbox1" Grid.Column="0" Grid.Row="0" Margin="5,5,5,5"/>
|
122 |
| - <Button Content="Send" Grid.Column="1" Grid.Row="0" Margin="5,5,5,5" Click="Button_Click_2"/> |
| 120 | + <Button x:Name="clientSendButton1" Content="Send" Grid.Column="1" Grid.Row="0" Margin="5,5,5,5" Click="clientSendButton1_Click" IsEnabled="false"/> |
123 | 121 | </Grid>
|
124 | 122 |
|
125 | 123 | <Grid Grid.Column="0" Grid.Row="2">
|
|
131 | 129 | <RowDefinition Height="*" />
|
132 | 130 | </Grid.RowDefinitions>
|
133 | 131 | <TextBox x:Name="clientSendTextbox2" Grid.Column="0" Grid.Row="0" Margin="5,5,5,5"/>
|
134 |
| - <Button Content="Send" Grid.Column="1" Grid.Row="0" Margin="5,5,5,5" Click="Button_Click_3"/> |
| 132 | + <Button x:Name="clientSendButton2" Content="Send" Grid.Column="1" Grid.Row="0" Margin="5,5,5,5" Click="clientSendButton2_Click" IsEnabled="false"/> |
135 | 133 | </Grid>
|
136 | 134 |
|
137 | 135 | </Grid>
|
|
160 | 158 | <Label Content="Port:" Grid.Column="0" Grid.Row="0" VerticalAlignment="Bottom"/>
|
161 | 159 | <TextBox x:Name="clientPort" Text="233" Grid.Column="0" Grid.Row="1" Margin="5,0,5,10"/>
|
162 | 160 | <Label Content="IP:" Grid.Column="0" Grid.Row="2" VerticalAlignment="Bottom"/>
|
163 |
| - <TextBox x:Name="clientIP" Text="0.0.0.0" Grid.Column="0" Grid.Row="3" Margin="5,0,5,10"/> |
| 161 | + <TextBox x:Name="clientIP" Text="192.168.144.1" Grid.Column="0" Grid.Row="3" Margin="5,0,5,10"/> |
164 | 162 | <Button x:Name="clientStartButton" Content="Connect" Grid.Column="0" Grid.Row="4" Margin="5,5,5,5" Background="LightGreen" FontWeight="Bold" Click="clientStartButton_Click"/>
|
165 | 163 | </Grid>
|
166 | 164 | </Grid>
|
|
0 commit comments