From 6d9ab20e141b10e3bc74cfc290984241079e699e Mon Sep 17 00:00:00 2001 From: CreepyCrafter24 <33260128+CreepyCrafter24@users.noreply.github.com> Date: Mon, 21 Oct 2019 15:33:09 +0200 Subject: [PATCH] Improved Settings Form a bit --- ToDo.txt | 3 ++- UpTool2/MainForm.cs | 2 +- UpTool2/SourcesForm.Designer.cs | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ToDo.txt b/ToDo.txt index 236e22a..ef3ad0f 100644 --- a/ToDo.txt +++ b/ToDo.txt @@ -1,4 +1,5 @@ More Icons for Apps More apps: Laptop Sim (when done) Decent app Installer (Do not open CMD) -Test Updates \ No newline at end of file +Test Updates +Fully allow offline usage \ No newline at end of file diff --git a/UpTool2/MainForm.cs b/UpTool2/MainForm.cs index 39f1865..bb2cabb 100644 --- a/UpTool2/MainForm.cs +++ b/UpTool2/MainForm.cs @@ -342,7 +342,7 @@ namespace UpTool2 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 #region GUI (stuff only present for GUI) void clearSelection() diff --git a/UpTool2/SourcesForm.Designer.cs b/UpTool2/SourcesForm.Designer.cs index 8d1cb1d..d06f76b 100644 --- a/UpTool2/SourcesForm.Designer.cs +++ b/UpTool2/SourcesForm.Designer.cs @@ -70,7 +70,10 @@ this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.sourceGrid); this.Name = "SettingsForms"; + this.ShowIcon = false; + this.ShowInTaskbar = false; this.Text = "Sources"; + this.TopMost = true; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SettingsForms_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.sourceGrid)).EndInit(); this.ResumeLayout(false);