Skip to content

Commit 112a8bf

Browse files
committed
Project Upload
1 parent 6a63020 commit 112a8bf

File tree

648 files changed

+1173992
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

648 files changed

+1173992
-0
lines changed

Class1.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
using System;
2+
3+
public class Class1
4+
{
5+
public Class1()
6+
{
7+
}
8+
}

Final Project.sln

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30711.63
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaPresentationViews", "Final Project\MediaPresentationViews.csproj", "{CA55A0A1-C445-45BE-B9FF-E40E10D28346}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaLogicLayer", "MediaLogicLayer\MediaLogicLayer.csproj", "{198478F0-952A-4AB0-B504-7418CFF43491}"
9+
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaDataObjects", "MediaDataObjects\MediaDataObjects.csproj", "{9EAE7AC3-90E9-429C-8977-698BFBEAB6F2}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaDataAccess", "MediaDataAccess\MediaDataAccess.csproj", "{446F05C9-C7B4-4033-9E47-A7639FDF2189}"
13+
EndProject
14+
Global
15+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
16+
Debug|Any CPU = Debug|Any CPU
17+
Release|Any CPU = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20+
{CA55A0A1-C445-45BE-B9FF-E40E10D28346}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{CA55A0A1-C445-45BE-B9FF-E40E10D28346}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{CA55A0A1-C445-45BE-B9FF-E40E10D28346}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{CA55A0A1-C445-45BE-B9FF-E40E10D28346}.Release|Any CPU.Build.0 = Release|Any CPU
24+
{198478F0-952A-4AB0-B504-7418CFF43491}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{198478F0-952A-4AB0-B504-7418CFF43491}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{198478F0-952A-4AB0-B504-7418CFF43491}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{198478F0-952A-4AB0-B504-7418CFF43491}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{9EAE7AC3-90E9-429C-8977-698BFBEAB6F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{9EAE7AC3-90E9-429C-8977-698BFBEAB6F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{9EAE7AC3-90E9-429C-8977-698BFBEAB6F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{9EAE7AC3-90E9-429C-8977-698BFBEAB6F2}.Release|Any CPU.Build.0 = Release|Any CPU
32+
{446F05C9-C7B4-4033-9E47-A7639FDF2189}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33+
{446F05C9-C7B4-4033-9E47-A7639FDF2189}.Debug|Any CPU.Build.0 = Debug|Any CPU
34+
{446F05C9-C7B4-4033-9E47-A7639FDF2189}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{446F05C9-C7B4-4033-9E47-A7639FDF2189}.Release|Any CPU.Build.0 = Release|Any CPU
36+
EndGlobalSection
37+
GlobalSection(SolutionProperties) = preSolution
38+
HideSolutionNode = FALSE
39+
EndGlobalSection
40+
GlobalSection(ExtensibilityGlobals) = postSolution
41+
SolutionGuid = {B27F6C2B-58EB-4F40-B250-43D40A7C60C4}
42+
EndGlobalSection
43+
EndGlobal

Final Project/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
5+
</startup>
6+
</configuration>

Final Project/App.xaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="Final_Project.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:Final_Project"
5+
StartupUri="MainWindow.xaml">
6+
<Application.Resources>
7+
8+
</Application.Resources>
9+
</Application>

Final Project/App.xaml.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Threading.Tasks;
7+
using System.Windows;
8+
9+
namespace Final_Project
10+
{
11+
/// <summary>
12+
/// Interaction logic for App.xaml
13+
/// </summary>
14+
public partial class App : Application
15+
{
16+
}
17+
}

Final Project/MainWindow.xaml

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<Window x:Name="mainWindow" x:Class="Final_Project.MainWindow" WindowStartupLocation="CenterScreen"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6+
xmlns:local="clr-namespace:Final_Project"
7+
mc:Ignorable="d"
8+
Title="WhereToWatch v2.0 - Search Page" Height="750" Width="1000" ResizeMode="NoResize">
9+
<Window.Background>
10+
<SolidColorBrush Color="#232533"></SolidColorBrush>
11+
</Window.Background>
12+
<Grid>
13+
<Grid.RowDefinitions>
14+
<RowDefinition Height="50"></RowDefinition>
15+
<RowDefinition Height="32"></RowDefinition>
16+
<RowDefinition></RowDefinition>
17+
<RowDefinition Height="63"></RowDefinition>
18+
</Grid.RowDefinitions>
19+
20+
<Menu x:Name="mnuMain" IsMainMenu="True" Foreground="#307AD7" Background="#232533" BorderBrush="#307AD7">
21+
<MenuItem x:Name="mnuAbout" Padding="5" Header="About" Background="Transparent" Click="mnuAbout_Click"/>
22+
</Menu>
23+
24+
<Grid Grid.Row="0">
25+
<Grid.RowDefinitions>
26+
<RowDefinition></RowDefinition>
27+
</Grid.RowDefinitions>
28+
<Grid.ColumnDefinitions>
29+
<ColumnDefinition Width="200"></ColumnDefinition>
30+
<ColumnDefinition></ColumnDefinition>
31+
<ColumnDefinition Width="220"></ColumnDefinition>
32+
<ColumnDefinition Width="220"></ColumnDefinition>
33+
<ColumnDefinition Width="120"></ColumnDefinition>
34+
</Grid.ColumnDefinitions>
35+
36+
<Button x:Name="btnLogin" Grid.Column="4" Width="90" Height="25" Background="#348FFF" Foreground="White">Login</Button>
37+
38+
<Label x:Name="lblUsername" Content="Username:" Foreground="White" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Left" FontWeight="Bold"/>
39+
<TextBox x:Name="txtUsername" Grid.Column="2" HorizontalAlignment="Right" Margin="10 3" Text="" Height="25" Width="125" IsEnabled="False"/>
40+
41+
<Label x:Name="lblPassword" Content="Password:" Foreground="White" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left" FontWeight="Bold"/>
42+
<PasswordBox x:Name="pwdPassword" Grid.Column="3" HorizontalAlignment="Right" Margin="10 3" Height="25" Width="125" IsEnabled="False"/>
43+
</Grid>
44+
<Grid Grid.Row="1" Visibility="Hidden"></Grid>
45+
<Grid Grid.Row="2" x:Name="gridRowTwo">
46+
<Grid.RowDefinitions>
47+
<RowDefinition Height="0"></RowDefinition>
48+
<RowDefinition Height="49"></RowDefinition>
49+
<RowDefinition Height="32.8"></RowDefinition>
50+
<RowDefinition Height="484.8"></RowDefinition>
51+
</Grid.RowDefinitions>
52+
53+
<Label x:Name="lblSearchSuggestion" Foreground="White" Content="SEARCH FOR ANY MOVIE OR TV SHOW" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="40" FontFamily="Franklin Gothic Book" RenderTransformOrigin="0,0.5" Height="69" Grid.RowSpan="2" Width="657" Margin="172,0.2,164.6,14" Grid.Row="1"/>
54+
<TextBox x:Name="txtSearchBox" TextAlignment="Center" Background="#282A39" Foreground="#348FFF" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center" Height="20" Width="700" KeyDown="txtSearchBox_KeyDown" Margin="139,7.6,146.6,6"/>
55+
<DataGrid Name="dgMediaResults" Grid.Row="3" BorderBrush="Transparent" ScrollViewer.CanContentScroll="False" VerticalAlignment="Stretch" AutoGenerateColumns="false" HeadersVisibility="None" Background="Transparent" RowBackground="Transparent" GridLinesVisibility="None"
56+
HorizontalGridLinesBrush="White" VerticalGridLinesBrush="White" Margin="23,0,-0.4,-0.4" IsReadOnly="True">
57+
<DataGrid.RowStyle>
58+
<Style TargetType="{x:Type DataGridRow}">
59+
<EventSetter Event="MouseDoubleClick" Handler="dgMediaResults_MouseDoubleClick"></EventSetter>
60+
</Style>
61+
</DataGrid.RowStyle>
62+
<DataGrid.Columns>
63+
<DataGridTemplateColumn Header="Title" Width="200" SortMemberPath="Title" CanUserSort="True">
64+
<DataGridTemplateColumn.CellTemplate>
65+
<DataTemplate>
66+
<StackPanel x:Name="stackOne">
67+
<Image x:Name="tbPosterPath" Source="{Binding PosterPath}" Width="165" Height="230" Margin="10"/>
68+
<TextBlock x:Name="tbTitle" Foreground="White" Text="{Binding Title}" Width="Auto" FontWeight="Medium" Background="#282A39" Padding="5" TextWrapping="Wrap" HorizontalAlignment="Center"/>
69+
<TextBlock x:Name="tbReleaseDate" Foreground="White" Text="{Binding ReleaseDateString}" Width="Auto" FontWeight="Medium" Background="#282A39" Padding="5" TextWrapping="Wrap" HorizontalAlignment="Center"/>
70+
</StackPanel>
71+
</DataTemplate>
72+
</DataGridTemplateColumn.CellTemplate>
73+
</DataGridTemplateColumn>
74+
<DataGridTemplateColumn Header="Overview" Width="464">
75+
<DataGridTemplateColumn.CellTemplate>
76+
<DataTemplate>
77+
<StackPanel>
78+
<TextBlock Foreground="White" Text="{Binding Overview}" Margin="3" TextWrapping="Wrap"/>
79+
</StackPanel>
80+
</DataTemplate>
81+
</DataGridTemplateColumn.CellTemplate>
82+
</DataGridTemplateColumn>
83+
<DataGridTemplateColumn Header="Genres" Width="150">
84+
<DataGridTemplateColumn.CellTemplate>
85+
<DataTemplate>
86+
<StackPanel>
87+
<TextBlock Foreground="White" Text="{Binding GenresString}" Margin="3" TextWrapping="Wrap"/>
88+
</StackPanel>
89+
</DataTemplate>
90+
</DataGridTemplateColumn.CellTemplate>
91+
</DataGridTemplateColumn>
92+
<DataGridTemplateColumn Header="Popularity" Width="130">
93+
<DataGridTemplateColumn.CellTemplate>
94+
<DataTemplate>
95+
<StackPanel>
96+
<TextBlock Foreground="White" Text="{Binding Popularity}" Margin="3" TextWrapping="Wrap" HorizontalAlignment="Center"/>
97+
</StackPanel>
98+
</DataTemplate>
99+
</DataGridTemplateColumn.CellTemplate>
100+
</DataGridTemplateColumn>
101+
</DataGrid.Columns>
102+
</DataGrid>
103+
<Button x:Name="btnShowFavorites" Content="Show Favorites" HorizontalAlignment="Left" Margin="865,7.6,0,0" Grid.Row="2" VerticalAlignment="Top" Width="85" Height="20" Background="#FF348FFF" Foreground="White" Click="btnShowFavorites_Click"/>
104+
</Grid>
105+
<StatusBar x:Name="sbarMain" Grid.Row="3" Background="#282A39">
106+
<StatusBarItem x:Name="sbarItemMessage"
107+
VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10 3" FontSize="16" Background="#282A39" Foreground="White" />
108+
</StatusBar>
109+
<Label x:Name="lblResults" Grid.Row="3" HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="White" FontWeight="Medium" FontSize="20" Margin="5, 0" Visibility="Hidden">Loading Results...</Label>
110+
</Grid>
111+
</Window>

0 commit comments

Comments
 (0)