| 123456789101112131415161718192021222324252627282930 |
- <?xml version="1.0" encoding="utf-8" ?>
- <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="practiceApplicaiton.BookingEditPage"
- Title="Бронирование">
- <ScrollView>
- <VerticalStackLayout Padding="20" Spacing="12">
- <Label Text="Клиент" FontAttributes="Bold"/>
- <Picker x:Name="ClientPicker" Title="Выберите клиента"/>
- <Label Text="Комната" FontAttributes="Bold"/>
- <Picker x:Name="RoomPicker" Title="Выберите комнату"/>
- <Label Text="Дата заезда" FontAttributes="Bold"/>
- <DatePicker x:Name="CheckInPicker"/>
- <Label Text="Дата выезда" FontAttributes="Bold"/>
- <DatePicker x:Name="CheckOutPicker"/>
- <Label Text="Цена за ночь (₽)" FontAttributes="Bold"/>
- <Entry x:Name="PriceEntry" Keyboard="Numeric" Placeholder="2500"/>
- <Button Text="Сохранить" BackgroundColor="#4472C4"
- TextColor="White" CornerRadius="8"
- Clicked="OnSaveClicked"/>
- </VerticalStackLayout>
- </ScrollView>
- </ContentPage>
|