Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="Agam_Cinema.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="Agam's Cinema" Height="450" Width="725" Loaded="Window_Loaded">
- <Grid>
- <Label Content="Agam's Cinema" Height="43" HorizontalAlignment="Left" Margin="34,30,0,0" Name="label1" VerticalAlignment="Top" FontSize="24" FontWeight="Normal" Width="177" FontFamily="Trebuchet MS" />
- <TabControl Height="317" HorizontalAlignment="Left" Margin="0,79,0,0" Name="tabControl1" VerticalAlignment="Top" Width="703">
- <TabItem Header="Main" Name="tabMain" TabIndex="1">
- <Grid>
- <StackPanel Height="261" HorizontalAlignment="Left" Margin="4,10,0,0" Name="stackPanel1" VerticalAlignment="Top" Width="235">
- <Button Content="Go To Movies" Height="34" Name="button1" Width="112" FontSize="13" UseLayoutRounding="False" Click="button1_Click" />
- <Button Content="Go to Movie Halls" Height="36" Name="button2" Width="112" Margin="5" Padding="1" Click="button2_Click" />
- <Button Content="Go to Movie Times" Height="36" Name="button3" Padding="1" Width="112" Click="button3_Click" />
- <Button Content="Exit" Height="36" Name="button4" Padding="1" Width="112" Margin="5" Click="button4_Click" />
- </StackPanel>
- <Label Content="Next movies to be displayed:" Height="28" HorizontalAlignment="Left" Margin="245,10,0,0" Name="label2" VerticalAlignment="Top" FontWeight="Normal" FontFamily="Trebuchet MS" FontSize="13" />
- <Image Height="150" HorizontalAlignment="Left" Margin="365,89,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="200" />
- </Grid>
- </TabItem>
- <TabItem Header="Movies" TabIndex="2" Name="tabMovies">
- <StackPanel>
- <WrapPanel Orientation="Horizontal">
- <Button Content="Add Movie" Grid.Column="0" Margin="3" Grid.Row="0" Height="34" Name="buttonAdd" Width="112" FontSize="13" UseLayoutRounding="False" Click="buttonAdd_Click" />
- <Button Content="Remove Movie" Grid.Column="0" Margin="3" Grid.Row="0" Height="34" Name="buttonRemove" Width="112" FontSize="13" UseLayoutRounding="False" />
- <Button Content="Go to main" Height="36" Name="button42" Padding="1" Width="112" Click="buttonmain_Click" />
- </WrapPanel>
- <DataGrid AutoGenerateColumns="False" ItemsSource="{Binding lstMovies}" Grid.Column="0" Grid.Row="1" Height="231" Name="dataGrid1" Width="695" />
- </StackPanel>
- </TabItem>
- <TabItem Header="Movie Halls" TabIndex="3" Name="tabHalls" />
- <TabItem Header="Movie Times" SnapsToDevicePixels="False" TabIndex="4" Name="tabTimes">
- <WrapPanel Orientation="Horizontal">
- <Calendar Height="182" Name="calendar1" Width="240" IsManipulationEnabled="False" DataContext="{Binding}" />
- <Button Content="Go to main" Height="36" Name="button43" Padding="1" Width="112" Click="buttonmain_Click" />
- </WrapPanel>
- </TabItem>
- </TabControl>
- <Label Content="time" Height="28" HorizontalAlignment="Left" Margin="635,61,0,0" Name="lblClock" VerticalAlignment="Top" />
- <Label Content=" - Main" FontFamily="Trebuchet MS" FontSize="18" FontWeight="Normal" Height="43" HorizontalAlignment="Left" Margin="217,36,0,0" Name="lblInfo" VerticalAlignment="Top" Width="156" />
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement