change naming of GUI class, fixate Form border, add published executable

This commit is contained in:
2022-05-17 21:00:58 +02:00
parent 4f0cc17177
commit 7f78dfefc5
17 changed files with 300 additions and 9 deletions

3
.gitignore vendored
View File

@@ -176,9 +176,6 @@ DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml

View File

@@ -1,7 +1,7 @@

namespace it_projekt
{
partial class Form1
partial class GUI
{
/// <summary>
/// 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();

View File

@@ -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;

View File

@@ -17,7 +17,7 @@ namespace it_projekt
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
Application.Run(new GUI());
}
}
}

Binary file not shown.

BIN
publish/Google.Protobuf.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
publish/MySql.Data.dll Normal file

Binary file not shown.

BIN
publish/Ubiety.Dns.Core.dll Normal file

Binary file not shown.

BIN
publish/ZstdNet.dll Normal file

Binary file not shown.

View File

@@ -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"
}
}
}

BIN
publish/it-projekt.dll Normal file

Binary file not shown.

BIN
publish/it-projekt.exe Normal file

Binary file not shown.

View File

@@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.WindowsDesktop.App",
"version": "5.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}