Add project files.
This commit is contained in:
parent
6ea7725e2e
commit
07c7bb7ab9
25
Fizetes.sln
Normal file
25
Fizetes.sln
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.11.35303.130
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fizetes", "Fizetes\Fizetes.csproj", "{13741E92-66FD-4A77-826B-97D26330B065}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{13741E92-66FD-4A77-826B-97D26330B065}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{13741E92-66FD-4A77-826B-97D26330B065}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{13741E92-66FD-4A77-826B-97D26330B065}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{13741E92-66FD-4A77-826B-97D26330B065}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {08B1280D-4FAB-4050-B397-E27E70B24161}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
6
Fizetes/App.config
Normal file
6
Fizetes/App.config
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
</startup>
|
||||
</configuration>
|
21
Fizetes/BankiUtalas.cs
Normal file
21
Fizetes/BankiUtalas.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Fizetes
|
||||
{
|
||||
internal class BankiUtalas : FizetesMod
|
||||
{
|
||||
public override string Osszeg()
|
||||
{
|
||||
return ("Banki utalás engedélyezve!");
|
||||
}
|
||||
|
||||
public BankiUtalas(string nev) : base(nev)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
58
Fizetes/Fizetes.csproj
Normal file
58
Fizetes/Fizetes.csproj
Normal file
|
@ -0,0 +1,58 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{13741E92-66FD-4A77-826B-97D26330B065}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Fizetes</RootNamespace>
|
||||
<AssemblyName>Fizetes</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BankiUtalas.cs" />
|
||||
<Compile Include="FizetesMod.cs" />
|
||||
<Compile Include="IAnozosito.cs" />
|
||||
<Compile Include="KartyasFizetes.cs" />
|
||||
<Compile Include="PayPalFizetes.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
19
Fizetes/FizetesMod.cs
Normal file
19
Fizetes/FizetesMod.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Fizetes
|
||||
{
|
||||
internal abstract class FizetesMod
|
||||
{
|
||||
public string Nev { get; set; }
|
||||
public abstract string Osszeg();
|
||||
|
||||
protected FizetesMod(string Nev)
|
||||
{
|
||||
this.Nev = Nev;
|
||||
}
|
||||
}
|
||||
}
|
13
Fizetes/IAnozosito.cs
Normal file
13
Fizetes/IAnozosito.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Fizetes
|
||||
{
|
||||
internal interface IAnozosito
|
||||
{
|
||||
void Azonosit();
|
||||
}
|
||||
}
|
23
Fizetes/KartyasFizetes.cs
Normal file
23
Fizetes/KartyasFizetes.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Fizetes
|
||||
{
|
||||
internal class KartyasFizetes : FizetesMod, IAnozosito
|
||||
{
|
||||
public void Azonosit()
|
||||
{
|
||||
Console.WriteLine("Azonosítás elfogadva!");
|
||||
}
|
||||
|
||||
public override string Osszeg()
|
||||
{
|
||||
return ("Kártyás fizetés elfogadva!");
|
||||
}
|
||||
|
||||
public KartyasFizetes(string Nev) : base(Nev) { }
|
||||
}
|
||||
}
|
23
Fizetes/PayPalFizetes.cs
Normal file
23
Fizetes/PayPalFizetes.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Fizetes
|
||||
{
|
||||
internal class PayPalFizetes : FizetesMod, IAnozosito
|
||||
{
|
||||
public void Azonosit()
|
||||
{
|
||||
Console.WriteLine("Azonosítás elfogadva!");
|
||||
}
|
||||
|
||||
public override string Osszeg()
|
||||
{
|
||||
return ("PayPal fizetés elfogadva!");
|
||||
}
|
||||
|
||||
public PayPalFizetes(string Nev) : base(Nev) { }
|
||||
}
|
||||
}
|
26
Fizetes/Program.cs
Normal file
26
Fizetes/Program.cs
Normal file
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Fizetes
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
FizetesMod f1 = new KartyasFizetes("Kártyás Fizetés");
|
||||
FizetesMod f2 = new BankiUtalas("Banki utalás");
|
||||
FizetesMod f3 = new PayPalFizetes("Fizetés PayPal-al");
|
||||
|
||||
List<FizetesMod> list = new List<FizetesMod>();
|
||||
|
||||
list.Add(f1);
|
||||
list.Add(f2);
|
||||
list.Add(f3);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
33
Fizetes/Properties/AssemblyInfo.cs
Normal file
33
Fizetes/Properties/AssemblyInfo.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Fizetes")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Fizetes")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2024")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("13741e92-66fd-4a77-826b-97d26330b065")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
Loading…
Reference in New Issue
Block a user