Improved Settings Form a bit

This commit is contained in:
CreepyCrafter24 2019-10-21 15:33:09 +02:00
parent 75c558b8c2
commit 6d9ab20e14
3 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,5 @@
More Icons for Apps More Icons for Apps
More apps: Laptop Sim (when done) More apps: Laptop Sim (when done)
Decent app Installer (Do not open CMD) Decent app Installer (Do not open CMD)
Test Updates Test Updates
Fully allow offline usage

View File

@ -342,7 +342,7 @@ namespace UpTool2
reloadElements(); reloadElements();
} }
private void Controls_settings_Click(object sender, EventArgs e) => new SettingsForms().Show(); private void Controls_settings_Click(object sender, EventArgs e) => new SettingsForms().ShowDialog();
#endregion #endregion
#region GUI (stuff only present for GUI) #region GUI (stuff only present for GUI)
void clearSelection() void clearSelection()

View File

@ -70,7 +70,10 @@
this.ClientSize = new System.Drawing.Size(800, 450); this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.sourceGrid); this.Controls.Add(this.sourceGrid);
this.Name = "SettingsForms"; this.Name = "SettingsForms";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.Text = "Sources"; this.Text = "Sources";
this.TopMost = true;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SettingsForms_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SettingsForms_FormClosing);
((System.ComponentModel.ISupportInitialize)(this.sourceGrid)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sourceGrid)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);