This commit is contained in:
2026-03-20 21:10:28 +02:00
parent ac183f8eb6
commit 78e2483e7f
8 changed files with 84 additions and 25 deletions

View File

@@ -2,9 +2,9 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="ModuleWeather.WeatherView">
<StackPanel Margin="20" Spacing="10" Background="#2b2b2b">
<TextBlock Name="StatusText" Text="Введите город:" Foreground="White"/>
<TextBox Name="CityInput" Watermark="Например: Москва"/>
<Button Content="Узнать погоду" Click="GetWeatherButton_Click"
<Button Content="Обновить" Click="Update"
HorizontalAlignment="Stretch" HorizontalContentAlignment="Center"/>
<TextBlock Name="StatusText" Text="Выберите порт" Foreground="White"/>
<ComboBox Name="PortComboBox" SelectionChanged="OnPortChanged"/>
</StackPanel>
</UserControl>