diff --git a/.gitignore b/.gitignore index c73a921..cdb9d26 100644 --- a/.gitignore +++ b/.gitignore @@ -176,9 +176,6 @@ DocProject/Help/*.hhp DocProject/Help/Html2 DocProject/Help/html -# Click-Once directory -publish/ - # Publish Web Output *.[Pp]ublish.xml *.azurePubxml diff --git a/Form1.Designer.cs b/GUI.Designer.cs similarity index 94% rename from Form1.Designer.cs rename to GUI.Designer.cs index 96ddc97..7d50f41 100644 --- a/Form1.Designer.cs +++ b/GUI.Designer.cs @@ -1,7 +1,7 @@  namespace it_projekt { - partial class Form1 + partial class GUI { /// /// Required designer variable. @@ -189,7 +189,7 @@ namespace it_projekt // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(758, 336); + this.ClientSize = new System.Drawing.Size(769, 351); this.Controls.Add(this.xmlRBtn); this.Controls.Add(this.jsonRBtn); this.Controls.Add(this.dataGrid); @@ -199,8 +199,11 @@ namespace it_projekt this.Controls.Add(this.label1); this.Controls.Add(this.exportBtn); this.Controls.Add(this.loginBtn); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.MinimizeBox = false; this.Name = "Form1"; - this.Text = "Form1"; + this.Text = "Export Tool"; ((System.ComponentModel.ISupportInitialize)(this.dataGrid)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/Form1.cs b/GUI.cs similarity index 95% rename from Form1.cs rename to GUI.cs index 67935d2..c6f37f7 100644 --- a/Form1.cs +++ b/GUI.cs @@ -8,11 +8,11 @@ using System.Windows.Forms; namespace it_projekt { - public partial class Form1 : Form + public partial class GUI : Form { private Database db = null; - public Form1() + public GUI() { InitializeComponent(); this.exportBtn.Enabled = false; diff --git a/Form1.resx b/GUI.resx similarity index 100% rename from Form1.resx rename to GUI.resx diff --git a/Program.cs b/Program.cs index 1550e91..7674280 100644 --- a/Program.cs +++ b/Program.cs @@ -17,7 +17,7 @@ namespace it_projekt Application.SetHighDpiMode(HighDpiMode.SystemAware); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); + Application.Run(new GUI()); } } } diff --git a/publish/BouncyCastle.Crypto.dll b/publish/BouncyCastle.Crypto.dll new file mode 100644 index 0000000..395228b Binary files /dev/null and b/publish/BouncyCastle.Crypto.dll differ diff --git a/publish/Google.Protobuf.dll b/publish/Google.Protobuf.dll new file mode 100644 index 0000000..cf2e030 Binary files /dev/null and b/publish/Google.Protobuf.dll differ diff --git a/publish/K4os.Compression.LZ4.Streams.dll b/publish/K4os.Compression.LZ4.Streams.dll new file mode 100644 index 0000000..42f55d6 Binary files /dev/null and b/publish/K4os.Compression.LZ4.Streams.dll differ diff --git a/publish/K4os.Compression.LZ4.dll b/publish/K4os.Compression.LZ4.dll new file mode 100644 index 0000000..718ebb3 Binary files /dev/null and b/publish/K4os.Compression.LZ4.dll differ diff --git a/publish/K4os.Hash.xxHash.dll b/publish/K4os.Hash.xxHash.dll new file mode 100644 index 0000000..4179a29 Binary files /dev/null and b/publish/K4os.Hash.xxHash.dll differ diff --git a/publish/MySql.Data.dll b/publish/MySql.Data.dll new file mode 100644 index 0000000..7c84641 Binary files /dev/null and b/publish/MySql.Data.dll differ diff --git a/publish/Ubiety.Dns.Core.dll b/publish/Ubiety.Dns.Core.dll new file mode 100644 index 0000000..b10ecf2 Binary files /dev/null and b/publish/Ubiety.Dns.Core.dll differ diff --git a/publish/ZstdNet.dll b/publish/ZstdNet.dll new file mode 100644 index 0000000..bc60788 Binary files /dev/null and b/publish/ZstdNet.dll differ diff --git a/publish/it-projekt.deps.json b/publish/it-projekt.deps.json new file mode 100644 index 0000000..6b7104b --- /dev/null +++ b/publish/it-projekt.deps.json @@ -0,0 +1,279 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v5.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v5.0": { + "it-projekt/1.0.0": { + "dependencies": { + "MySql.Data": "8.0.29" + }, + "runtime": { + "it-projekt.dll": {} + } + }, + "BouncyCastle.NetCore/1.8.5": { + "runtime": { + "lib/netstandard2.0/BouncyCastle.Crypto.dll": { + "assemblyVersion": "1.8.5.0", + "fileVersion": "1.8.19031.1" + } + } + }, + "Google.Protobuf/3.19.4": { + "runtime": { + "lib/net5.0/Google.Protobuf.dll": { + "assemblyVersion": "3.19.4.0", + "fileVersion": "3.19.4.0" + } + } + }, + "K4os.Compression.LZ4/1.2.6": { + "dependencies": { + "System.Memory": "4.5.4" + }, + "runtime": { + "lib/netstandard2.0/K4os.Compression.LZ4.dll": { + "assemblyVersion": "1.2.6.0", + "fileVersion": "1.2.6.0" + } + } + }, + "K4os.Compression.LZ4.Streams/1.2.6": { + "dependencies": { + "K4os.Compression.LZ4": "1.2.6", + "K4os.Hash.xxHash": "1.0.6" + }, + "runtime": { + "lib/netstandard2.1/K4os.Compression.LZ4.Streams.dll": { + "assemblyVersion": "1.2.6.0", + "fileVersion": "1.2.6.0" + } + } + }, + "K4os.Hash.xxHash/1.0.6": { + "dependencies": { + "System.Memory": "4.5.4" + }, + "runtime": { + "lib/netstandard2.0/K4os.Hash.xxHash.dll": { + "assemblyVersion": "1.0.6.0", + "fileVersion": "1.0.6.0" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": {}, + "Microsoft.Win32.SystemEvents/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + } + }, + "MySql.Data/8.0.29": { + "dependencies": { + "BouncyCastle.NetCore": "1.8.5", + "Google.Protobuf": "3.19.4", + "K4os.Compression.LZ4.Streams": "1.2.6", + "System.Buffers": "4.5.1", + "System.Configuration.ConfigurationManager": "4.4.1", + "System.Runtime.CompilerServices.Unsafe": "5.0.0", + "System.Security.Permissions": "4.7.0", + "System.Text.Encoding.CodePages": "4.4.0" + }, + "runtime": { + "lib/net5.0/MySql.Data.dll": { + "assemblyVersion": "8.0.29.0", + "fileVersion": "8.0.29.0" + }, + "lib/net5.0/Ubiety.Dns.Core.dll": { + "assemblyVersion": "2.2.1.0", + "fileVersion": "2.2.1.0" + }, + "lib/net5.0/ZstdNet.dll": { + "assemblyVersion": "1.4.5.0", + "fileVersion": "1.4.5.0" + } + } + }, + "System.Buffers/4.5.1": {}, + "System.Configuration.ConfigurationManager/4.4.1": { + "dependencies": { + "System.Security.Cryptography.ProtectedData": "4.4.0" + } + }, + "System.Drawing.Common/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "Microsoft.Win32.SystemEvents": "4.7.0" + } + }, + "System.Memory/4.5.4": {}, + "System.Runtime.CompilerServices.Unsafe/5.0.0": {}, + "System.Security.AccessControl/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "System.Security.Cryptography.ProtectedData/4.4.0": {}, + "System.Security.Permissions/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Windows.Extensions": "4.7.0" + } + }, + "System.Security.Principal.Windows/4.7.0": {}, + "System.Text.Encoding.CodePages/4.4.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + } + }, + "System.Windows.Extensions/4.7.0": { + "dependencies": { + "System.Drawing.Common": "4.7.0" + } + } + } + }, + "libraries": { + "it-projekt/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "BouncyCastle.NetCore/1.8.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6uxsQw2UXrt82VQAWC2td3oBSJjUZ3P4u4DliagB8wf67KsU53V8sW9xwdF+IwZOOZFR0TCZuv/YKZ2BlrfAag==", + "path": "bouncycastle.netcore/1.8.5", + "hashPath": "bouncycastle.netcore.1.8.5.nupkg.sha512" + }, + "Google.Protobuf/3.19.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fd07/ykL4O4FhqrZIELm5lmiyOHfdPg9+o+hWr6tcfRdS7tHXnImg/2wtogLzlW2eEmr0J7j6ZrZvaWOLiJbxQ==", + "path": "google.protobuf/3.19.4", + "hashPath": "google.protobuf.3.19.4.nupkg.sha512" + }, + "K4os.Compression.LZ4/1.2.6": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4EN8EE6bZG2U8dFfeqn+Om3UNajK3cPYHvyQROCFm4jNFVLuRB7Nl5bDkjBSAjfctS6konm+ay3u5RafBzltDA==", + "path": "k4os.compression.lz4/1.2.6", + "hashPath": "k4os.compression.lz4.1.2.6.nupkg.sha512" + }, + "K4os.Compression.LZ4.Streams/1.2.6": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5KMcNFRHeRrnJ9c8k5fZcfAJJEY0FndMiDiHIYa35Mx5KCMkeSNo/PEXu7YmtCoVczJagx+Vt7J/F+//S1PcJQ==", + "path": "k4os.compression.lz4.streams/1.2.6", + "hashPath": "k4os.compression.lz4.streams.1.2.6.nupkg.sha512" + }, + "K4os.Hash.xxHash/1.0.6": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jCfNP0inx1sGcP3KSbpiDEH3km2e1sVBjMfKo+V92jr1dL4ZYgA1uhRMl1wAtdGZcbObXIikKqtVlgx3j/CW6g==", + "path": "k4os.hash.xxhash/1.0.6", + "hashPath": "k4os.hash.xxhash.1.0.6.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "path": "microsoft.netcore.platforms/3.1.0", + "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512" + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==", + "path": "microsoft.win32.systemevents/4.7.0", + "hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512" + }, + "MySql.Data/8.0.29": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3I+QUbSDTknNVAWUEr8JEtXU5sk83kofwy79TROew9YMhVQAq39jZwpHQfFNG757JZFGWJ5oa5VA3tZBxJa1jw==", + "path": "mysql.data/8.0.29", + "hashPath": "mysql.data.8.0.29.nupkg.sha512" + }, + "System.Buffers/4.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==", + "path": "system.buffers/4.5.1", + "hashPath": "system.buffers.4.5.1.nupkg.sha512" + }, + "System.Configuration.ConfigurationManager/4.4.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jz3TWKMAeuDEyrPCK5Jyt4bzQcmzUIMcY9Ud6PkElFxTfnsihV+9N/UCqvxe1z5gc7jMYAnj7V1COMS9QKIuHQ==", + "path": "system.configuration.configurationmanager/4.4.1", + "hashPath": "system.configuration.configurationmanager.4.4.1.nupkg.sha512" + }, + "System.Drawing.Common/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==", + "path": "system.drawing.common/4.7.0", + "hashPath": "system.drawing.common.4.7.0.nupkg.sha512" + }, + "System.Memory/4.5.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "path": "system.memory/4.5.4", + "hashPath": "system.memory.4.5.4.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/5.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==", + "path": "system.runtime.compilerservices.unsafe/5.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512" + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "path": "system.security.accesscontrol/4.7.0", + "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512" + }, + "System.Security.Cryptography.ProtectedData/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==", + "path": "system.security.cryptography.protecteddata/4.4.0", + "hashPath": "system.security.cryptography.protecteddata.4.4.0.nupkg.sha512" + }, + "System.Security.Permissions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==", + "path": "system.security.permissions/4.7.0", + "hashPath": "system.security.permissions.4.7.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "path": "system.security.principal.windows/4.7.0", + "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512" + }, + "System.Text.Encoding.CodePages/4.4.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6JX7ZdaceBiLKLkYt8zJcp4xTJd1uYyXXEkPw6mnlUIjh1gZPIVKPtRXPmY5kLf6DwZmf5YLwR3QUrRonl7l0A==", + "path": "system.text.encoding.codepages/4.4.0", + "hashPath": "system.text.encoding.codepages.4.4.0.nupkg.sha512" + }, + "System.Windows.Extensions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", + "path": "system.windows.extensions/4.7.0", + "hashPath": "system.windows.extensions.4.7.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/publish/it-projekt.dll b/publish/it-projekt.dll new file mode 100644 index 0000000..d44f371 Binary files /dev/null and b/publish/it-projekt.dll differ diff --git a/publish/it-projekt.exe b/publish/it-projekt.exe new file mode 100644 index 0000000..3080d3f Binary files /dev/null and b/publish/it-projekt.exe differ diff --git a/publish/it-projekt.runtimeconfig.json b/publish/it-projekt.runtimeconfig.json new file mode 100644 index 0000000..b143e2c --- /dev/null +++ b/publish/it-projekt.runtimeconfig.json @@ -0,0 +1,12 @@ +{ + "runtimeOptions": { + "tfm": "net5.0", + "framework": { + "name": "Microsoft.WindowsDesktop.App", + "version": "5.0.0" + }, + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false + } + } +} \ No newline at end of file