From 808475f5866e5b8a2ba68b86a96eb945cbee3c8f Mon Sep 17 00:00:00 2001
From: NaysKutzu <87282334+NaysKutzu@users.noreply.github.com>
Date: Sun, 24 Sep 2023 16:52:10 +0200
Subject: [PATCH] PUSH
-> Useless work but nice things
---
FrmLoader.Designer.cs | 46 ++++++++++++++
FrmLoader.cs | 19 ++++++
FrmLoader.resx | 120 ++++++++++++++++++++++++++++++++++++
FrmLogin.Designer.cs | 2 +-
FrmLogin.cs | 2 +-
FrmLogin.resx | 2 +-
PteroController.csproj | 14 +++++
PteroController.csproj.user | 3 +
8 files changed, 205 insertions(+), 3 deletions(-)
create mode 100644 FrmLoader.Designer.cs
create mode 100644 FrmLoader.cs
create mode 100644 FrmLoader.resx
diff --git a/FrmLoader.Designer.cs b/FrmLoader.Designer.cs
new file mode 100644
index 0000000..4b22eee
--- /dev/null
+++ b/FrmLoader.Designer.cs
@@ -0,0 +1,46 @@
+namespace PteroController
+{
+ partial class FrmLoader
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ SuspendLayout();
+ //
+ // FrmLoader
+ //
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(800, 450);
+ Name = "FrmLoader";
+ Text = "FrmLoader";
+ Load += FrmLoader_Load;
+ ResumeLayout(false);
+ }
+
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/FrmLoader.cs b/FrmLoader.cs
new file mode 100644
index 0000000..b48e7b1
--- /dev/null
+++ b/FrmLoader.cs
@@ -0,0 +1,19 @@
+namespace PteroController
+{
+ public partial class FrmLoader : Form
+ {
+ private Form formToOpen;
+ public FrmLoader(Form formToOpen)
+ {
+ InitializeComponent();
+ this.formToOpen = formToOpen;
+ }
+
+ private void FrmLoader_Load(object sender, EventArgs e)
+ {
+ this.formToOpen.Show();
+ FrmLoader fl = (this);
+ fl.Hide();
+ }
+ }
+}
diff --git a/FrmLoader.resx b/FrmLoader.resx
new file mode 100644
index 0000000..af32865
--- /dev/null
+++ b/FrmLoader.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/FrmLogin.Designer.cs b/FrmLogin.Designer.cs
index f0395bb..9b97069 100644
--- a/FrmLogin.Designer.cs
+++ b/FrmLogin.Designer.cs
@@ -90,7 +90,7 @@ private void InitializeComponent()
//
// btnlogin
//
- btnlogin.Location = new Point(68, 144);
+ btnlogin.Location = new Point(67, 144);
btnlogin.Name = "btnlogin";
btnlogin.Size = new Size(75, 23);
btnlogin.TabIndex = 6;
diff --git a/FrmLogin.cs b/FrmLogin.cs
index bda6261..ff30caa 100644
--- a/FrmLogin.cs
+++ b/FrmLogin.cs
@@ -86,7 +86,7 @@ private void CheckSession()
}
catch (Exception ex)
{
- MessageBox.Show("Failed to check for sessions: \n'" + ex.Message+"'");
+ MessageBox.Show("Failed to check for sessions: \n'" + ex.Message + "'");
}
}
diff --git a/FrmLogin.resx b/FrmLogin.resx
index f564f66..be83ca5 100644
--- a/FrmLogin.resx
+++ b/FrmLogin.resx
@@ -18,7 +18,7 @@
System.Resources.ResXResourceReader, System.Windows.Forms, ...
System.Resources.ResXResourceWriter, System.Windows.Forms, ...
this is my long stringthis is a comment
- Blue
+ Blue
[base64 mime encoded serialized .NET Framework object]
diff --git a/PteroController.csproj b/PteroController.csproj
index e350ae1..096d860 100644
--- a/PteroController.csproj
+++ b/PteroController.csproj
@@ -13,6 +13,16 @@
False
LICENSE
True
+ false
+ https://github.com/MythicalLTD/PteroController
+ pterry.png
+
+ https://github.com/MythicalLTD/PteroController
+ Pterodactyl
+ 2023
+ MythicalSystems LTD
+ MythicalSystems LTD
+ true
@@ -48,6 +58,10 @@
Always
+
+ True
+
+
\ No newline at end of file
diff --git a/PteroController.csproj.user b/PteroController.csproj.user
index 685525b..b8b74e2 100644
--- a/PteroController.csproj.user
+++ b/PteroController.csproj.user
@@ -1,6 +1,9 @@
+
+ Form
+
Form