summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spedytor/Form1.Designer.cs1
-rw-r--r--spedytor/Form1.cs1
2 files changed, 1 insertions, 1 deletions
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;
}