Diff of /Form1.Designer.cs [aa83c0] .. [589027] Maximize Restore

  Switch to side-by-side view

--- a/Form1.Designer.cs
+++ b/Form1.Designer.cs
@@ -57,6 +57,10 @@
             this.lockCommandBox = new System.Windows.Forms.TextBox();
             this.m_checkBoxSkipLock = new System.Windows.Forms.CheckBox();
             this.m_deviceTextbox = new System.Windows.Forms.TextBox();
+            this.lockCommandArguments = new System.Windows.Forms.TextBox();
+            this.m_labelLockArguments = new System.Windows.Forms.Label();
+            this.m_labelReleaseArguments = new System.Windows.Forms.Label();
+            this.unlockCommandArguments = new System.Windows.Forms.TextBox();
             this.trayMenu.SuspendLayout();
             this.statusStrip.SuspendLayout();
             this.mainMenu.SuspendLayout();
@@ -75,7 +79,7 @@
             this.m_aboutToolStripMenuItem.Name = "m_aboutToolStripMenuItem";
             this.m_aboutToolStripMenuItem.Size = new System.Drawing.Size(176, 22);
             this.m_aboutToolStripMenuItem.Text = "&About";
-            this.m_aboutToolStripMenuItem.Click += new System.EventHandler(AboutMenuItemHandler);
+            this.m_aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutMenuItemHandler);
             // 
             // m_settingsToolStripMenuItem
             // 
@@ -91,7 +95,7 @@
             this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
             this.notifyIcon.Text = "Stopped";
             this.notifyIcon.Visible = true;
-            this.notifyIcon.MouseClick += new System.Windows.Forms.MouseEventHandler(MouseClickHandler);
+            this.notifyIcon.MouseClick += new System.Windows.Forms.MouseEventHandler(this.MouseClickHandler);
             this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.TrayIconDoubleClick);
             // 
             // trayMenu
@@ -122,11 +126,11 @@
             // 
             this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
             this.toolStripStatusLabel});
-            this.statusStrip.Location = new System.Drawing.Point(0, 247);
+            this.statusStrip.Location = new System.Drawing.Point(0, 306);
             this.statusStrip.Name = "statusStrip";
             this.statusStrip.Size = new System.Drawing.Size(317, 22);
             this.statusStrip.SizingGrip = false;
-            this.statusStrip.TabIndex = 18;
+            this.statusStrip.TabIndex = 22;
             this.statusStrip.Text = "Stopped";
             // 
             // toolStripStatusLabel
@@ -147,10 +151,10 @@
             // 
             // buttonSelectUnlockCommand
             // 
-            this.buttonSelectUnlockCommand.Location = new System.Drawing.Point(276, 185);
+            this.buttonSelectUnlockCommand.Location = new System.Drawing.Point(275, 217);
             this.buttonSelectUnlockCommand.Name = "buttonSelectUnlockCommand";
             this.buttonSelectUnlockCommand.Size = new System.Drawing.Size(30, 23);
-            this.buttonSelectUnlockCommand.TabIndex = 13;
+            this.buttonSelectUnlockCommand.TabIndex = 15;
             this.buttonSelectUnlockCommand.Text = "...";
             this.buttonSelectUnlockCommand.UseVisualStyleBackColor = true;
             this.buttonSelectUnlockCommand.Click += new System.EventHandler(this.SelectUnlockCommand);
@@ -158,17 +162,17 @@
             // m_buttonHide
             // 
             this.m_buttonHide.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.m_buttonHide.Location = new System.Drawing.Point(159, 221);
+            this.m_buttonHide.Location = new System.Drawing.Point(159, 280);
             this.m_buttonHide.Name = "m_buttonHide";
             this.m_buttonHide.Size = new System.Drawing.Size(70, 23);
-            this.m_buttonHide.TabIndex = 16;
+            this.m_buttonHide.TabIndex = 20;
             this.m_buttonHide.Text = "&Hide";
             this.m_buttonHide.UseVisualStyleBackColor = true;
             this.m_buttonHide.Click += new System.EventHandler(this.HideClickHandler);
             // 
             // buttonSelectLockCommand
             // 
-            this.buttonSelectLockCommand.Location = new System.Drawing.Point(275, 113);
+            this.buttonSelectLockCommand.Location = new System.Drawing.Point(275, 115);
             this.buttonSelectLockCommand.Name = "buttonSelectLockCommand";
             this.buttonSelectLockCommand.Size = new System.Drawing.Size(30, 23);
             this.buttonSelectLockCommand.TabIndex = 9;
@@ -179,10 +183,10 @@
             // m_buttonStart
             // 
             this.m_buttonStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.m_buttonStart.Location = new System.Drawing.Point(7, 221);
+            this.m_buttonStart.Location = new System.Drawing.Point(7, 280);
             this.m_buttonStart.Name = "m_buttonStart";
             this.m_buttonStart.Size = new System.Drawing.Size(70, 23);
-            this.m_buttonStart.TabIndex = 14;
+            this.m_buttonStart.TabIndex = 18;
             this.m_buttonStart.Text = "&Start";
             this.m_buttonStart.UseVisualStyleBackColor = true;
             this.m_buttonStart.Click += new System.EventHandler(this.StartClickHandler);
@@ -190,10 +194,10 @@
             // m_buttonStop
             // 
             this.m_buttonStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.m_buttonStop.Location = new System.Drawing.Point(83, 221);
+            this.m_buttonStop.Location = new System.Drawing.Point(83, 280);
             this.m_buttonStop.Name = "m_buttonStop";
             this.m_buttonStop.Size = new System.Drawing.Size(70, 23);
-            this.m_buttonStop.TabIndex = 15;
+            this.m_buttonStop.TabIndex = 19;
             this.m_buttonStop.Text = "S&top";
             this.m_buttonStop.UseVisualStyleBackColor = true;
             this.m_buttonStop.Click += new System.EventHandler(this.StopClickHandler);
@@ -219,27 +223,27 @@
             // 
             // m_labelReleaseCommand
             // 
-            this.m_labelReleaseCommand.Location = new System.Drawing.Point(12, 169);
+            this.m_labelReleaseCommand.Location = new System.Drawing.Point(12, 201);
             this.m_labelReleaseCommand.Name = "m_labelReleaseCommand";
             this.m_labelReleaseCommand.Size = new System.Drawing.Size(257, 13);
-            this.m_labelReleaseCommand.TabIndex = 11;
+            this.m_labelReleaseCommand.TabIndex = 13;
             this.m_labelReleaseCommand.Text = "Release command:";
             // 
             // m_buttonExit
             // 
             this.m_buttonExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.m_buttonExit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
-            this.m_buttonExit.Location = new System.Drawing.Point(235, 221);
+            this.m_buttonExit.Location = new System.Drawing.Point(235, 280);
             this.m_buttonExit.Name = "m_buttonExit";
             this.m_buttonExit.Size = new System.Drawing.Size(70, 23);
-            this.m_buttonExit.TabIndex = 17;
+            this.m_buttonExit.TabIndex = 21;
             this.m_buttonExit.Text = "E&xit";
             this.m_buttonExit.UseVisualStyleBackColor = true;
             this.m_buttonExit.Click += new System.EventHandler(this.ExitClickHandler);
             // 
             // m_labelLockCommand
             // 
-            this.m_labelLockCommand.Location = new System.Drawing.Point(12, 97);
+            this.m_labelLockCommand.Location = new System.Drawing.Point(12, 99);
             this.m_labelLockCommand.Name = "m_labelLockCommand";
             this.m_labelLockCommand.Size = new System.Drawing.Size(257, 13);
             this.m_labelLockCommand.TabIndex = 7;
@@ -256,10 +260,10 @@
             // 
             // unlockCommandBox
             // 
-            this.unlockCommandBox.Location = new System.Drawing.Point(15, 185);
+            this.unlockCommandBox.Location = new System.Drawing.Point(12, 217);
             this.unlockCommandBox.Name = "unlockCommandBox";
-            this.unlockCommandBox.Size = new System.Drawing.Size(254, 20);
-            this.unlockCommandBox.TabIndex = 12;
+            this.unlockCommandBox.Size = new System.Drawing.Size(257, 20);
+            this.unlockCommandBox.TabIndex = 14;
             this.unlockCommandBox.TextChanged += new System.EventHandler(this.UnlockCommandChangedHandler);
             // 
             // m_labelMinutes
@@ -281,7 +285,7 @@
             // 
             // lockCommandBox
             // 
-            this.lockCommandBox.Location = new System.Drawing.Point(12, 113);
+            this.lockCommandBox.Location = new System.Drawing.Point(12, 115);
             this.lockCommandBox.Name = "lockCommandBox";
             this.lockCommandBox.Size = new System.Drawing.Size(257, 20);
             this.lockCommandBox.TabIndex = 8;
@@ -290,10 +294,10 @@
             // m_checkBoxSkipLock
             // 
             this.m_checkBoxSkipLock.AutoSize = true;
-            this.m_checkBoxSkipLock.Location = new System.Drawing.Point(12, 139);
+            this.m_checkBoxSkipLock.Location = new System.Drawing.Point(12, 167);
             this.m_checkBoxSkipLock.Name = "m_checkBoxSkipLock";
             this.m_checkBoxSkipLock.Size = new System.Drawing.Size(187, 17);
-            this.m_checkBoxSkipLock.TabIndex = 10;
+            this.m_checkBoxSkipLock.TabIndex = 12;
             this.m_checkBoxSkipLock.Text = "Don\'t lock (only run the command)";
             this.m_checkBoxSkipLock.UseVisualStyleBackColor = true;
             this.m_checkBoxSkipLock.CheckedChanged += new System.EventHandler(this.LockSkipStateChanged);
@@ -307,31 +311,67 @@
             this.m_deviceTextbox.Size = new System.Drawing.Size(126, 20);
             this.m_deviceTextbox.TabIndex = 2;
             // 
+            // lockCommandArguments
+            // 
+            this.lockCommandArguments.Location = new System.Drawing.Point(83, 141);
+            this.lockCommandArguments.Name = "lockCommandArguments";
+            this.lockCommandArguments.Size = new System.Drawing.Size(220, 20);
+            this.lockCommandArguments.TabIndex = 11;
+            this.lockCommandArguments.TextChanged += new System.EventHandler(this.LockArgumentsChangedHandler);
+            // 
+            // m_labelLockArguments
+            // 
+            this.m_labelLockArguments.Location = new System.Drawing.Point(12, 144);
+            this.m_labelLockArguments.Name = "m_labelLockArguments";
+            this.m_labelLockArguments.Size = new System.Drawing.Size(65, 13);
+            this.m_labelLockArguments.TabIndex = 10;
+            this.m_labelLockArguments.Text = "Arguments:";
+            // 
+            // m_labelReleaseArguments
+            // 
+            this.m_labelReleaseArguments.Location = new System.Drawing.Point(12, 246);
+            this.m_labelReleaseArguments.Name = "m_labelReleaseArguments";
+            this.m_labelReleaseArguments.Size = new System.Drawing.Size(65, 13);
+            this.m_labelReleaseArguments.TabIndex = 16;
+            this.m_labelReleaseArguments.Text = "Arguments:";
+            // 
+            // unlockCommandArguments
+            // 
+            this.unlockCommandArguments.Location = new System.Drawing.Point(83, 243);
+            this.unlockCommandArguments.Name = "unlockCommandArguments";
+            this.unlockCommandArguments.Size = new System.Drawing.Size(222, 20);
+            this.unlockCommandArguments.TabIndex = 17;
+            this.unlockCommandArguments.TextChanged += new System.EventHandler(this.UnlockArgumentsChangedHandler);
+            // 
             // BtProxLock
             // 
             this.AcceptButton = this.m_buttonStart;
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.CancelButton = this.m_buttonExit;
-            this.ClientSize = new System.Drawing.Size(317, 269);
+            this.ClientSize = new System.Drawing.Size(317, 328);
             this.Controls.Add(this.m_deviceTextbox);
+            this.Controls.Add(this.m_labelLockArguments);
+            this.Controls.Add(this.unlockCommandArguments);
+            this.Controls.Add(this.m_labelReleaseArguments);
+            this.Controls.Add(this.lockCommandArguments);
             this.Controls.Add(this.statusStrip);
             this.Controls.Add(this.mainMenu);
+            this.Controls.Add(this.timeoutBox);
+            this.Controls.Add(this.lockCommandBox);
             this.Controls.Add(this.m_checkBoxSkipLock);
-            this.Controls.Add(this.lockCommandBox);
-            this.Controls.Add(this.timeoutBox);
             this.Controls.Add(this.m_labelMinutes);
             this.Controls.Add(this.m_labelTimeout);
+            this.Controls.Add(this.m_buttonExit);
+            this.Controls.Add(this.m_labelLockCommand);
+            this.Controls.Add(this.m_labelUsedDevices);
             this.Controls.Add(this.unlockCommandBox);
-            this.Controls.Add(this.m_labelLockCommand);
-            this.Controls.Add(this.m_buttonExit);
-            this.Controls.Add(this.m_labelReleaseCommand);
-            this.Controls.Add(this.m_labelUsedDevices);
             this.Controls.Add(this.buttonSelect);
             this.Controls.Add(this.m_buttonStop);
+            this.Controls.Add(this.m_labelReleaseCommand);
             this.Controls.Add(this.m_buttonStart);
+            this.Controls.Add(this.m_buttonHide);
             this.Controls.Add(this.buttonSelectLockCommand);
-            this.Controls.Add(this.m_buttonHide);
             this.Controls.Add(this.buttonSelectUnlockCommand);
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
             this.HelpButton = true;
@@ -339,9 +379,10 @@
             this.MainMenuStrip = this.mainMenu;
             this.Name = "BtProxLock";
             this.Text = "Bluetooth Proximity Lock";
+            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormClosedHandler);
+            this.Load += new System.EventHandler(this.BtProxLockLoad);
+            this.LocationChanged += new System.EventHandler(this.BtProxLockLocationChanged);
             this.SizeChanged += new System.EventHandler(this.BtProxSizeChanged);
-            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(FormClosedHandler);
-            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormClosingHandler);
             this.trayMenu.ResumeLayout(false);
             this.statusStrip.ResumeLayout(false);
             this.statusStrip.PerformLayout();
@@ -382,6 +423,10 @@
         private System.Windows.Forms.TextBox lockCommandBox;
         private System.Windows.Forms.CheckBox m_checkBoxSkipLock;
         private System.Windows.Forms.TextBox m_deviceTextbox;
+        private System.Windows.Forms.TextBox lockCommandArguments;
+        private System.Windows.Forms.Label m_labelLockArguments;
+        private System.Windows.Forms.Label m_labelReleaseArguments;
+        private System.Windows.Forms.TextBox unlockCommandArguments;
     }
 }