Browse Source

init

tags/1.0
Jonas Leder 6 months ago
parent
commit
f8b060d2b9

+ 25
- 0
Youtube-Downloader.sln View File

@@ -0,0 +1,25 @@
1
+
2
+Microsoft Visual Studio Solution File, Format Version 12.00
3
+# Visual Studio 15
4
+VisualStudioVersion = 15.0.28307.421
5
+MinimumVisualStudioVersion = 10.0.40219.1
6
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Youtube-Downloader", "Youtube-Downloader\Youtube-Downloader.csproj", "{22C34D7C-443C-41D1-A958-0DF058ADDCE8}"
7
+EndProject
8
+Global
9
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+		Debug|Any CPU = Debug|Any CPU
11
+		Release|Any CPU = Release|Any CPU
12
+	EndGlobalSection
13
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
+		{22C34D7C-443C-41D1-A958-0DF058ADDCE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15
+		{22C34D7C-443C-41D1-A958-0DF058ADDCE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
16
+		{22C34D7C-443C-41D1-A958-0DF058ADDCE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
17
+		{22C34D7C-443C-41D1-A958-0DF058ADDCE8}.Release|Any CPU.Build.0 = Release|Any CPU
18
+	EndGlobalSection
19
+	GlobalSection(SolutionProperties) = preSolution
20
+		HideSolutionNode = FALSE
21
+	EndGlobalSection
22
+	GlobalSection(ExtensibilityGlobals) = postSolution
23
+		SolutionGuid = {CDE714DC-92AA-4C75-BD91-9792E9FA6B62}
24
+	EndGlobalSection
25
+EndGlobal

+ 6
- 0
Youtube-Downloader/App.config View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="utf-8" ?>
2
+<configuration>
3
+    <startup> 
4
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
5
+    </startup>
6
+</configuration>

+ 40
- 0
Youtube-Downloader/Form1.Designer.cs View File

@@ -0,0 +1,40 @@
1
+namespace Youtube_Downloader
2
+{
3
+    partial class Form1
4
+    {
5
+        /// <summary>
6
+        /// Erforderliche Designervariable.
7
+        /// </summary>
8
+        private System.ComponentModel.IContainer components = null;
9
+
10
+        /// <summary>
11
+        /// Verwendete Ressourcen bereinigen.
12
+        /// </summary>
13
+        /// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
14
+        protected override void Dispose(bool disposing)
15
+        {
16
+            if (disposing && (components != null))
17
+            {
18
+                components.Dispose();
19
+            }
20
+            base.Dispose(disposing);
21
+        }
22
+
23
+        #region Vom Windows Form-Designer generierter Code
24
+
25
+        /// <summary>
26
+        /// Erforderliche Methode für die Designerunterstützung.
27
+        /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
28
+        /// </summary>
29
+        private void InitializeComponent()
30
+        {
31
+            this.components = new System.ComponentModel.Container();
32
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
33
+            this.ClientSize = new System.Drawing.Size(800, 450);
34
+            this.Text = "Form1";
35
+        }
36
+
37
+        #endregion
38
+    }
39
+}
40
+

+ 20
- 0
Youtube-Downloader/Form1.cs View File

@@ -0,0 +1,20 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.ComponentModel;
4
+using System.Data;
5
+using System.Drawing;
6
+using System.Linq;
7
+using System.Text;
8
+using System.Threading.Tasks;
9
+using System.Windows.Forms;
10
+
11
+namespace Youtube_Downloader
12
+{
13
+    public partial class Form1 : Form
14
+    {
15
+        public Form1()
16
+        {
17
+            InitializeComponent();
18
+        }
19
+    }
20
+}

+ 22
- 0
Youtube-Downloader/Program.cs View File

@@ -0,0 +1,22 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Threading.Tasks;
5
+using System.Windows.Forms;
6
+
7
+namespace Youtube_Downloader
8
+{
9
+    static class Program
10
+    {
11
+        /// <summary>
12
+        /// Der Haupteinstiegspunkt für die Anwendung.
13
+        /// </summary>
14
+        [STAThread]
15
+        static void Main()
16
+        {
17
+            Application.EnableVisualStyles();
18
+            Application.SetCompatibleTextRenderingDefault(false);
19
+            Application.Run(new Form1());
20
+        }
21
+    }
22
+}

+ 36
- 0
Youtube-Downloader/Properties/AssemblyInfo.cs View File

@@ -0,0 +1,36 @@
1
+using System.Reflection;
2
+using System.Runtime.CompilerServices;
3
+using System.Runtime.InteropServices;
4
+
5
+// Allgemeine Informationen über eine Assembly werden über die folgenden
6
+// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
7
+// die einer Assembly zugeordnet sind.
8
+[assembly: AssemblyTitle("Youtube-Downloader")]
9
+[assembly: AssemblyDescription("")]
10
+[assembly: AssemblyConfiguration("")]
11
+[assembly: AssemblyCompany("")]
12
+[assembly: AssemblyProduct("Youtube-Downloader")]
13
+[assembly: AssemblyCopyright("Copyright ©  2019")]
14
+[assembly: AssemblyTrademark("")]
15
+[assembly: AssemblyCulture("")]
16
+
17
+// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
18
+// für COM-Komponenten unsichtbar.  Wenn Sie auf einen Typ in dieser Assembly von
19
+// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
20
+[assembly: ComVisible(false)]
21
+
22
+// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
23
+[assembly: Guid("22c34d7c-443c-41d1-a958-0df058addce8")]
24
+
25
+// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
26
+//
27
+//      Hauptversion
28
+//      Nebenversion
29
+//      Buildnummer
30
+//      Revision
31
+//
32
+// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
33
+// übernehmen, indem Sie "*" eingeben:
34
+// [assembly: AssemblyVersion("1.0.*")]
35
+[assembly: AssemblyVersion("1.0.0.0")]
36
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71
- 0
Youtube-Downloader/Properties/Resources.Designer.cs View File

@@ -0,0 +1,71 @@
1
+//------------------------------------------------------------------------------
2
+// <auto-generated>
3
+//     Dieser Code wurde von einem Tool generiert.
4
+//     Laufzeitversion: 4.0.30319.42000
5
+//
6
+//     Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
7
+//     der Code neu generiert wird.
8
+// </auto-generated>
9
+//------------------------------------------------------------------------------
10
+
11
+namespace Youtube_Downloader.Properties
12
+{
13
+
14
+
15
+    /// <summary>
16
+    ///   Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
17
+    /// </summary>
18
+    // Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
19
+    // über ein Tool wie ResGen oder Visual Studio automatisch generiert.
20
+    // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
21
+    // mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
22
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25
+    internal class Resources
26
+    {
27
+
28
+        private static global::System.Resources.ResourceManager resourceMan;
29
+
30
+        private static global::System.Globalization.CultureInfo resourceCulture;
31
+
32
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33
+        internal Resources()
34
+        {
35
+        }
36
+
37
+        /// <summary>
38
+        ///   Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
39
+        /// </summary>
40
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41
+        internal static global::System.Resources.ResourceManager ResourceManager
42
+        {
43
+            get
44
+            {
45
+                if ((resourceMan == null))
46
+                {
47
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Youtube_Downloader.Properties.Resources", typeof(Resources).Assembly);
48
+                    resourceMan = temp;
49
+                }
50
+                return resourceMan;
51
+            }
52
+        }
53
+
54
+        /// <summary>
55
+        ///   Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
56
+        ///   Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
57
+        /// </summary>
58
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59
+        internal static global::System.Globalization.CultureInfo Culture
60
+        {
61
+            get
62
+            {
63
+                return resourceCulture;
64
+            }
65
+            set
66
+            {
67
+                resourceCulture = value;
68
+            }
69
+        }
70
+    }
71
+}

+ 117
- 0
Youtube-Downloader/Properties/Resources.resx View File

@@ -0,0 +1,117 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<root>
3
+  <!-- 
4
+    Microsoft ResX Schema 
5
+    
6
+    Version 2.0
7
+    
8
+    The primary goals of this format is to allow a simple XML format 
9
+    that is mostly human readable. The generation and parsing of the 
10
+    various data types are done through the TypeConverter classes 
11
+    associated with the data types.
12
+    
13
+    Example:
14
+    
15
+    ... ado.net/XML headers & schema ...
16
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+    <resheader name="version">2.0</resheader>
18
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+    </data>
25
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+        <comment>This is a comment</comment>
28
+    </data>
29
+                
30
+    There are any number of "resheader" rows that contain simple 
31
+    name/value pairs.
32
+    
33
+    Each data row contains a name, and value. The row also contains a 
34
+    type or mimetype. Type corresponds to a .NET class that support 
35
+    text/value conversion through the TypeConverter architecture. 
36
+    Classes that don't support this are serialized and stored with the 
37
+    mimetype set.
38
+    
39
+    The mimetype is used for serialized objects, and tells the 
40
+    ResXResourceReader how to depersist the object. This is currently not 
41
+    extensible. For a given mimetype the value must be set accordingly:
42
+    
43
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
+    that the ResXResourceWriter will generate, however the reader can 
45
+    read any of the formats listed below.
46
+    
47
+    mimetype: application/x-microsoft.net.object.binary.base64
48
+    value   : The object must be serialized with 
49
+            : System.Serialization.Formatters.Binary.BinaryFormatter
50
+            : and then encoded with base64 encoding.
51
+    
52
+    mimetype: application/x-microsoft.net.object.soap.base64
53
+    value   : The object must be serialized with 
54
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+            : and then encoded with base64 encoding.
56
+
57
+    mimetype: application/x-microsoft.net.object.bytearray.base64
58
+    value   : The object must be serialized into a byte array 
59
+            : using a System.ComponentModel.TypeConverter
60
+            : and then encoded with base64 encoding.
61
+    -->
62
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+    <xsd:element name="root" msdata:IsDataSet="true">
64
+      <xsd:complexType>
65
+        <xsd:choice maxOccurs="unbounded">
66
+          <xsd:element name="metadata">
67
+            <xsd:complexType>
68
+              <xsd:sequence>
69
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
70
+              </xsd:sequence>
71
+              <xsd:attribute name="name" type="xsd:string" />
72
+              <xsd:attribute name="type" type="xsd:string" />
73
+              <xsd:attribute name="mimetype" type="xsd:string" />
74
+            </xsd:complexType>
75
+          </xsd:element>
76
+          <xsd:element name="assembly">
77
+            <xsd:complexType>
78
+              <xsd:attribute name="alias" type="xsd:string" />
79
+              <xsd:attribute name="name" type="xsd:string" />
80
+            </xsd:complexType>
81
+          </xsd:element>
82
+          <xsd:element name="data">
83
+            <xsd:complexType>
84
+              <xsd:sequence>
85
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87
+              </xsd:sequence>
88
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
89
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
91
+            </xsd:complexType>
92
+          </xsd:element>
93
+          <xsd:element name="resheader">
94
+            <xsd:complexType>
95
+              <xsd:sequence>
96
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
97
+              </xsd:sequence>
98
+              <xsd:attribute name="name" type="xsd:string" use="required" />
99
+            </xsd:complexType>
100
+          </xsd:element>
101
+        </xsd:choice>
102
+      </xsd:complexType>
103
+    </xsd:element>
104
+  </xsd:schema>
105
+  <resheader name="resmimetype">
106
+    <value>text/microsoft-resx</value>
107
+  </resheader>
108
+  <resheader name="version">
109
+    <value>2.0</value>
110
+  </resheader>
111
+  <resheader name="reader">
112
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113
+  </resheader>
114
+  <resheader name="writer">
115
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+  </resheader>
117
+</root>

+ 30
- 0
Youtube-Downloader/Properties/Settings.Designer.cs View File

@@ -0,0 +1,30 @@
1
+//------------------------------------------------------------------------------
2
+// <auto-generated>
3
+//     This code was generated by a tool.
4
+//     Runtime Version:4.0.30319.42000
5
+//
6
+//     Changes to this file may cause incorrect behavior and will be lost if
7
+//     the code is regenerated.
8
+// </auto-generated>
9
+//------------------------------------------------------------------------------
10
+
11
+namespace Youtube_Downloader.Properties
12
+{
13
+
14
+
15
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18
+    {
19
+
20
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21
+
22
+        public static Settings Default
23
+        {
24
+            get
25
+            {
26
+                return defaultInstance;
27
+            }
28
+        }
29
+    }
30
+}

+ 7
- 0
Youtube-Downloader/Properties/Settings.settings View File

@@ -0,0 +1,7 @@
1
+<?xml version='1.0' encoding='utf-8'?>
2
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
3
+  <Profiles>
4
+    <Profile Name="(Default)" />
5
+  </Profiles>
6
+  <Settings />
7
+</SettingsFile>

+ 80
- 0
Youtube-Downloader/Youtube-Downloader.csproj View File

@@ -0,0 +1,80 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+  <PropertyGroup>
5
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+    <ProjectGuid>{22C34D7C-443C-41D1-A958-0DF058ADDCE8}</ProjectGuid>
8
+    <OutputType>WinExe</OutputType>
9
+    <RootNamespace>Youtube_Downloader</RootNamespace>
10
+    <AssemblyName>Youtube-Downloader</AssemblyName>
11
+    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12
+    <FileAlignment>512</FileAlignment>
13
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14
+    <Deterministic>true</Deterministic>
15
+  </PropertyGroup>
16
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
+    <PlatformTarget>AnyCPU</PlatformTarget>
18
+    <DebugSymbols>true</DebugSymbols>
19
+    <DebugType>full</DebugType>
20
+    <Optimize>false</Optimize>
21
+    <OutputPath>bin\Debug\</OutputPath>
22
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
23
+    <ErrorReport>prompt</ErrorReport>
24
+    <WarningLevel>4</WarningLevel>
25
+  </PropertyGroup>
26
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27
+    <PlatformTarget>AnyCPU</PlatformTarget>
28
+    <DebugType>pdbonly</DebugType>
29
+    <Optimize>true</Optimize>
30
+    <OutputPath>bin\Release\</OutputPath>
31
+    <DefineConstants>TRACE</DefineConstants>
32
+    <ErrorReport>prompt</ErrorReport>
33
+    <WarningLevel>4</WarningLevel>
34
+  </PropertyGroup>
35
+  <ItemGroup>
36
+    <Reference Include="System" />
37
+    <Reference Include="System.Core" />
38
+    <Reference Include="System.Xml.Linq" />
39
+    <Reference Include="System.Data.DataSetExtensions" />
40
+    <Reference Include="Microsoft.CSharp" />
41
+    <Reference Include="System.Data" />
42
+    <Reference Include="System.Deployment" />
43
+    <Reference Include="System.Drawing" />
44
+    <Reference Include="System.Net.Http" />
45
+    <Reference Include="System.Windows.Forms" />
46
+    <Reference Include="System.Xml" />
47
+  </ItemGroup>
48
+  <ItemGroup>
49
+    <Compile Include="Form1.cs">
50
+      <SubType>Form</SubType>
51
+    </Compile>
52
+    <Compile Include="Form1.Designer.cs">
53
+      <DependentUpon>Form1.cs</DependentUpon>
54
+    </Compile>
55
+    <Compile Include="Program.cs" />
56
+    <Compile Include="Properties\AssemblyInfo.cs" />
57
+    <EmbeddedResource Include="Properties\Resources.resx">
58
+      <Generator>ResXFileCodeGenerator</Generator>
59
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
60
+      <SubType>Designer</SubType>
61
+    </EmbeddedResource>
62
+    <Compile Include="Properties\Resources.Designer.cs">
63
+      <AutoGen>True</AutoGen>
64
+      <DependentUpon>Resources.resx</DependentUpon>
65
+    </Compile>
66
+    <None Include="Properties\Settings.settings">
67
+      <Generator>SettingsSingleFileGenerator</Generator>
68
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
69
+    </None>
70
+    <Compile Include="Properties\Settings.Designer.cs">
71
+      <AutoGen>True</AutoGen>
72
+      <DependentUpon>Settings.settings</DependentUpon>
73
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
74
+    </Compile>
75
+  </ItemGroup>
76
+  <ItemGroup>
77
+    <None Include="App.config" />
78
+  </ItemGroup>
79
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
80
+</Project>