From 8403acc51f1b887280b15c4a0043fdec1aabbec2 Mon Sep 17 00:00:00 2001 From: AlexNg Date: Fri, 21 Jun 2024 16:00:52 +0800 Subject: [PATCH] wtf Signed-off-by: AlexNg --- Desktop/Desktop/Forms/LoginForm.cs | 2 ++ Desktop/Desktop/Forms/MainForm.Designer.cs | 2 +- Desktop/Desktop/Forms/SurveyForm.Designer.cs | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Desktop/Desktop/Forms/LoginForm.cs b/Desktop/Desktop/Forms/LoginForm.cs index eabac4b..4b45c7c 100644 --- a/Desktop/Desktop/Forms/LoginForm.cs +++ b/Desktop/Desktop/Forms/LoginForm.cs @@ -72,6 +72,8 @@ private void loginbutton_Click(object sender, EventArgs e) // Success Global.CurrentUser = user; errorLabel.Text = ""; + usernameTextInput.Text = ""; + passwordTextInput.Text = ""; Hide(); MainForm.Show(); diff --git a/Desktop/Desktop/Forms/MainForm.Designer.cs b/Desktop/Desktop/Forms/MainForm.Designer.cs index 55706a3..df4b456 100644 --- a/Desktop/Desktop/Forms/MainForm.Designer.cs +++ b/Desktop/Desktop/Forms/MainForm.Designer.cs @@ -77,7 +77,7 @@ private void InitializeComponent() // logoutButton // this.logoutButton.AutoSize = true; - this.logoutButton.Location = new System.Drawing.Point(1316, 12); + this.logoutButton.Location = new System.Drawing.Point(1199, 6); this.logoutButton.Name = "logoutButton"; this.logoutButton.Size = new System.Drawing.Size(75, 30); this.logoutButton.TabIndex = 3; diff --git a/Desktop/Desktop/Forms/SurveyForm.Designer.cs b/Desktop/Desktop/Forms/SurveyForm.Designer.cs index 1eafd7d..6ca6a1a 100644 --- a/Desktop/Desktop/Forms/SurveyForm.Designer.cs +++ b/Desktop/Desktop/Forms/SurveyForm.Designer.cs @@ -37,7 +37,7 @@ private void InitializeComponent() // reloadButton // this.reloadButton.AutoSize = true; - this.reloadButton.Location = new System.Drawing.Point(618, 3); + this.reloadButton.Location = new System.Drawing.Point(631, 3); this.reloadButton.Name = "reloadButton"; this.reloadButton.Size = new System.Drawing.Size(75, 30); this.reloadButton.TabIndex = 3; @@ -58,7 +58,7 @@ private void InitializeComponent() // this.createButton.AutoSize = true; this.createButton.BackColor = System.Drawing.Color.LightGreen; - this.createButton.Location = new System.Drawing.Point(699, 3); + this.createButton.Location = new System.Drawing.Point(712, 3); this.createButton.Name = "createButton"; this.createButton.Size = new System.Drawing.Size(75, 30); this.createButton.TabIndex = 5;