Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f847858881 | ||
|
51e5fb74f8 |
31
ConsoleApplication1/ConsoleApplication1.sln
Normal file
31
ConsoleApplication1/ConsoleApplication1.sln
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.8.34330.188
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ConsoleApplication1", "ConsoleApplication1\ConsoleApplication1.vcxproj", "{4797C397-029A-49F3-8DE1-337135B74FC5}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{4797C397-029A-49F3-8DE1-337135B74FC5}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{4797C397-029A-49F3-8DE1-337135B74FC5}.Debug|x64.Build.0 = Debug|x64
|
||||
{4797C397-029A-49F3-8DE1-337135B74FC5}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{4797C397-029A-49F3-8DE1-337135B74FC5}.Debug|x86.Build.0 = Debug|Win32
|
||||
{4797C397-029A-49F3-8DE1-337135B74FC5}.Release|x64.ActiveCfg = Release|x64
|
||||
{4797C397-029A-49F3-8DE1-337135B74FC5}.Release|x64.Build.0 = Release|x64
|
||||
{4797C397-029A-49F3-8DE1-337135B74FC5}.Release|x86.ActiveCfg = Release|Win32
|
||||
{4797C397-029A-49F3-8DE1-337135B74FC5}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {A27942FA-94E3-43E3-974A-F10DEE1023A3}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
void main()
|
||||
{
|
||||
long long var = 1;
|
||||
|
||||
}
|
@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>17.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectGuid>{4797c397-029a-49f3-8de1-337135b74fc5}</ProjectGuid>
|
||||
<RootNamespace>ConsoleApplication1</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ConsoleApplication1.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Исходные файлы">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Файлы заголовков">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Файлы ресурсов">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ConsoleApplication1.cpp">
|
||||
<Filter>Исходные файлы</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -5,20 +5,74 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:WPF"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="500" Width="800" MinHeight="500" MinWidth="800">
|
||||
<Grid ShowGridLines="True">
|
||||
Title="MainWindow" Height="800" Width="1000" MinHeight="800" MinWidth="1000">
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="1*"/>
|
||||
<RowDefinition Height="7*"/>
|
||||
<RowDefinition Height="2*"/>
|
||||
<RowDefinition Height="2*"/>
|
||||
<RowDefinition Height="7*"/>
|
||||
<RowDefinition Height="2*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*"/>
|
||||
<ColumnDefinition Width="3*"/>
|
||||
<ColumnDefinition Width="4*"/>
|
||||
<ColumnDefinition Width="4*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Viewbox Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" HorizontalAlignment="Center">
|
||||
<TextBlock Text="Список популярных фильмов 2024" FontSize="16" />
|
||||
</Viewbox>
|
||||
|
||||
<Button x:Name="pictureFilm_button1" Grid.Column="0" Grid.Row="1" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="margarita" Source="Resources/Ice3.jpg"/>
|
||||
</Button>
|
||||
<Button x:Name="btnAboutFilm1" Grid.Column="0" Grid.Row="2" Content="О фильме" Margin="5,0,5,0" Background="Orange" FontSize="14" />
|
||||
|
||||
<Button x:Name="pictureFilm_button2" Grid.Column="1" Grid.Row="1" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="meat" Source="Resources/Dune2.jpg"/>
|
||||
</Button>
|
||||
<Button x:Name="btnAboutFilm2" Grid.Column="1" Grid.Row="2" Content="О фильме" Margin="5,0,5,0" Background="Orange" FontSize="14" />
|
||||
|
||||
<Button x:Name="pictureFilm_button3" Grid.Column="2" Grid.Row="1" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="pepperoni" Source="Resources/Twisters2.jpg"/>
|
||||
</Button>
|
||||
<Button x:Name="btnAboutFilm3" Grid.Column="2" Grid.Row="2" Content="О фильме" Margin="5,0,5,0" Background="Orange" FontSize="14" />
|
||||
|
||||
<Button x:Name="pictureFilm_button4" Grid.Column="3" Grid.Row="1" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="tomat" Source="Resources/Deadpool3.jpg"/>
|
||||
</Button>
|
||||
<Button x:Name="btnAboutFilm4" Grid.Column="3" Grid.Row="2" Content="О фильме" Margin="5,0,5,0" Background="Orange" FontSize="14" />
|
||||
|
||||
<Viewbox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center">
|
||||
<TextBlock Text="Смерч 2 (Трейлер)" HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="14"/>
|
||||
</Viewbox>
|
||||
|
||||
<Viewbox Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Center">
|
||||
<TextBlock Text="Топ 9 фильмов за все время" HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="14" FontWeight="Bold" Margin="8,5,8,5"/>
|
||||
</Viewbox>
|
||||
|
||||
<StackPanel Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2">
|
||||
<Slider Name="vol" Maximum="1" MinHeight="23" MinWidth="100" Value="1" LargeChange="0.1" SmallChange="0.01" />
|
||||
</StackPanel>
|
||||
|
||||
<Viewbox Grid.Row="4" Grid.Column="2" HorizontalAlignment="Center" Grid.ColumnSpan="2">
|
||||
<StackPanel>
|
||||
<TextBlock Text="1. 1+1" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="2. Интерстеллар" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="3. Побег из Шоушенка" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="4. Зеленая миля" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="5. Бойцовский клуб" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="6. Остров проклятых" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="7. Форрест Гамп" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="8. Унесённые призраками" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="9. Властелин колец" FontSize="14" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</Viewbox>
|
||||
|
||||
<Button x:Name="btnPlay" Grid.Column="0" Grid.Row="5" Content="Старт" Margin="5,0,5,3" Background="Green" />
|
||||
<Button x:Name="btnStop" Grid.Column="1" Grid.Row="5" Content="Пауза" Margin="5,0,5,3" Background="Red" />
|
||||
</Grid>
|
||||
</Window>
|
||||
|
BIN
WPF/WPF/Resources/Deadpool3.jpg
Normal file
BIN
WPF/WPF/Resources/Deadpool3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
WPF/WPF/Resources/Dune2.jpg
Normal file
BIN
WPF/WPF/Resources/Dune2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 695 KiB |
BIN
WPF/WPF/Resources/Ice3.jpg
Normal file
BIN
WPF/WPF/Resources/Ice3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
WPF/WPF/Resources/Twisters2.jpg
Normal file
BIN
WPF/WPF/Resources/Twisters2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -94,5 +94,13 @@
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Dune2.jpg" />
|
||||
<Resource Include="Resources\Ice3.jpg" />
|
||||
<Resource Include="Resources\Twisters2.jpg" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Deadpool3.jpg" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user