From 7dfac94aa705734e4ccc60febe94d4d04a9a7f9a Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 4 May 2008 18:29:03 +0000 Subject: [PATCH] The MouseChoose combobox now has the primary mouse selected by default. --- Source/Examples/Tests/InputLogger.Designer.cs | 4 ++-- Source/Examples/Tests/InputLogger.cs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Examples/Tests/InputLogger.Designer.cs b/Source/Examples/Tests/InputLogger.Designer.cs index 5b2e491b..8d38b4e3 100644 --- a/Source/Examples/Tests/InputLogger.Designer.cs +++ b/Source/Examples/Tests/InputLogger.Designer.cs @@ -359,14 +359,14 @@ // this.PollTimer.Interval = 10; // - // S04_Input_Logger + // InputLogger // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(432, 378); this.Controls.Add(this.tabControl); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Name = "S04_Input_Logger"; + this.Name = "InputLogger"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "S04: Input Logger"; this.tabControl.ResumeLayout(false); diff --git a/Source/Examples/Tests/InputLogger.cs b/Source/Examples/Tests/InputLogger.cs index 330cd859..d11d0e0b 100644 --- a/Source/Examples/Tests/InputLogger.cs +++ b/Source/Examples/Tests/InputLogger.cs @@ -82,6 +82,8 @@ namespace Examples.Tests // Add available mice to the mouse input logger. ChooseMouse.Items.Add(String.Format("Mouse {0} ({1})", 0, hidden.Mouse.Description)); + ChooseMouse.SelectedIndex = 0; + //hidden.Mouse.Move += LogMouseMove; hidden.Mouse.ButtonDown += LogMouseButtonDown; hidden.Mouse.ButtonUp += LogMouseButtonUp;