Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1ab51b7b8a | ||
|
7c09322623 |
25
Lab2/Lab2.sln
Normal file
25
Lab2/Lab2.sln
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.9.34622.214
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lab2", "Lab2\Lab2.csproj", "{53416734-E4DD-4E45-9FBA-AD26097BEA8F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{53416734-E4DD-4E45-9FBA-AD26097BEA8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{53416734-E4DD-4E45-9FBA-AD26097BEA8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{53416734-E4DD-4E45-9FBA-AD26097BEA8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{53416734-E4DD-4E45-9FBA-AD26097BEA8F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {9792C90A-8C03-49A8-862B-A01F8115DAE1}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
9
Lab2/Lab2/App.xaml
Normal file
9
Lab2/Lab2/App.xaml
Normal file
@ -0,0 +1,9 @@
|
||||
<Application x:Class="Lab2.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:Lab2"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
14
Lab2/Lab2/App.xaml.cs
Normal file
14
Lab2/Lab2/App.xaml.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Windows;
|
||||
|
||||
namespace Lab2
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
||||
|
||||
}
|
10
Lab2/Lab2/AssemblyInfo.cs
Normal file
10
Lab2/Lab2/AssemblyInfo.cs
Normal file
@ -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)
|
||||
)]
|
11
Lab2/Lab2/Lab2.csproj
Normal file
11
Lab2/Lab2/Lab2.csproj
Normal file
@ -0,0 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
73
Lab2/Lab2/MainWindow.xaml
Normal file
73
Lab2/Lab2/MainWindow.xaml
Normal file
@ -0,0 +1,73 @@
|
||||
<Window x:Class="Lab2.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:Lab2"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="800" Width="1200">
|
||||
<Grid x:Name="MainGrid" Background="AliceBlue">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="10*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="5*"/>
|
||||
<ColumnDefinition Width="1.5*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Border BorderBrush="#FFA500" BorderThickness="4" Grid.Column="0" Grid.Row="0" Grid.RowSpan="2">
|
||||
<StackPanel Name="ButtonPanel" Background="#5F5F5F">
|
||||
<Image Source="E:\2 cource\TSCHMI\labs\Lab2\Lab2\Lab2\src\free2.png" Margin="25"/>
|
||||
<Button Margin="20" Foreground="Blue" BorderBrush="#FFA500" BorderThickness="3" Background="#90F5DF">
|
||||
Галерея
|
||||
</Button>
|
||||
<Button Margin="20" Foreground="Blue" BorderBrush="#FFA500" BorderThickness="3" Background="#90F5DF">
|
||||
Клипы
|
||||
</Button>
|
||||
<Button Margin="20" Foreground="Blue" BorderBrush="#FFA500" BorderThickness="3" Background="#90F5DF">
|
||||
Редактор
|
||||
</Button>
|
||||
<Button Margin="20" Foreground="Blue" BorderBrush="#FFA500" BorderThickness="3" Background="#90F5DF">
|
||||
Корзина
|
||||
</Button>
|
||||
<Button Margin="20" Foreground="Blue" BorderBrush="#FFA500" BorderThickness="3" Background="#90F5DF">
|
||||
Просмотр видео
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="1" Grid.Row="0" BorderBrush="#FFA500" BorderThickness="0, 4, 4, 4" Grid.ColumnSpan="2" Background="#5F5F5F">
|
||||
<WrapPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<Label FontSize="18" Foreground="#FFA500" VerticalAlignment="center">
|
||||
<Bold> Видеоплеер UlPlayer </Bold>
|
||||
</Label>
|
||||
</WrapPanel>
|
||||
</Border>
|
||||
<Border Grid.Column="2" Grid.Row="1" BorderBrush="DarkOliveGreen" BorderThickness="3, 0, 0, 0">
|
||||
<StackPanel>
|
||||
<Label FontSize="18" Foreground="#FFA500" HorizontalAlignment="Center">
|
||||
<Bold>Инструменты</Bold>
|
||||
</Label>
|
||||
<Button Margin="15" Foreground="Blue" BorderBrush="#FFA500" BorderThickness="3" Background="#90F5DF">
|
||||
Запуск
|
||||
|
||||
</Button>
|
||||
<Button Margin="15" Foreground="Blue" BorderBrush="#FFA500" BorderThickness="3" Background="#90F5DF">
|
||||
Пуск
|
||||
|
||||
</Button>
|
||||
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<DockPanel Grid.Column="1" Grid.Row="1">
|
||||
<MediaElement x:Name="LectVideo" Grid.Column="3" HorizontalAlignment="Left" Margin="0,0,0,0" Grid.Row="1" Source="" Volume="0" LoadedBehavior="Manual" Stretch="Fill">
|
||||
<MediaElement.Style>
|
||||
<Style/>
|
||||
</MediaElement.Style>
|
||||
</MediaElement>
|
||||
|
||||
</DockPanel>
|
||||
</Grid>
|
||||
</Window>
|
24
Lab2/Lab2/MainWindow.xaml.cs
Normal file
24
Lab2/Lab2/MainWindow.xaml.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System.Text;
|
||||
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 Lab2
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
BIN
Lab2/Lab2/src/free2.png
Normal file
BIN
Lab2/Lab2/src/free2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Loading…
Reference in New Issue
Block a user