From fb292fde3a9ca9ecb20a988861a416b9542642a6 Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 27 Oct 2019 16:31:18 +0100 Subject: Restoring window minimize button --- spedytor/Form1.Designer.cs | 1 - spedytor/Form1.cs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/spedytor/Form1.Designer.cs b/spedytor/Form1.Designer.cs index c86364b..623e450 100644 --- a/spedytor/Form1.Designer.cs +++ b/spedytor/Form1.Designer.cs @@ -230,7 +230,6 @@ this.Controls.Add(this.lChooseDatabase); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; - this.MinimizeBox = false; this.Name = "Form1"; this.Text = "Spedytor"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); diff --git a/spedytor/Form1.cs b/spedytor/Form1.cs index 91f6ebe..e7ccd26 100644 --- a/spedytor/Form1.cs +++ b/spedytor/Form1.cs @@ -241,6 +241,7 @@ namespace spedytor private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e) { this.Show(); + this.WindowState = FormWindowState.Normal; this.notifyIcon.Visible = false; } -- cgit v1.2.3