Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents TabControl1 As System.Windows.Forms.TabControl Friend WithEvents TabPage1 As System.Windows.Forms.TabPage Friend WithEvents TabPage3 As System.Windows.Forms.TabPage Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox Friend WithEvents TrackBar1 As System.Windows.Forms.TrackBar Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents TrackBar2 As System.Windows.Forms.TrackBar Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents TrackBar3 As System.Windows.Forms.TrackBar Friend WithEvents TextBox1 As System.Windows.Forms.TextBox Friend WithEvents Label7 As System.Windows.Forms.Label Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox Friend WithEvents TabPage2 As System.Windows.Forms.TabPage Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox Friend WithEvents Label10 As System.Windows.Forms.Label Friend WithEvents Label9 As System.Windows.Forms.Label Friend WithEvents Label8 As System.Windows.Forms.Label Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Label11 As System.Windows.Forms.Label Friend WithEvents Label12 As System.Windows.Forms.Label Friend WithEvents Label13 As System.Windows.Forms.Label Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox Friend WithEvents Label14 As System.Windows.Forms.Label Friend WithEvents ListBox1 As System.Windows.Forms.ListBox Friend WithEvents VScrollBar1 As System.Windows.Forms.VScrollBar Friend WithEvents Label15 As System.Windows.Forms.Label Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents PictureBox3 As System.Windows.Forms.PictureBox Friend WithEvents ImageList1 As System.Windows.Forms.ImageList Friend WithEvents Label16 As System.Windows.Forms.Label Friend WithEvents Label17 As System.Windows.Forms.Label Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1)) Me.Button1 = New System.Windows.Forms.Button Me.Button2 = New System.Windows.Forms.Button Me.Button3 = New System.Windows.Forms.Button Me.Button4 = New System.Windows.Forms.Button Me.TabControl1 = New System.Windows.Forms.TabControl Me.TabPage1 = New System.Windows.Forms.TabPage Me.GroupBox2 = New System.Windows.Forms.GroupBox Me.Label2 = New System.Windows.Forms.Label Me.Label1 = New System.Windows.Forms.Label Me.TrackBar1 = New System.Windows.Forms.TrackBar Me.GroupBox1 = New System.Windows.Forms.GroupBox Me.PictureBox3 = New System.Windows.Forms.PictureBox Me.Label4 = New System.Windows.Forms.Label Me.PictureBox1 = New System.Windows.Forms.PictureBox Me.Label7 = New System.Windows.Forms.Label Me.TextBox1 = New System.Windows.Forms.TextBox Me.Label5 = New System.Windows.Forms.Label Me.Label6 = New System.Windows.Forms.Label Me.TrackBar3 = New System.Windows.Forms.TrackBar Me.Label3 = New System.Windows.Forms.Label Me.TrackBar2 = New System.Windows.Forms.TrackBar Me.PictureBox2 = New System.Windows.Forms.PictureBox Me.TabPage2 = New System.Windows.Forms.TabPage Me.GroupBox3 = New System.Windows.Forms.GroupBox Me.Label13 = New System.Windows.Forms.Label Me.Label12 = New System.Windows.Forms.Label Me.Label11 = New System.Windows.Forms.Label Me.DataGrid1 = New System.Windows.Forms.DataGrid Me.TabPage3 = New System.Windows.Forms.TabPage Me.Button8 = New System.Windows.Forms.Button Me.Button7 = New System.Windows.Forms.Button Me.Label15 = New System.Windows.Forms.Label Me.VScrollBar1 = New System.Windows.Forms.VScrollBar Me.ListBox1 = New System.Windows.Forms.ListBox Me.Label14 = New System.Windows.Forms.Label Me.GroupBox4 = New System.Windows.Forms.GroupBox Me.Label10 = New System.Windows.Forms.Label Me.Label9 = New System.Windows.Forms.Label Me.Label8 = New System.Windows.Forms.Label Me.Button6 = New System.Windows.Forms.Button Me.Button5 = New System.Windows.Forms.Button Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components) Me.Label16 = New System.Windows.Forms.Label Me.Label17 = New System.Windows.Forms.Label Me.TabControl1.SuspendLayout() Me.TabPage1.SuspendLayout() Me.GroupBox2.SuspendLayout() CType(Me.TrackBar1, System.ComponentModel.ISupportInitialize).BeginInit() Me.GroupBox1.SuspendLayout() CType(Me.TrackBar3, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.TrackBar2, System.ComponentModel.ISupportInitialize).BeginInit() Me.TabPage2.SuspendLayout() Me.GroupBox3.SuspendLayout() CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit() Me.TabPage3.SuspendLayout() Me.SuspendLayout() ' 'Button1 ' Me.Button1.Location = New System.Drawing.Point(80, 392) Me.Button1.Name = "Button1" Me.Button1.TabIndex = 0 Me.Button1.Text = "OK" ' 'Button2 ' Me.Button2.Location = New System.Drawing.Point(160, 392) Me.Button2.Name = "Button2" Me.Button2.TabIndex = 1 Me.Button2.Text = "Cancel" ' 'Button3 ' Me.Button3.Location = New System.Drawing.Point(240, 392) Me.Button3.Name = "Button3" Me.Button3.TabIndex = 2 Me.Button3.Text = "Apply" ' 'Button4 ' Me.Button4.Location = New System.Drawing.Point(320, 392) Me.Button4.Name = "Button4" Me.Button4.TabIndex = 3 Me.Button4.Text = "Help" ' 'TabControl1 ' Me.TabControl1.Controls.Add(Me.TabPage1) Me.TabControl1.Controls.Add(Me.TabPage2) Me.TabControl1.Controls.Add(Me.TabPage3) Me.TabControl1.ImageList = Me.ImageList1 Me.TabControl1.Location = New System.Drawing.Point(8, 8) Me.TabControl1.Name = "TabControl1" Me.TabControl1.SelectedIndex = 0 Me.TabControl1.Size = New System.Drawing.Size(384, 376) Me.TabControl1.TabIndex = 4 ' 'TabPage1 ' Me.TabPage1.Controls.Add(Me.GroupBox2) Me.TabPage1.Controls.Add(Me.GroupBox1) Me.TabPage1.Location = New System.Drawing.Point(4, 23) Me.TabPage1.Name = "TabPage1" Me.TabPage1.Size = New System.Drawing.Size(376, 349) Me.TabPage1.TabIndex = 0 Me.TabPage1.Text = "Speed" ' 'GroupBox2 ' Me.GroupBox2.Controls.Add(Me.Label2) Me.GroupBox2.Controls.Add(Me.Label1) Me.GroupBox2.Controls.Add(Me.TrackBar1) Me.GroupBox2.Location = New System.Drawing.Point(8, 256) Me.GroupBox2.Name = "GroupBox2" Me.GroupBox2.Size = New System.Drawing.Size(360, 80) Me.GroupBox2.TabIndex = 1 Me.GroupBox2.TabStop = False Me.GroupBox2.Text = "Cursor blink rate" ' 'Label2 ' Me.Label2.Location = New System.Drawing.Point(304, 32) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(32, 23) Me.Label2.TabIndex = 2 Me.Label2.Text = "Fast" ' 'Label1 ' Me.Label1.Location = New System.Drawing.Point(72, 32) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(32, 23) Me.Label1.TabIndex = 1 Me.Label1.Text = "None" ' 'TrackBar1 ' Me.TrackBar1.Location = New System.Drawing.Point(104, 32) Me.TrackBar1.Name = "TrackBar1" Me.TrackBar1.Size = New System.Drawing.Size(200, 42) Me.TrackBar1.TabIndex = 0 Me.TrackBar1.Value = 5 ' 'GroupBox1 ' Me.GroupBox1.Controls.Add(Me.Label17) Me.GroupBox1.Controls.Add(Me.Label16) Me.GroupBox1.Controls.Add(Me.PictureBox3) Me.GroupBox1.Controls.Add(Me.Label4) Me.GroupBox1.Controls.Add(Me.PictureBox1) Me.GroupBox1.Controls.Add(Me.Label7) Me.GroupBox1.Controls.Add(Me.TextBox1) Me.GroupBox1.Controls.Add(Me.Label5) Me.GroupBox1.Controls.Add(Me.Label6) Me.GroupBox1.Controls.Add(Me.TrackBar3) Me.GroupBox1.Controls.Add(Me.Label3) Me.GroupBox1.Controls.Add(Me.TrackBar2) Me.GroupBox1.Controls.Add(Me.PictureBox2) Me.GroupBox1.Location = New System.Drawing.Point(8, 8) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(360, 240) Me.GroupBox1.TabIndex = 0 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "Character repeat" ' 'PictureBox3 ' Me.PictureBox3.Image = CType(resources.GetObject("PictureBox3.Image"), System.Drawing.Image) Me.PictureBox3.Location = New System.Drawing.Point(40, 64) Me.PictureBox3.Name = "PictureBox3" Me.PictureBox3.Size = New System.Drawing.Size(24, 32) Me.PictureBox3.TabIndex = 13 Me.PictureBox3.TabStop = False ' 'Label4 ' Me.Label4.Location = New System.Drawing.Point(64, 56) Me.Label4.Name = "Label4" Me.Label4.Size = New System.Drawing.Size(32, 23) Me.Label4.TabIndex = 4 Me.Label4.Text = "Long" ' 'PictureBox1 ' Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image) Me.PictureBox1.Location = New System.Drawing.Point(32, 48) Me.PictureBox1.Name = "PictureBox1" Me.PictureBox1.Size = New System.Drawing.Size(24, 24) Me.PictureBox1.TabIndex = 11 Me.PictureBox1.TabStop = False ' 'Label7 ' Me.Label7.Location = New System.Drawing.Point(16, 176) Me.Label7.Name = "Label7" Me.Label7.Size = New System.Drawing.Size(272, 16) Me.Label7.TabIndex = 10 Me.Label7.Text = " Click here and hold down a key to test repeat rate" ' 'TextBox1 ' Me.TextBox1.Location = New System.Drawing.Point(24, 192) Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(312, 20) Me.TextBox1.TabIndex = 9 Me.TextBox1.Text = "" ' 'Label5 ' Me.Label5.Location = New System.Drawing.Point(304, 128) Me.Label5.Name = "Label5" Me.Label5.Size = New System.Drawing.Size(32, 23) Me.Label5.TabIndex = 8 Me.Label5.Text = "Fast" ' 'Label6 ' Me.Label6.Location = New System.Drawing.Point(64, 128) Me.Label6.Name = "Label6" Me.Label6.Size = New System.Drawing.Size(32, 23) Me.Label6.TabIndex = 7 Me.Label6.Text = "Slow" ' 'TrackBar3 ' Me.TrackBar3.Location = New System.Drawing.Point(96, 128) Me.TrackBar3.Maximum = 30 Me.TrackBar3.Name = "TrackBar3" Me.TrackBar3.Size = New System.Drawing.Size(208, 42) Me.TrackBar3.TabIndex = 6 Me.TrackBar3.Value = 9 ' 'Label3 ' Me.Label3.Location = New System.Drawing.Point(304, 56) Me.Label3.Name = "Label3" Me.Label3.Size = New System.Drawing.Size(32, 23) Me.Label3.TabIndex = 5 Me.Label3.Text = "Short" ' 'TrackBar2 ' Me.TrackBar2.Location = New System.Drawing.Point(96, 56) Me.TrackBar2.Maximum = 3 Me.TrackBar2.Name = "TrackBar2" Me.TrackBar2.Size = New System.Drawing.Size(208, 42) Me.TrackBar2.TabIndex = 3 Me.TrackBar2.Value = 3 ' 'PictureBox2 ' Me.PictureBox2.Image = CType(resources.GetObject("PictureBox2.Image"), System.Drawing.Image) Me.PictureBox2.Location = New System.Drawing.Point(24, 112) Me.PictureBox2.Name = "PictureBox2" Me.PictureBox2.Size = New System.Drawing.Size(56, 32) Me.PictureBox2.TabIndex = 12 Me.PictureBox2.TabStop = False ' 'TabPage2 ' Me.TabPage2.Controls.Add(Me.GroupBox3) Me.TabPage2.Controls.Add(Me.DataGrid1) Me.TabPage2.Location = New System.Drawing.Point(4, 23) Me.TabPage2.Name = "TabPage2" Me.TabPage2.Size = New System.Drawing.Size(376, 349) Me.TabPage2.TabIndex = 1 Me.TabPage2.Text = "Hardware" ' 'GroupBox3 ' Me.GroupBox3.Controls.Add(Me.Label13) Me.GroupBox3.Controls.Add(Me.Label12) Me.GroupBox3.Controls.Add(Me.Label11) Me.GroupBox3.Location = New System.Drawing.Point(8, 120) Me.GroupBox3.Name = "GroupBox3" Me.GroupBox3.Size = New System.Drawing.Size(360, 224) Me.GroupBox3.TabIndex = 0 Me.GroupBox3.TabStop = False Me.GroupBox3.Text = "Device Properties" ' 'Label13 ' Me.Label13.Location = New System.Drawing.Point(8, 72) Me.Label13.Name = "Label13" Me.Label13.Size = New System.Drawing.Size(256, 16) Me.Label13.TabIndex = 2 Me.Label13.Text = "Device Status: This device is working properly" ' 'Label12 ' Me.Label12.Location = New System.Drawing.Point(8, 48) Me.Label12.Name = "Label12" Me.Label12.Size = New System.Drawing.Size(208, 16) Me.Label12.TabIndex = 1 Me.Label12.Text = "Location: pluged into the keyboard port" ' 'Label11 ' Me.Label11.Location = New System.Drawing.Point(8, 24) Me.Label11.Name = "Label11" Me.Label11.Size = New System.Drawing.Size(208, 16) Me.Label11.TabIndex = 0 Me.Label11.Text = "Manufacturer: (Standard keyboards)" ' 'DataGrid1 ' Me.DataGrid1.BackgroundColor = System.Drawing.SystemColors.Window Me.DataGrid1.CaptionBackColor = System.Drawing.SystemColors.Control Me.DataGrid1.CaptionFont = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.DataGrid1.CaptionForeColor = System.Drawing.SystemColors.ControlText Me.DataGrid1.CaptionText = "Name" Me.DataGrid1.DataMember = "" Me.DataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText Me.DataGrid1.Location = New System.Drawing.Point(8, 24) Me.DataGrid1.Name = "DataGrid1" Me.DataGrid1.ParentRowsForeColor = System.Drawing.SystemColors.InactiveCaption Me.DataGrid1.SelectionBackColor = System.Drawing.SystemColors.Control Me.DataGrid1.Size = New System.Drawing.Size(360, 80) Me.DataGrid1.TabIndex = 1 ' 'TabPage3 ' Me.TabPage3.Controls.Add(Me.Button8) Me.TabPage3.Controls.Add(Me.Button7) Me.TabPage3.Controls.Add(Me.Label15) Me.TabPage3.Controls.Add(Me.VScrollBar1) Me.TabPage3.Controls.Add(Me.ListBox1) Me.TabPage3.Controls.Add(Me.Label14) Me.TabPage3.Controls.Add(Me.GroupBox4) Me.TabPage3.ImageIndex = 1 Me.TabPage3.Location = New System.Drawing.Point(4, 23) Me.TabPage3.Name = "TabPage3" Me.TabPage3.Size = New System.Drawing.Size(376, 349) Me.TabPage3.TabIndex = 2 Me.TabPage3.Text = "Key Settings" ' 'Button8 ' Me.Button8.Location = New System.Drawing.Point(104, 312) Me.Button8.Name = "Button8" Me.Button8.Size = New System.Drawing.Size(144, 23) Me.Button8.TabIndex = 6 Me.Button8.Text = "Restore defaults" ' 'Button7 ' Me.Button7.Location = New System.Drawing.Point(280, 312) Me.Button7.Name = "Button7" Me.Button7.Size = New System.Drawing.Size(88, 23) Me.Button7.TabIndex = 5 Me.Button7.Text = "Edit..." ' 'Label15 ' Me.Label15.Location = New System.Drawing.Point(16, 48) Me.Label15.Name = "Label15" Me.Label15.Size = New System.Drawing.Size(336, 23) Me.Label15.TabIndex = 4 Me.Label15.Text = "To modify a key's behavior, select it from the list, and click Edit." ' 'VScrollBar1 ' Me.VScrollBar1.Location = New System.Drawing.Point(352, 80) Me.VScrollBar1.Name = "VScrollBar1" Me.VScrollBar1.Size = New System.Drawing.Size(16, 212) Me.VScrollBar1.TabIndex = 3 ' 'ListBox1 ' Me.ListBox1.Location = New System.Drawing.Point(8, 80) Me.ListBox1.Name = "ListBox1" Me.ListBox1.Size = New System.Drawing.Size(360, 212) Me.ListBox1.TabIndex = 2 ' 'Label14 ' Me.Label14.Font = New System.Drawing.Font("Arial", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Label14.Location = New System.Drawing.Point(16, 8) Me.Label14.Name = "Label14" Me.Label14.Size = New System.Drawing.Size(200, 23) Me.Label14.TabIndex = 1 Me.Label14.Text = "MultiMedia Keyboard" Me.Label14.TextAlign = System.Drawing.ContentAlignment.BottomLeft ' 'GroupBox4 ' Me.GroupBox4.Location = New System.Drawing.Point(16, 32) Me.GroupBox4.Name = "GroupBox4" Me.GroupBox4.Size = New System.Drawing.Size(344, 8) Me.GroupBox4.TabIndex = 0 Me.GroupBox4.TabStop = False ' 'Label10 ' Me.Label10.Location = New System.Drawing.Point(8, 62) Me.Label10.Name = "Label10" Me.Label10.Size = New System.Drawing.Size(248, 16) Me.Label10.TabIndex = 4 ' 'Label9 ' Me.Label9.Location = New System.Drawing.Point(8, 40) Me.Label9.Name = "Label9" Me.Label9.Size = New System.Drawing.Size(248, 16) Me.Label9.TabIndex = 3 ' 'Label8 ' Me.Label8.Location = New System.Drawing.Point(8, 16) Me.Label8.Name = "Label8" Me.Label8.Size = New System.Drawing.Size(248, 16) Me.Label8.TabIndex = 2 ' 'Button6 ' Me.Button6.Location = New System.Drawing.Point(157, 192) Me.Button6.Name = "Button6" Me.Button6.Size = New System.Drawing.Size(88, 23) Me.Button6.TabIndex = 1 Me.Button6.Text = "Troubleshoot..." ' 'Button5 ' Me.Button5.Location = New System.Drawing.Point(259, 192) Me.Button5.Name = "Button5" Me.Button5.Size = New System.Drawing.Size(88, 23) Me.Button5.TabIndex = 0 Me.Button5.Text = "Properties" ' 'ImageList1 ' Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16) Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer) Me.ImageList1.TransparentColor = System.Drawing.Color.Transparent ' 'Label16 ' Me.Label16.AutoSize = True Me.Label16.Location = New System.Drawing.Point(64, 32) Me.Label16.Name = "Label16" Me.Label16.Size = New System.Drawing.Size(74, 16) Me.Label16.TabIndex = 14 Me.Label16.Text = "Repeat delay:" ' 'Label17 ' Me.Label17.AutoSize = True Me.Label17.Location = New System.Drawing.Point(64, 104) Me.Label17.Name = "Label17" Me.Label17.Size = New System.Drawing.Size(66, 16) Me.Label17.TabIndex = 15 Me.Label17.Text = "Repeat rate:" ' 'Form1 ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.ClientSize = New System.Drawing.Size(400, 421) Me.Controls.Add(Me.TabControl1) Me.Controls.Add(Me.Button4) Me.Controls.Add(Me.Button3) Me.Controls.Add(Me.Button2) Me.Controls.Add(Me.Button1) Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog Me.HelpButton = True Me.MaximizeBox = False Me.MinimizeBox = False Me.Name = "Form1" Me.ShowInTaskbar = False Me.Text = "Keyboard Properties" Me.TopMost = True Me.TabControl1.ResumeLayout(False) Me.TabPage1.ResumeLayout(False) Me.GroupBox2.ResumeLayout(False) CType(Me.TrackBar1, System.ComponentModel.ISupportInitialize).EndInit() Me.GroupBox1.ResumeLayout(False) CType(Me.TrackBar3, System.ComponentModel.ISupportInitialize).EndInit() CType(Me.TrackBar2, System.ComponentModel.ISupportInitialize).EndInit() Me.TabPage2.ResumeLayout(False) Me.GroupBox3.ResumeLayout(False) CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).EndInit() Me.TabPage3.ResumeLayout(False) Me.ResumeLayout(False) End Sub #End Region Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click, Button1.Click Me.Close() End Sub End Class