fake google

main
syneffort 2 years ago
parent 65c724abc2
commit 40427b102e
  1. 9
      PacticeSolution/FakeGoogle/App.xaml
  2. 17
      PacticeSolution/FakeGoogle/App.xaml.cs
  3. 10
      PacticeSolution/FakeGoogle/AssemblyInfo.cs
  4. 10
      PacticeSolution/FakeGoogle/FakeGoogle.csproj
  5. 40
      PacticeSolution/FakeGoogle/MainWindow.xaml
  6. 28
      PacticeSolution/FakeGoogle/MainWindow.xaml.cs
  7. 12
      PacticeSolution/PacticeSolution.sln

@ -0,0 +1,9 @@
<Application x:Class="FakeGoogle.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:FakeGoogle"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace FakeGoogle
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}

@ -0,0 +1,10 @@
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
</PropertyGroup>
</Project>

@ -0,0 +1,40 @@
<Window x:Class="FakeGoogle.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:FakeGoogle"
mc:Ignorable="d"
Background="#202124"
Title="FakeGoogle" Height="500" Width="800"
MinHeight="500" MinWidth="800"
FontFamily="맑은 고딕">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="3*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<MediaElement Width="500"
Source="https://www.google.com/logos/doodles/2023/googles-25th-birthday-6753651837110114-6752733080610507-cst.gif"/>
</Grid>
<Border Grid.Row="1" Width="600" Height="45" Margin="30 20 30 20" CornerRadius="25" BorderBrush="#9AA0A6" BorderThickness="1">
<StackPanel Orientation="Horizontal">
<Image Width="30" Height="30" Margin="15 0 0 0" Source="https://files.softicons.com/download/toolbar-icons/twg-retina-icons-by-the-working-group/png/64x64/magnifier.png"/>
<TextBox x:Name="tbMain" Width="430" Margin="15 0 0 0" BorderBrush="Transparent" Background="Transparent" Foreground="WhiteSmoke" VerticalAlignment="Center"
FontSize="20" Text="text"/>
<Image Width="30" Height="30" Margin="15 0 0 0" Source="https://files.softicons.com/download/toolbar-icons/twg-retina-icons-by-the-working-group/png/48x48/keyboard.png"/>
<Image Width="30" Height="30" Margin="15 0 15 0" Source="https://files.softicons.com/download/toolbar-icons/twg-retina-icons-by-the-working-group/png/48x48/photo.png"/>
</StackPanel>
</Border>
<Grid Grid.Row="2">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Button x:Name="btnSearch" Background="#303134" BorderBrush="Transparent" Foreground="WhiteSmoke" Grid.Column="0" HorizontalAlignment="Right" Height="35" Width="120" Margin="10" Content="Google 검색"/>
<Button x:Name="btnLucky" Background="#303134" BorderBrush="Transparent" Foreground="WhiteSmoke" Grid.Column="1" HorizontalAlignment="Left" Height="35" Width="120" Margin="10" Content="I'm feeling Lucky"/>
</Grid>
</Grid>
</Window>

@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace FakeGoogle
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}

@ -137,11 +137,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TriggerAnimations", "Trigge
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChartSample", "ChartSample\ChartSample.csproj", "{2052E6D4-43B5-4847-B629-B844E521C807}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LiveChartPractice", "LiveChartPractice\LiveChartPractice.csproj", "{4B945CF3-2E74-46AA-8EFC-21B6434A4AC2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveChartPractice", "LiveChartPractice\LiveChartPractice.csproj", "{4B945CF3-2E74-46AA-8EFC-21B6434A4AC2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPFCanvas", "WPFCanvas\WPFCanvas.csproj", "{D407D4BF-1BE7-4C02-B2A8-CF15A92793CF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WPFCanvas", "WPFCanvas\WPFCanvas.csproj", "{D407D4BF-1BE7-4C02-B2A8-CF15A92793CF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Capture", "Capture\Capture.csproj", "{08694854-976A-4551-A4CA-7BA80CFCC33C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Capture", "Capture\Capture.csproj", "{08694854-976A-4551-A4CA-7BA80CFCC33C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FakeGoogle", "FakeGoogle\FakeGoogle.csproj", "{CCEBB074-4E79-42C1-83D6-E531B49B3372}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -429,6 +431,10 @@ Global
{08694854-976A-4551-A4CA-7BA80CFCC33C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08694854-976A-4551-A4CA-7BA80CFCC33C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08694854-976A-4551-A4CA-7BA80CFCC33C}.Release|Any CPU.Build.0 = Release|Any CPU
{CCEBB074-4E79-42C1-83D6-E531B49B3372}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CCEBB074-4E79-42C1-83D6-E531B49B3372}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CCEBB074-4E79-42C1-83D6-E531B49B3372}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CCEBB074-4E79-42C1-83D6-E531B49B3372}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Loading…
Cancel
Save