Untitled
unknown
plain_text
10 months ago
2.4 kB
3
Indexable
<Window ...>
<Window.DataContext>
<local:RegistrationViewModel/>
</Window.DataContext>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.4*"/>
<ColumnDefinition Width="0.6*"/>
</Grid.ColumnDefinitions>
<Image Stretch="UniformToFill">
<Image.Source>
<BitmapImage UriSource="C:\Users\2021790\source\repos\Airline Reservation System\Airline Reservation System\Resources\images (2).jpg"/>
</Image.Source>
</Image>
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition Height="0.5*"/>
</Grid.RowDefinitions>
<Rectangle Grid.Row="0" Fill="#652628"/>
<TextBlock Text="Airline Reservation System"/>
<Grid Grid.Row="1" Panel.ZIndex="1">
<StackPanel>
<StackPanel Orientation="Horizontal" Margin="74 25 0 10">
<Label Content="Name:"/>
<TextBox Text="{Binding Name, UpdateSourceTrigger=PropertyChanged}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="30 0 0 15">
<Label Content="Date of Birth:"/>
<DatePicker SelectedDate="{Binding DateOfBirth}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="74 0 0 15">
<Label Content="Email:"/>
<TextBox Text="{Binding Email, UpdateSourceTrigger=PropertyChanged}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="52 0 0 15">
<Label Content="Password:"/>
<TextBox Text="{Binding Password, UpdateSourceTrigger=PropertyChanged}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<Label Content="Confirm Password:"/>
<TextBox Text="{Binding ConfirmPassword, UpdateSourceTrigger=PropertyChanged}"/>
</StackPanel>
<Button Content="Signup" Command="{Binding SignupCommand}" Margin="0 20 37 0"/>
</StackPanel>
</Grid>
<Rectangle Grid.Row="1" Fill="#917C8A" />
</Grid>
</Grid>
</Window>
Editor is loading...
Leave a Comment