private static void UpdateProviderList(CheckedListBox.ObjectCollection items, string targetServer = null) { if (Providers == null) { Providers = new System.Collections.Generic.List <string>(SystemEventEnumerator.GetEventProviders(targetServer, null, true)); } items.Clear(); items.AddRange(Providers.ConvertAll <DropDownCheckListItem>(s => { var p = s.Split('|'); return(new DropDownCheckListItem(p[1], p[0])); }).ToArray()); }
/// <summary> /// Task to refresh PAK items. /// </summary> /// <returns></returns> public static async Task RefreshList() { await Task.Delay(2000); CheckedListBox listBox = (Application.OpenForms[0] as Encdec).listBox; CheckedListBox.ObjectCollection collection = listBox.Items; Directory.CreateDirectory(Program.Arguments.Input); while (true) { if (ExplorerCollection.Count != Directory.GetFiles(Program.Arguments.Input, "*.pak").Length) { ExplorerCollection.Clear(); listBox.Invoke(new Action(() => collection.Clear())); List <string> paks = Directory.GetFiles(Program.Arguments.Input, "*.pak") .Select(item => item.Replace(Program.Arguments.Input + "\\", "")).ToList(); ExplorerCollection.AddRange(paks); listBox.Invoke(new Action(() => collection.AddRange(paks.ToArray()))); } await Task.Delay(1000); } }
private void InitializeComponent() { this.groupBox8 = new GroupBox(); this.clbButtons = new CheckedListBox(); this.lblTriggerR = new Label(); this.lblTriggerL = new Label(); this.lblIR3 = new Label(); this.lblIR4 = new Label(); this.lblCCJoy2 = new Label(); this.lblCCJoy1 = new Label(); this.groupBox5 = new GroupBox(); this.lblIR3Raw = new Label(); this.lblIR1Raw = new Label(); this.lblIR4Raw = new Label(); this.lblIR2Raw = new Label(); this.lblIR1 = new Label(); this.lblIR2 = new Label(); this.chkFound3 = new CheckBox(); this.chkFound4 = new CheckBox(); this.chkFound1 = new CheckBox(); this.chkFound2 = new CheckBox(); this.pbIR = new PictureBox(); this.lblGuitarWhammy = new Label(); this.groupBox7 = new GroupBox(); this.clbTouchbar = new CheckedListBox(); this.lblGuitarType = new Label(); this.lblGuitarJoy = new Label(); this.clbGuitarButtons = new CheckedListBox(); this.groupBox6 = new GroupBox(); this.clbCCButtons = new CheckedListBox(); this.groupBox4 = new GroupBox(); this.pbBattery = new ProgressBar(); this.lblBattery = new Label(); this.groupBox3 = new GroupBox(); this.chkLED2 = new CheckBox(); this.chkLED4 = new CheckBox(); this.chkLED3 = new CheckBox(); this.chkLED1 = new CheckBox(); this.chkRumble = new CheckBox(); this.chkZ = new CheckBox(); this.chkC = new CheckBox(); this.lblChuk = new Label(); this.groupBox2 = new GroupBox(); this.lblChukJoy = new Label(); this.groupBox1 = new GroupBox(); this.lblAccel = new Label(); this.chkExtension = new CheckBox(); this.groupBox9 = new GroupBox(); this.lblCOG = new Label(); this.chkLbs = new CheckBox(); this.lblBBBR = new Label(); this.lblBBTR = new Label(); this.lblBBBL = new Label(); this.lblBBTotal = new Label(); this.lblBBTL = new Label(); this.lblDevicePath = new Label(); this.groupBox10 = new GroupBox(); this.lbDrumVelocity = new ListBox(); this.lblDrumJoy = new Label(); this.clbDrums = new CheckedListBox(); this.groupBox8.SuspendLayout(); this.groupBox5.SuspendLayout(); ((ISupportInitialize)this.pbIR).BeginInit(); this.groupBox7.SuspendLayout(); this.groupBox6.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox9.SuspendLayout(); this.groupBox10.SuspendLayout(); base.SuspendLayout(); this.groupBox8.Controls.Add(this.clbButtons); this.groupBox8.Location = new System.Drawing.Point(0, 0); this.groupBox8.Name = "groupBox8"; this.groupBox8.Size = new Size(72, 220); this.groupBox8.TabIndex = 37; this.groupBox8.TabStop = false; this.groupBox8.Text = "Wiimote"; this.clbButtons.FormattingEnabled = true; CheckedListBox.ObjectCollection items = this.clbButtons.Items; object[] objArray = new object[] { "A", "B", "-", "Home", "+", "1", "2", "Up", "Down", "Left", "Right" }; items.AddRange(objArray); this.clbButtons.Location = new System.Drawing.Point(8, 16); this.clbButtons.Name = "clbButtons"; this.clbButtons.Size = new Size(56, 184); this.clbButtons.TabIndex = 1; this.lblTriggerR.AutoSize = true; this.lblTriggerR.Location = new System.Drawing.Point(76, 104); this.lblTriggerR.Name = "lblTriggerR"; this.lblTriggerR.Size = new Size(51, 13); this.lblTriggerR.TabIndex = 25; this.lblTriggerR.Text = "Trigger R"; this.lblTriggerL.AutoSize = true; this.lblTriggerL.Location = new System.Drawing.Point(76, 88); this.lblTriggerL.Name = "lblTriggerL"; this.lblTriggerL.Size = new Size(49, 13); this.lblTriggerL.TabIndex = 24; this.lblTriggerL.Text = "Trigger L"; this.lblIR3.AutoSize = true; this.lblIR3.Location = new System.Drawing.Point(8, 48); this.lblIR3.Name = "lblIR3"; this.lblIR3.Size = new Size(24, 13); this.lblIR3.TabIndex = 7; this.lblIR3.Text = "IR3"; this.lblIR4.AutoSize = true; this.lblIR4.Location = new System.Drawing.Point(8, 64); this.lblIR4.Name = "lblIR4"; this.lblIR4.Size = new Size(24, 13); this.lblIR4.TabIndex = 7; this.lblIR4.Text = "IR4"; this.lblCCJoy2.Location = new System.Drawing.Point(76, 52); this.lblCCJoy2.Name = "lblCCJoy2"; this.lblCCJoy2.Size = new Size(108, 32); this.lblCCJoy2.TabIndex = 24; this.lblCCJoy2.Text = "Right Joystick"; this.lblCCJoy1.Location = new System.Drawing.Point(76, 16); this.lblCCJoy1.Name = "lblCCJoy1"; this.lblCCJoy1.Size = new Size(108, 32); this.lblCCJoy1.TabIndex = 24; this.lblCCJoy1.Text = "Left Joystick"; this.groupBox5.Controls.Add(this.lblIR3Raw); this.groupBox5.Controls.Add(this.lblIR1Raw); this.groupBox5.Controls.Add(this.lblIR4Raw); this.groupBox5.Controls.Add(this.lblIR2Raw); this.groupBox5.Controls.Add(this.lblIR3); this.groupBox5.Controls.Add(this.lblIR1); this.groupBox5.Controls.Add(this.lblIR4); this.groupBox5.Controls.Add(this.lblIR2); this.groupBox5.Controls.Add(this.chkFound3); this.groupBox5.Controls.Add(this.chkFound4); this.groupBox5.Controls.Add(this.chkFound1); this.groupBox5.Controls.Add(this.chkFound2); this.groupBox5.Location = new System.Drawing.Point(184, 0); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new Size(176, 188); this.groupBox5.TabIndex = 34; this.groupBox5.TabStop = false; this.groupBox5.Text = "IR"; this.lblIR3Raw.AutoSize = true; this.lblIR3Raw.Location = new System.Drawing.Point(8, 112); this.lblIR3Raw.Name = "lblIR3Raw"; this.lblIR3Raw.Size = new Size(46, 13); this.lblIR3Raw.TabIndex = 10; this.lblIR3Raw.Text = "IR3Raw"; this.lblIR1Raw.AutoSize = true; this.lblIR1Raw.Location = new System.Drawing.Point(8, 80); this.lblIR1Raw.Name = "lblIR1Raw"; this.lblIR1Raw.Size = new Size(46, 13); this.lblIR1Raw.TabIndex = 10; this.lblIR1Raw.Text = "IR1Raw"; this.lblIR4Raw.AutoSize = true; this.lblIR4Raw.Location = new System.Drawing.Point(8, 128); this.lblIR4Raw.Name = "lblIR4Raw"; this.lblIR4Raw.Size = new Size(46, 13); this.lblIR4Raw.TabIndex = 9; this.lblIR4Raw.Text = "IR4Raw"; this.lblIR2Raw.AutoSize = true; this.lblIR2Raw.Location = new System.Drawing.Point(8, 96); this.lblIR2Raw.Name = "lblIR2Raw"; this.lblIR2Raw.Size = new Size(46, 13); this.lblIR2Raw.TabIndex = 9; this.lblIR2Raw.Text = "IR2Raw"; this.lblIR1.AutoSize = true; this.lblIR1.Location = new System.Drawing.Point(8, 16); this.lblIR1.Name = "lblIR1"; this.lblIR1.Size = new Size(24, 13); this.lblIR1.TabIndex = 7; this.lblIR1.Text = "IR1"; this.lblIR2.AutoSize = true; this.lblIR2.Location = new System.Drawing.Point(8, 32); this.lblIR2.Name = "lblIR2"; this.lblIR2.Size = new Size(24, 13); this.lblIR2.TabIndex = 7; this.lblIR2.Text = "IR2"; this.chkFound3.AutoSize = true; this.chkFound3.Location = new System.Drawing.Point(60, 148); this.chkFound3.Name = "chkFound3"; this.chkFound3.Size = new Size(46, 17); this.chkFound3.TabIndex = 8; this.chkFound3.Text = "IR 3"; this.chkFound3.UseVisualStyleBackColor = true; this.chkFound4.AutoSize = true; this.chkFound4.Location = new System.Drawing.Point(60, 164); this.chkFound4.Name = "chkFound4"; this.chkFound4.Size = new Size(46, 17); this.chkFound4.TabIndex = 8; this.chkFound4.Text = "IR 4"; this.chkFound4.UseVisualStyleBackColor = true; this.chkFound1.AutoSize = true; this.chkFound1.Location = new System.Drawing.Point(8, 148); this.chkFound1.Name = "chkFound1"; this.chkFound1.Size = new Size(46, 17); this.chkFound1.TabIndex = 8; this.chkFound1.Text = "IR 1"; this.chkFound1.UseVisualStyleBackColor = true; this.chkFound2.AutoSize = true; this.chkFound2.Location = new System.Drawing.Point(8, 164); this.chkFound2.Name = "chkFound2"; this.chkFound2.Size = new Size(46, 17); this.chkFound2.TabIndex = 8; this.chkFound2.Text = "IR 2"; this.chkFound2.UseVisualStyleBackColor = true; this.pbIR.Location = new System.Drawing.Point(4, 248); this.pbIR.Name = "pbIR"; this.pbIR.Size = new Size(256, 192); this.pbIR.TabIndex = 28; this.pbIR.TabStop = false; this.lblGuitarWhammy.AutoSize = true; this.lblGuitarWhammy.Location = new System.Drawing.Point(92, 140); this.lblGuitarWhammy.Name = "lblGuitarWhammy"; this.lblGuitarWhammy.Size = new Size(51, 13); this.lblGuitarWhammy.TabIndex = 24; this.lblGuitarWhammy.Text = "Whammy"; this.groupBox7.Controls.Add(this.clbTouchbar); this.groupBox7.Controls.Add(this.lblGuitarType); this.groupBox7.Controls.Add(this.lblGuitarWhammy); this.groupBox7.Controls.Add(this.lblGuitarJoy); this.groupBox7.Controls.Add(this.clbGuitarButtons); this.groupBox7.Location = new System.Drawing.Point(364, 272); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new Size(188, 176); this.groupBox7.TabIndex = 36; this.groupBox7.TabStop = false; this.groupBox7.Text = "Guitar"; this.clbTouchbar.FormattingEnabled = true; CheckedListBox.ObjectCollection objectCollection = this.clbTouchbar.Items; object[] objArray1 = new object[] { "Green", "Red", "Yellow", "Blue", "Orange" }; objectCollection.AddRange(objArray1); this.clbTouchbar.Location = new System.Drawing.Point(88, 16); this.clbTouchbar.Name = "clbTouchbar"; this.clbTouchbar.Size = new Size(80, 79); this.clbTouchbar.TabIndex = 25; this.lblGuitarType.AutoSize = true; this.lblGuitarType.Location = new System.Drawing.Point(4, 156); this.lblGuitarType.Name = "lblGuitarType"; this.lblGuitarType.Size = new Size(31, 13); this.lblGuitarType.TabIndex = 24; this.lblGuitarType.Text = "Type"; this.lblGuitarJoy.Location = new System.Drawing.Point(92, 104); this.lblGuitarJoy.Name = "lblGuitarJoy"; this.lblGuitarJoy.Size = new Size(92, 32); this.lblGuitarJoy.TabIndex = 24; this.lblGuitarJoy.Text = "Joystick Values"; this.clbGuitarButtons.FormattingEnabled = true; CheckedListBox.ObjectCollection items1 = this.clbGuitarButtons.Items; object[] objArray2 = new object[] { "Green", "Red", "Yellow", "Blue", "Orange", "-", "+", "StrumUp", "StrumDown" }; items1.AddRange(objArray2); this.clbGuitarButtons.Location = new System.Drawing.Point(4, 16); this.clbGuitarButtons.Name = "clbGuitarButtons"; this.clbGuitarButtons.Size = new Size(80, 139); this.clbGuitarButtons.TabIndex = 23; this.groupBox6.Controls.Add(this.lblTriggerR); this.groupBox6.Controls.Add(this.lblTriggerL); this.groupBox6.Controls.Add(this.lblCCJoy2); this.groupBox6.Controls.Add(this.lblCCJoy1); this.groupBox6.Controls.Add(this.clbCCButtons); this.groupBox6.Location = new System.Drawing.Point(364, 0); this.groupBox6.Name = "groupBox6"; this.groupBox6.Size = new Size(188, 268); this.groupBox6.TabIndex = 35; this.groupBox6.TabStop = false; this.groupBox6.Text = "Classic Controller"; this.clbCCButtons.FormattingEnabled = true; CheckedListBox.ObjectCollection objectCollection1 = this.clbCCButtons.Items; object[] objArray3 = new object[] { "A", "B", "X", "Y", "-", "Home", "+", "Up", "Down", "Left", "Right", "ZL", "ZR", "LTrigger", "RTrigger" }; objectCollection1.AddRange(objArray3); this.clbCCButtons.Location = new System.Drawing.Point(4, 16); this.clbCCButtons.Name = "clbCCButtons"; this.clbCCButtons.Size = new Size(68, 244); this.clbCCButtons.TabIndex = 23; this.groupBox4.Controls.Add(this.pbBattery); this.groupBox4.Controls.Add(this.lblBattery); this.groupBox4.Location = new System.Drawing.Point(184, 188); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new Size(176, 52); this.groupBox4.TabIndex = 33; this.groupBox4.TabStop = false; this.groupBox4.Text = "Battery"; this.pbBattery.Location = new System.Drawing.Point(8, 20); this.pbBattery.Maximum = 200; this.pbBattery.Name = "pbBattery"; this.pbBattery.Size = new Size(128, 23); this.pbBattery.Step = 1; this.pbBattery.TabIndex = 6; this.lblBattery.AutoSize = true; this.lblBattery.Location = new System.Drawing.Point(140, 24); this.lblBattery.Name = "lblBattery"; this.lblBattery.Size = new Size(35, 13); this.lblBattery.TabIndex = 9; this.lblBattery.Text = "label1"; this.groupBox3.Controls.Add(this.chkLED2); this.groupBox3.Controls.Add(this.chkLED4); this.groupBox3.Controls.Add(this.chkLED3); this.groupBox3.Controls.Add(this.chkLED1); this.groupBox3.Controls.Add(this.chkRumble); this.groupBox3.Location = new System.Drawing.Point(264, 248); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new Size(96, 120); this.groupBox3.TabIndex = 32; this.groupBox3.TabStop = false; this.groupBox3.Text = "Outputs"; this.chkLED2.AutoSize = true; this.chkLED2.Location = new System.Drawing.Point(8, 36); this.chkLED2.Name = "chkLED2"; this.chkLED2.Size = new Size(53, 17); this.chkLED2.TabIndex = 3; this.chkLED2.Text = "LED2"; this.chkLED2.UseVisualStyleBackColor = true; this.chkLED2.CheckedChanged += new EventHandler(this.chkLED_CheckedChanged); this.chkLED4.AutoSize = true; this.chkLED4.Location = new System.Drawing.Point(8, 76); this.chkLED4.Name = "chkLED4"; this.chkLED4.Size = new Size(53, 17); this.chkLED4.TabIndex = 3; this.chkLED4.Text = "LED4"; this.chkLED4.UseVisualStyleBackColor = true; this.chkLED4.CheckedChanged += new EventHandler(this.chkLED_CheckedChanged); this.chkLED3.AutoSize = true; this.chkLED3.Location = new System.Drawing.Point(8, 56); this.chkLED3.Name = "chkLED3"; this.chkLED3.Size = new Size(53, 17); this.chkLED3.TabIndex = 3; this.chkLED3.Text = "LED3"; this.chkLED3.UseVisualStyleBackColor = true; this.chkLED3.CheckedChanged += new EventHandler(this.chkLED_CheckedChanged); this.chkLED1.AutoSize = true; this.chkLED1.Location = new System.Drawing.Point(8, 16); this.chkLED1.Name = "chkLED1"; this.chkLED1.Size = new Size(53, 17); this.chkLED1.TabIndex = 3; this.chkLED1.Text = "LED1"; this.chkLED1.UseVisualStyleBackColor = true; this.chkLED1.CheckedChanged += new EventHandler(this.chkLED_CheckedChanged); this.chkRumble.AutoSize = true; this.chkRumble.Location = new System.Drawing.Point(8, 96); this.chkRumble.Name = "chkRumble"; this.chkRumble.Size = new Size(62, 17); this.chkRumble.TabIndex = 4; this.chkRumble.Text = "Rumble"; this.chkRumble.UseVisualStyleBackColor = true; this.chkRumble.CheckedChanged += new EventHandler(this.chkRumble_CheckedChanged); this.chkZ.AutoSize = true; this.chkZ.Location = new System.Drawing.Point(8, 112); this.chkZ.Name = "chkZ"; this.chkZ.Size = new Size(33, 17); this.chkZ.TabIndex = 17; this.chkZ.Text = "Z"; this.chkZ.UseVisualStyleBackColor = true; this.chkC.AutoSize = true; this.chkC.Location = new System.Drawing.Point(8, 92); this.chkC.Name = "chkC"; this.chkC.Size = new Size(33, 17); this.chkC.TabIndex = 17; this.chkC.Text = "C"; this.chkC.UseVisualStyleBackColor = true; this.lblChuk.Location = new System.Drawing.Point(8, 20); this.lblChuk.Name = "lblChuk"; this.lblChuk.Size = new Size(92, 40); this.lblChuk.TabIndex = 13; this.lblChuk.Text = "Accel Values"; this.groupBox2.Controls.Add(this.chkZ); this.groupBox2.Controls.Add(this.chkC); this.groupBox2.Controls.Add(this.lblChuk); this.groupBox2.Controls.Add(this.lblChukJoy); this.groupBox2.Location = new System.Drawing.Point(76, 76); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(104, 136); this.groupBox2.TabIndex = 31; this.groupBox2.TabStop = false; this.groupBox2.Text = "Nunchuk"; this.lblChukJoy.Location = new System.Drawing.Point(8, 64); this.lblChukJoy.Name = "lblChukJoy"; this.lblChukJoy.Size = new Size(92, 28); this.lblChukJoy.TabIndex = 16; this.lblChukJoy.Text = "Joystick Values"; this.groupBox1.Controls.Add(this.lblAccel); this.groupBox1.Location = new System.Drawing.Point(76, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(104, 72); this.groupBox1.TabIndex = 30; this.groupBox1.TabStop = false; this.groupBox1.Text = "Wiimote Accel"; this.lblAccel.Location = new System.Drawing.Point(8, 20); this.lblAccel.Name = "lblAccel"; this.lblAccel.Size = new Size(88, 48); this.lblAccel.TabIndex = 2; this.lblAccel.Text = "Accel Values"; this.chkExtension.AutoSize = true; this.chkExtension.Location = new System.Drawing.Point(4, 224); this.chkExtension.Name = "chkExtension"; this.chkExtension.Size = new Size(52, 17); this.chkExtension.TabIndex = 29; this.chkExtension.Text = "None"; this.chkExtension.UseVisualStyleBackColor = true; this.groupBox9.Controls.Add(this.lblCOG); this.groupBox9.Controls.Add(this.chkLbs); this.groupBox9.Controls.Add(this.lblBBBR); this.groupBox9.Controls.Add(this.lblBBTR); this.groupBox9.Controls.Add(this.lblBBBL); this.groupBox9.Controls.Add(this.lblBBTotal); this.groupBox9.Controls.Add(this.lblBBTL); this.groupBox9.Location = new System.Drawing.Point(556, 0); this.groupBox9.Name = "groupBox9"; this.groupBox9.Size = new Size(136, 112); this.groupBox9.TabIndex = 38; this.groupBox9.TabStop = false; this.groupBox9.Text = "Balance Board"; this.lblCOG.AutoSize = true; this.lblCOG.Location = new System.Drawing.Point(8, 92); this.lblCOG.Name = "lblCOG"; this.lblCOG.Size = new Size(30, 13); this.lblCOG.TabIndex = 2; this.lblCOG.Text = "COG"; this.chkLbs.AutoSize = true; this.chkLbs.Location = new System.Drawing.Point(28, 68); this.chkLbs.Name = "chkLbs"; this.chkLbs.Size = new Size(62, 17); this.chkLbs.TabIndex = 1; this.chkLbs.Text = "Pounds"; this.chkLbs.UseVisualStyleBackColor = true; this.lblBBBR.AutoSize = true; this.lblBBBR.Location = new System.Drawing.Point(76, 48); this.lblBBBR.Name = "lblBBBR"; this.lblBBBR.Size = new Size(22, 13); this.lblBBBR.TabIndex = 0; this.lblBBBR.Text = "BR"; this.lblBBTR.AutoSize = true; this.lblBBTR.Location = new System.Drawing.Point(76, 16); this.lblBBTR.Name = "lblBBTR"; this.lblBBTR.Size = new Size(22, 13); this.lblBBTR.TabIndex = 0; this.lblBBTR.Text = "TR"; this.lblBBBL.AutoSize = true; this.lblBBBL.Location = new System.Drawing.Point(8, 48); this.lblBBBL.Name = "lblBBBL"; this.lblBBBL.Size = new Size(20, 13); this.lblBBBL.TabIndex = 0; this.lblBBBL.Text = "BL"; this.lblBBTotal.AutoSize = true; this.lblBBTotal.Location = new System.Drawing.Point(36, 32); this.lblBBTotal.Name = "lblBBTotal"; this.lblBBTotal.Size = new Size(31, 13); this.lblBBTotal.TabIndex = 0; this.lblBBTotal.Text = "Total"; this.lblBBTL.AutoSize = true; this.lblBBTL.Location = new System.Drawing.Point(8, 16); this.lblBBTL.Name = "lblBBTL"; this.lblBBTL.Size = new Size(20, 13); this.lblBBTL.TabIndex = 0; this.lblBBTL.Text = "TL"; this.lblDevicePath.AutoSize = true; this.lblDevicePath.Location = new System.Drawing.Point(8, 444); this.lblDevicePath.Name = "lblDevicePath"; this.lblDevicePath.Size = new Size(63, 13); this.lblDevicePath.TabIndex = 39; this.lblDevicePath.Text = "DevicePath"; this.groupBox10.Controls.Add(this.lbDrumVelocity); this.groupBox10.Controls.Add(this.lblDrumJoy); this.groupBox10.Controls.Add(this.clbDrums); this.groupBox10.Location = new System.Drawing.Point(556, 112); this.groupBox10.Name = "groupBox10"; this.groupBox10.Size = new Size(136, 180); this.groupBox10.TabIndex = 40; this.groupBox10.TabStop = false; this.groupBox10.Text = "Drums"; this.lbDrumVelocity.FormattingEnabled = true; this.lbDrumVelocity.Location = new System.Drawing.Point(68, 16); this.lbDrumVelocity.Name = "lbDrumVelocity"; this.lbDrumVelocity.Size = new Size(56, 121); this.lbDrumVelocity.TabIndex = 41; this.lblDrumJoy.Location = new System.Drawing.Point(8, 144); this.lblDrumJoy.Name = "lblDrumJoy"; this.lblDrumJoy.Size = new Size(92, 32); this.lblDrumJoy.TabIndex = 27; this.lblDrumJoy.Text = "Joystick Values"; this.clbDrums.FormattingEnabled = true; CheckedListBox.ObjectCollection items2 = this.clbDrums.Items; object[] objArray4 = new object[] { "Red", "Blue", "Green", "Yellow", "Orange", "Pedal", "-", "+" }; items2.AddRange(objArray4); this.clbDrums.Location = new System.Drawing.Point(4, 16); this.clbDrums.Name = "clbDrums"; this.clbDrums.Size = new Size(60, 124); this.clbDrums.TabIndex = 26; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.groupBox10); base.Controls.Add(this.lblDevicePath); base.Controls.Add(this.groupBox9); base.Controls.Add(this.groupBox8); base.Controls.Add(this.groupBox5); base.Controls.Add(this.pbIR); base.Controls.Add(this.groupBox7); base.Controls.Add(this.groupBox6); base.Controls.Add(this.groupBox4); base.Controls.Add(this.groupBox3); base.Controls.Add(this.groupBox2); base.Controls.Add(this.groupBox1); base.Controls.Add(this.chkExtension); base.Name = "WiimoteInfo"; base.Size = new Size(696, 464); this.groupBox8.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); ((ISupportInitialize)this.pbIR).EndInit(); this.groupBox7.ResumeLayout(false); this.groupBox7.PerformLayout(); this.groupBox6.ResumeLayout(false); this.groupBox6.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox9.ResumeLayout(false); this.groupBox9.PerformLayout(); this.groupBox10.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }