initial commit
This commit is contained in:
parent
707c9de0c4
commit
4b09b9f791
25
Interfaces/Interfaces.sln
Normal file
25
Interfaces/Interfaces.sln
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.7.34031.279
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Interfaces", "Interfaces\Interfaces.csproj", "{5CDF0C42-E050-4100-B81B-A3A2E4B0C5F9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{5CDF0C42-E050-4100-B81B-A3A2E4B0C5F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5CDF0C42-E050-4100-B81B-A3A2E4B0C5F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5CDF0C42-E050-4100-B81B-A3A2E4B0C5F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5CDF0C42-E050-4100-B81B-A3A2E4B0C5F9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {40F93B74-033B-461E-82D9-EDEEA68B97E0}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
9
Interfaces/Interfaces/App.xaml
Normal file
9
Interfaces/Interfaces/App.xaml
Normal file
@ -0,0 +1,9 @@
|
||||
<Application x:Class="Interfaces.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:Interfaces"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
17
Interfaces/Interfaces/App.xaml.cs
Normal file
17
Interfaces/Interfaces/App.xaml.cs
Normal file
@ -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 Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
||||
}
|
10
Interfaces/Interfaces/AssemblyInfo.cs
Normal file
10
Interfaces/Interfaces/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)
|
||||
)]
|
10
Interfaces/Interfaces/Interfaces.csproj
Normal file
10
Interfaces/Interfaces/Interfaces.csproj
Normal file
@ -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>
|
39
Interfaces/Interfaces/MainWindow.xaml
Normal file
39
Interfaces/Interfaces/MainWindow.xaml
Normal file
@ -0,0 +1,39 @@
|
||||
<Window x:Class="Interfaces.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:Interfaces"
|
||||
mc:Ignorable="d"
|
||||
Title="Images" Height="450" Width="800">
|
||||
<Grid ShowGridLines="True">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center"
|
||||
VerticalAlignment="Stretch" Orientation="Vertical">
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Image1</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Image2</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Image3</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Image4</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Image5</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Image6</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Image7</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Image8</Button>
|
||||
</StackPanel>
|
||||
<DockPanel LastChildFill="True" Grid.Row="0" Grid.Column="1">
|
||||
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Execute</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Cancel</Button>
|
||||
</StackPanel>
|
||||
<DockPanel LastChildFill="True" Background="Black">
|
||||
<Image Source="C:\Users\user\source\repos\Interfaces_Zakharov_Rostislav\Interfaces\images/image2.png"/>
|
||||
</DockPanel>
|
||||
</DockPanel>
|
||||
</Grid>
|
||||
</Window>
|
28
Interfaces/Interfaces/MainWindow.xaml.cs
Normal file
28
Interfaces/Interfaces/MainWindow.xaml.cs
Normal file
@ -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 Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
BIN
Interfaces/images/image1.avif
Normal file
BIN
Interfaces/images/image1.avif
Normal file
Binary file not shown.
BIN
Interfaces/images/image2.png
Normal file
BIN
Interfaces/images/image2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 880 KiB |
Loading…
Reference in New Issue
Block a user