[tuxdroid-svn] r6041 - software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDe
Status: Beta
Brought to you by:
ks156
From: JDM <c2m...@c2...> - 2010-01-10 21:07:46
|
Author: JDM Date: 2010-01-10 22:07:17 +0100 (Sun, 10 Jan 2010) New Revision: 6041 Modified: software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.Designer.cs software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.cs software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/TuxAPI.cs Log: - Fixed some small bugs in ControlTuxDroid - Fixed locutor problem with ControlTuxDroid - Renamed all buttons for better name in ControlTuxDroid Modified: software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.Designer.cs =================================================================== --- software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.Designer.cs 2010-01-08 11:04:20 UTC (rev 6040) +++ software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.Designer.cs 2010-01-10 21:07:17 UTC (rev 6041) @@ -29,404 +29,404 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.button1 = new System.Windows.Forms.Button(); - this.button2 = new System.Windows.Forms.Button(); - this.button3 = new System.Windows.Forms.Button(); - this.button4 = new System.Windows.Forms.Button(); - this.button5 = new System.Windows.Forms.Button(); - this.button6 = new System.Windows.Forms.Button(); - this.button7 = new System.Windows.Forms.Button(); - this.button8 = new System.Windows.Forms.Button(); - this.button9 = new System.Windows.Forms.Button(); - this.button10 = new System.Windows.Forms.Button(); - this.button11 = new System.Windows.Forms.Button(); - this.button12 = new System.Windows.Forms.Button(); - this.button13 = new System.Windows.Forms.Button(); - this.button14 = new System.Windows.Forms.Button(); - this.button15 = new System.Windows.Forms.Button(); - this.button17 = new System.Windows.Forms.Button(); - this.button18 = new System.Windows.Forms.Button(); - this.button19 = new System.Windows.Forms.Button(); - this.button20 = new System.Windows.Forms.Button(); - this.button16 = new System.Windows.Forms.Button(); - this.button21 = new System.Windows.Forms.Button(); - this.button22 = new System.Windows.Forms.Button(); - this.button23 = new System.Windows.Forms.Button(); - this.button24 = new System.Windows.Forms.Button(); - this.button25 = new System.Windows.Forms.Button(); - this.button26 = new System.Windows.Forms.Button(); - this.button27 = new System.Windows.Forms.Button(); - this.button28 = new System.Windows.Forms.Button(); - this.button29 = new System.Windows.Forms.Button(); - this.button30 = new System.Windows.Forms.Button(); - this.button31 = new System.Windows.Forms.Button(); - this.button32 = new System.Windows.Forms.Button(); - this.button33 = new System.Windows.Forms.Button(); - this.button34 = new System.Windows.Forms.Button(); - this.button35 = new System.Windows.Forms.Button(); + this.btn_CloseEyes = new System.Windows.Forms.Button(); + this.btn_OpenEyes = new System.Windows.Forms.Button(); + this.btn_FlippersUp = new System.Windows.Forms.Button(); + this.btn_FlippersDown = new System.Windows.Forms.Button(); + this.btn_SayHello = new System.Windows.Forms.Button(); + this.btn_OpenMouth = new System.Windows.Forms.Button(); + this.btn_CloseMouth = new System.Windows.Forms.Button(); + this.btn_LeftRotate = new System.Windows.Forms.Button(); + this.btn_RightRotation = new System.Windows.Forms.Button(); + this.btn_EyesLedsOff = new System.Windows.Forms.Button(); + this.btn_EyesLedsOn = new System.Windows.Forms.Button(); + this.btn_LeftEyeLedOn = new System.Windows.Forms.Button(); + this.btn_RightEyeLedOn = new System.Windows.Forms.Button(); + this.btn_RightEyeLedOff = new System.Windows.Forms.Button(); + this.btn_LeftEyeLedOff = new System.Windows.Forms.Button(); + this.btn_PlayAttituneTest = new System.Windows.Forms.Button(); + this.btn_StopAttitune = new System.Windows.Forms.Button(); + this.btn_StopSound = new System.Windows.Forms.Button(); + this.btn_PlaySoundTest = new System.Windows.Forms.Button(); + this.btn_EyesMotorStatus = new System.Windows.Forms.Button(); + this.btn_LightLevel = new System.Windows.Forms.Button(); + this.btn_LeftLedStatus = new System.Windows.Forms.Button(); + this.btn_RightLedStatus = new System.Windows.Forms.Button(); + this.btn_FlippersStatus = new System.Windows.Forms.Button(); + this.btn_MouthStatus = new System.Windows.Forms.Button(); + this.btn_LeftSpinStatus = new System.Windows.Forms.Button(); + this.btn_RightSpinStatus = new System.Windows.Forms.Button(); + this.btn_EyesPosition = new System.Windows.Forms.Button(); + this.btn_FlippersPosition = new System.Windows.Forms.Button(); + this.btn_MouthPosition = new System.Windows.Forms.Button(); + this.btn_SpinPosition = new System.Windows.Forms.Button(); + this.btn_BatteryStatus = new System.Windows.Forms.Button(); + this.btn_BatteryLevel = new System.Windows.Forms.Button(); + this.btn_ChargerState = new System.Windows.Forms.Button(); + this.btn_SearchLightGadget = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); - this.button41 = new System.Windows.Forms.Button(); - this.button40 = new System.Windows.Forms.Button(); - this.button39 = new System.Windows.Forms.Button(); + this.btn_BlinkRightLed = new System.Windows.Forms.Button(); + this.btn_BlinkLeftLed = new System.Windows.Forms.Button(); + this.btn_BlinkEyes = new System.Windows.Forms.Button(); this.tabPage2 = new System.Windows.Forms.TabPage(); - this.button38 = new System.Windows.Forms.Button(); - this.button37 = new System.Windows.Forms.Button(); - this.button36 = new System.Windows.Forms.Button(); + this.btn_WheaterGadget = new System.Windows.Forms.Button(); + this.btn_WhatDayGadget = new System.Windows.Forms.Button(); + this.btn_WhatTimeGadget = new System.Windows.Forms.Button(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // - // button1 + // btn_CloseEyes // - this.button1.Location = new System.Drawing.Point(141, 6); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(129, 23); - this.button1.TabIndex = 900; - this.button1.Text = "Close eyes"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); + this.btn_CloseEyes.Location = new System.Drawing.Point(141, 6); + this.btn_CloseEyes.Name = "btn_CloseEyes"; + this.btn_CloseEyes.Size = new System.Drawing.Size(129, 23); + this.btn_CloseEyes.TabIndex = 900; + this.btn_CloseEyes.Text = "Close eyes"; + this.btn_CloseEyes.UseVisualStyleBackColor = true; + this.btn_CloseEyes.Click += new System.EventHandler(this.btn_CloseEyes_Click); // - // button2 + // btn_OpenEyes // - this.button2.Location = new System.Drawing.Point(6, 6); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(129, 23); - this.button2.TabIndex = 1; - this.button2.Text = "Open eyes"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click); + this.btn_OpenEyes.Location = new System.Drawing.Point(6, 6); + this.btn_OpenEyes.Name = "btn_OpenEyes"; + this.btn_OpenEyes.Size = new System.Drawing.Size(129, 23); + this.btn_OpenEyes.TabIndex = 1; + this.btn_OpenEyes.Text = "Open eyes"; + this.btn_OpenEyes.UseVisualStyleBackColor = true; + this.btn_OpenEyes.Click += new System.EventHandler(this.btn_OpenEyes_Click); // - // button3 + // btn_FlippersUp // - this.button3.Location = new System.Drawing.Point(6, 122); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(129, 23); - this.button3.TabIndex = 2; - this.button3.Text = "Wing up"; - this.button3.UseVisualStyleBackColor = true; - this.button3.Click += new System.EventHandler(this.button3_Click); + this.btn_FlippersUp.Location = new System.Drawing.Point(6, 122); + this.btn_FlippersUp.Name = "btn_FlippersUp"; + this.btn_FlippersUp.Size = new System.Drawing.Size(129, 23); + this.btn_FlippersUp.TabIndex = 2; + this.btn_FlippersUp.Text = "Wing up"; + this.btn_FlippersUp.UseVisualStyleBackColor = true; + this.btn_FlippersUp.Click += new System.EventHandler(this.btn_FlippersUp_Click); // - // button4 + // btn_FlippersDown // - this.button4.Location = new System.Drawing.Point(141, 122); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(129, 23); - this.button4.TabIndex = 3; - this.button4.Text = "Wing down"; - this.button4.UseVisualStyleBackColor = true; - this.button4.Click += new System.EventHandler(this.button4_Click); + this.btn_FlippersDown.Location = new System.Drawing.Point(141, 122); + this.btn_FlippersDown.Name = "btn_FlippersDown"; + this.btn_FlippersDown.Size = new System.Drawing.Size(129, 23); + this.btn_FlippersDown.TabIndex = 3; + this.btn_FlippersDown.Text = "Wing down"; + this.btn_FlippersDown.UseVisualStyleBackColor = true; + this.btn_FlippersDown.Click += new System.EventHandler(this.btn_FlippersDown_Click); // - // button5 + // btn_SayHello // - this.button5.Location = new System.Drawing.Point(276, 232); - this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(131, 23); - this.button5.TabIndex = 4; - this.button5.Text = "Say \"Hello !\""; - this.button5.UseVisualStyleBackColor = true; - this.button5.Click += new System.EventHandler(this.button5_Click); + this.btn_SayHello.Location = new System.Drawing.Point(276, 232); + this.btn_SayHello.Name = "btn_SayHello"; + this.btn_SayHello.Size = new System.Drawing.Size(131, 23); + this.btn_SayHello.TabIndex = 4; + this.btn_SayHello.Text = "Say \"Hello !\""; + this.btn_SayHello.UseVisualStyleBackColor = true; + this.btn_SayHello.Click += new System.EventHandler(this.btn_SayHello_Click); // - // button6 + // btn_OpenMouth // - this.button6.Location = new System.Drawing.Point(6, 151); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(129, 23); - this.button6.TabIndex = 5; - this.button6.Text = "Open mouth"; - this.button6.UseVisualStyleBackColor = true; - this.button6.Click += new System.EventHandler(this.button6_Click); + this.btn_OpenMouth.Location = new System.Drawing.Point(6, 151); + this.btn_OpenMouth.Name = "btn_OpenMouth"; + this.btn_OpenMouth.Size = new System.Drawing.Size(129, 23); + this.btn_OpenMouth.TabIndex = 5; + this.btn_OpenMouth.Text = "Open mouth"; + this.btn_OpenMouth.UseVisualStyleBackColor = true; + this.btn_OpenMouth.Click += new System.EventHandler(this.btn_OpenMouth_Click); // - // button7 + // btn_CloseMouth // - this.button7.Location = new System.Drawing.Point(141, 151); - this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(129, 23); - this.button7.TabIndex = 6; - this.button7.Text = "Close mouth"; - this.button7.UseVisualStyleBackColor = true; - this.button7.Click += new System.EventHandler(this.button7_Click); + this.btn_CloseMouth.Location = new System.Drawing.Point(141, 151); + this.btn_CloseMouth.Name = "btn_CloseMouth"; + this.btn_CloseMouth.Size = new System.Drawing.Size(129, 23); + this.btn_CloseMouth.TabIndex = 6; + this.btn_CloseMouth.Text = "Close mouth"; + this.btn_CloseMouth.UseVisualStyleBackColor = true; + this.btn_CloseMouth.Click += new System.EventHandler(this.btn_CloseMouth_Click); // - // button8 + // btn_LeftRotate // - this.button8.Location = new System.Drawing.Point(6, 180); - this.button8.Name = "button8"; - this.button8.Size = new System.Drawing.Size(129, 23); - this.button8.TabIndex = 7; - this.button8.Text = "5 left rotations"; - this.button8.UseVisualStyleBackColor = true; - this.button8.Click += new System.EventHandler(this.button8_Click); + this.btn_LeftRotate.Location = new System.Drawing.Point(6, 180); + this.btn_LeftRotate.Name = "btn_LeftRotation"; + this.btn_LeftRotate.Size = new System.Drawing.Size(129, 23); + this.btn_LeftRotate.TabIndex = 7; + this.btn_LeftRotate.Text = "5 left rotations"; + this.btn_LeftRotate.UseVisualStyleBackColor = true; + this.btn_LeftRotate.Click += new System.EventHandler(this.btn_LeftRotation_Click); // - // button9 + // btn_RightRotation // - this.button9.Location = new System.Drawing.Point(141, 180); - this.button9.Name = "button9"; - this.button9.Size = new System.Drawing.Size(129, 23); - this.button9.TabIndex = 8; - this.button9.Text = "5 right rotations"; - this.button9.UseVisualStyleBackColor = true; - this.button9.Click += new System.EventHandler(this.button9_Click); + this.btn_RightRotation.Location = new System.Drawing.Point(141, 180); + this.btn_RightRotation.Name = "btn_RightRotation"; + this.btn_RightRotation.Size = new System.Drawing.Size(129, 23); + this.btn_RightRotation.TabIndex = 8; + this.btn_RightRotation.Text = "5 right rotations"; + this.btn_RightRotation.UseVisualStyleBackColor = true; + this.btn_RightRotation.Click += new System.EventHandler(this.btn_RightRotation_Click); // - // button10 + // btn_EyesLedsOff // - this.button10.Location = new System.Drawing.Point(141, 35); - this.button10.Name = "button10"; - this.button10.Size = new System.Drawing.Size(129, 23); - this.button10.TabIndex = 10; - this.button10.Text = "Eyes\'s leds off"; - this.button10.UseVisualStyleBackColor = true; - this.button10.Click += new System.EventHandler(this.button10_Click); + this.btn_EyesLedsOff.Location = new System.Drawing.Point(141, 35); + this.btn_EyesLedsOff.Name = "btn_EyesLedsOff"; + this.btn_EyesLedsOff.Size = new System.Drawing.Size(129, 23); + this.btn_EyesLedsOff.TabIndex = 10; + this.btn_EyesLedsOff.Text = "Eyes\'s leds off"; + this.btn_EyesLedsOff.UseVisualStyleBackColor = true; + this.btn_EyesLedsOff.Click += new System.EventHandler(this.btn_EyesLedsOff_Click); // - // button11 + // btn_EyesLedsOn // - this.button11.Location = new System.Drawing.Point(6, 35); - this.button11.Name = "button11"; - this.button11.Size = new System.Drawing.Size(129, 23); - this.button11.TabIndex = 9; - this.button11.Text = "Eyes\'s leds on"; - this.button11.UseVisualStyleBackColor = true; - this.button11.Click += new System.EventHandler(this.button11_Click); + this.btn_EyesLedsOn.Location = new System.Drawing.Point(6, 35); + this.btn_EyesLedsOn.Name = "btn_EyesLedsOn"; + this.btn_EyesLedsOn.Size = new System.Drawing.Size(129, 23); + this.btn_EyesLedsOn.TabIndex = 9; + this.btn_EyesLedsOn.Text = "Eyes\'s leds on"; + this.btn_EyesLedsOn.UseVisualStyleBackColor = true; + this.btn_EyesLedsOn.Click += new System.EventHandler(this.btn_EyesLedsOn_Click); // - // button12 + // btn_LeftEyeLedOn // - this.button12.Location = new System.Drawing.Point(6, 64); - this.button12.Name = "button12"; - this.button12.Size = new System.Drawing.Size(129, 23); - this.button12.TabIndex = 11; - this.button12.Text = "Left eye led on"; - this.button12.UseVisualStyleBackColor = true; - this.button12.Click += new System.EventHandler(this.button12_Click); + this.btn_LeftEyeLedOn.Location = new System.Drawing.Point(6, 64); + this.btn_LeftEyeLedOn.Name = "btn_LeftEyeLedOn"; + this.btn_LeftEyeLedOn.Size = new System.Drawing.Size(129, 23); + this.btn_LeftEyeLedOn.TabIndex = 11; + this.btn_LeftEyeLedOn.Text = "Left eye led on"; + this.btn_LeftEyeLedOn.UseVisualStyleBackColor = true; + this.btn_LeftEyeLedOn.Click += new System.EventHandler(this.btn_LeftEyeLedOn_Click); // - // button13 + // btn_RightEyeLedOn // - this.button13.Location = new System.Drawing.Point(6, 93); - this.button13.Name = "button13"; - this.button13.Size = new System.Drawing.Size(129, 23); - this.button13.TabIndex = 12; - this.button13.Text = "Right eye led on"; - this.button13.UseVisualStyleBackColor = true; - this.button13.Click += new System.EventHandler(this.button13_Click); + this.btn_RightEyeLedOn.Location = new System.Drawing.Point(6, 93); + this.btn_RightEyeLedOn.Name = "btn_RightEyeLedOn"; + this.btn_RightEyeLedOn.Size = new System.Drawing.Size(129, 23); + this.btn_RightEyeLedOn.TabIndex = 12; + this.btn_RightEyeLedOn.Text = "Right eye led on"; + this.btn_RightEyeLedOn.UseVisualStyleBackColor = true; + this.btn_RightEyeLedOn.Click += new System.EventHandler(this.btn_RightEyeLedOn_Click); // - // button14 + // btn_RightEyeLedOff // - this.button14.Location = new System.Drawing.Point(141, 93); - this.button14.Name = "button14"; - this.button14.Size = new System.Drawing.Size(129, 23); - this.button14.TabIndex = 14; - this.button14.Text = "Right eye led off"; - this.button14.UseVisualStyleBackColor = true; - this.button14.Click += new System.EventHandler(this.button14_Click); + this.btn_RightEyeLedOff.Location = new System.Drawing.Point(141, 93); + this.btn_RightEyeLedOff.Name = "btn_RightEyeLedOff"; + this.btn_RightEyeLedOff.Size = new System.Drawing.Size(129, 23); + this.btn_RightEyeLedOff.TabIndex = 14; + this.btn_RightEyeLedOff.Text = "Right eye led off"; + this.btn_RightEyeLedOff.UseVisualStyleBackColor = true; + this.btn_RightEyeLedOff.Click += new System.EventHandler(this.btn_RightEyeLedOff_Click); // - // button15 + // btn_LeftEyeLedOff // - this.button15.Location = new System.Drawing.Point(141, 64); - this.button15.Name = "button15"; - this.button15.Size = new System.Drawing.Size(129, 23); - this.button15.TabIndex = 13; - this.button15.Text = "Left eye led off"; - this.button15.UseVisualStyleBackColor = true; - this.button15.Click += new System.EventHandler(this.button15_Click); + this.btn_LeftEyeLedOff.Location = new System.Drawing.Point(141, 64); + this.btn_LeftEyeLedOff.Name = "btn_LeftEyeLedOff"; + this.btn_LeftEyeLedOff.Size = new System.Drawing.Size(129, 23); + this.btn_LeftEyeLedOff.TabIndex = 13; + this.btn_LeftEyeLedOff.Text = "Left eye led off"; + this.btn_LeftEyeLedOff.UseVisualStyleBackColor = true; + this.btn_LeftEyeLedOff.Click += new System.EventHandler(this.btn_LeftEyeLedOff_Click); // - // button17 + // btn_PlayAttituneTest // - this.button17.Location = new System.Drawing.Point(6, 232); - this.button17.Name = "button17"; - this.button17.Size = new System.Drawing.Size(129, 23); - this.button17.TabIndex = 16; - this.button17.Text = "Play test attitune"; - this.button17.UseVisualStyleBackColor = true; - this.button17.Click += new System.EventHandler(this.button17_Click); + this.btn_PlayAttituneTest.Location = new System.Drawing.Point(6, 232); + this.btn_PlayAttituneTest.Name = "btn_PlayAttituneTest"; + this.btn_PlayAttituneTest.Size = new System.Drawing.Size(129, 23); + this.btn_PlayAttituneTest.TabIndex = 16; + this.btn_PlayAttituneTest.Text = "Play test attitune"; + this.btn_PlayAttituneTest.UseVisualStyleBackColor = true; + this.btn_PlayAttituneTest.Click += new System.EventHandler(this.btn_PlayAttituneTest_Click); // - // button18 + // btn_StopAttitune // - this.button18.Location = new System.Drawing.Point(6, 261); - this.button18.Name = "button18"; - this.button18.Size = new System.Drawing.Size(129, 23); - this.button18.TabIndex = 17; - this.button18.Text = "Stop attitune"; - this.button18.UseVisualStyleBackColor = true; - this.button18.Click += new System.EventHandler(this.button18_Click); + this.btn_StopAttitune.Location = new System.Drawing.Point(6, 261); + this.btn_StopAttitune.Name = "btn_StopAttitune"; + this.btn_StopAttitune.Size = new System.Drawing.Size(129, 23); + this.btn_StopAttitune.TabIndex = 17; + this.btn_StopAttitune.Text = "Stop attitune"; + this.btn_StopAttitune.UseVisualStyleBackColor = true; + this.btn_StopAttitune.Click += new System.EventHandler(this.btn_StopAttitune_Click); // - // button19 + // btn_StopSound // - this.button19.Location = new System.Drawing.Point(141, 261); - this.button19.Name = "button19"; - this.button19.Size = new System.Drawing.Size(129, 23); - this.button19.TabIndex = 19; - this.button19.Text = "Stop playing sound"; - this.button19.UseVisualStyleBackColor = true; - this.button19.Click += new System.EventHandler(this.button19_Click); + this.btn_StopSound.Location = new System.Drawing.Point(141, 261); + this.btn_StopSound.Name = "btn_StopSound"; + this.btn_StopSound.Size = new System.Drawing.Size(129, 23); + this.btn_StopSound.TabIndex = 19; + this.btn_StopSound.Text = "Stop playing sound"; + this.btn_StopSound.UseVisualStyleBackColor = true; + this.btn_StopSound.Click += new System.EventHandler(this.btn_StopSound_Click); // - // button20 + // btn_PlaySoundTest // - this.button20.Location = new System.Drawing.Point(141, 232); - this.button20.Name = "button20"; - this.button20.Size = new System.Drawing.Size(129, 23); - this.button20.TabIndex = 18; - this.button20.Text = "Play test sound"; - this.button20.UseVisualStyleBackColor = true; - this.button20.Click += new System.EventHandler(this.button20_Click); + this.btn_PlaySoundTest.Location = new System.Drawing.Point(141, 232); + this.btn_PlaySoundTest.Name = "btn_PlaySoundTest"; + this.btn_PlaySoundTest.Size = new System.Drawing.Size(129, 23); + this.btn_PlaySoundTest.TabIndex = 18; + this.btn_PlaySoundTest.Text = "Play test sound"; + this.btn_PlaySoundTest.UseVisualStyleBackColor = true; + this.btn_PlaySoundTest.Click += new System.EventHandler(this.btn_PlaySoundTest_Click); // - // button16 + // btn_EyesMotorStatus // - this.button16.Location = new System.Drawing.Point(276, 6); - this.button16.Name = "button16"; - this.button16.Size = new System.Drawing.Size(161, 23); - this.button16.TabIndex = 20; - this.button16.Text = "Eyes motors in action ?"; - this.button16.UseVisualStyleBackColor = true; - this.button16.Click += new System.EventHandler(this.button16_Click); + this.btn_EyesMotorStatus.Location = new System.Drawing.Point(276, 6); + this.btn_EyesMotorStatus.Name = "btn_EyesMotorStatus"; + this.btn_EyesMotorStatus.Size = new System.Drawing.Size(161, 23); + this.btn_EyesMotorStatus.TabIndex = 20; + this.btn_EyesMotorStatus.Text = "Eyes motors in action ?"; + this.btn_EyesMotorStatus.UseVisualStyleBackColor = true; + this.btn_EyesMotorStatus.Click += new System.EventHandler(this.btn_EyesMotorStatus_Click); // - // button21 + // btn_LightLevel // - this.button21.Location = new System.Drawing.Point(610, 35); - this.button21.Name = "button21"; - this.button21.Size = new System.Drawing.Size(161, 23); - this.button21.TabIndex = 21; - this.button21.Text = "Light level"; - this.button21.UseVisualStyleBackColor = true; - this.button21.Click += new System.EventHandler(this.button21_Click); + this.btn_LightLevel.Location = new System.Drawing.Point(610, 35); + this.btn_LightLevel.Name = "btn_LightLevel"; + this.btn_LightLevel.Size = new System.Drawing.Size(161, 23); + this.btn_LightLevel.TabIndex = 21; + this.btn_LightLevel.Text = "Light level"; + this.btn_LightLevel.UseVisualStyleBackColor = true; + this.btn_LightLevel.Click += new System.EventHandler(this.btn_LightLevel_Click); // - // button22 + // btn_LeftLedStatus // - this.button22.Location = new System.Drawing.Point(276, 64); - this.button22.Name = "button22"; - this.button22.Size = new System.Drawing.Size(161, 23); - this.button22.TabIndex = 22; - this.button22.Text = "Left led status"; - this.button22.UseVisualStyleBackColor = true; - this.button22.Click += new System.EventHandler(this.button22_Click); + this.btn_LeftLedStatus.Location = new System.Drawing.Point(276, 64); + this.btn_LeftLedStatus.Name = "btn_LeftLedStatus"; + this.btn_LeftLedStatus.Size = new System.Drawing.Size(161, 23); + this.btn_LeftLedStatus.TabIndex = 22; + this.btn_LeftLedStatus.Text = "Left led status"; + this.btn_LeftLedStatus.UseVisualStyleBackColor = true; + this.btn_LeftLedStatus.Click += new System.EventHandler(this.btn_LeftLedStatus_Click); // - // button23 + // btn_RightLedStatus // - this.button23.Location = new System.Drawing.Point(276, 93); - this.button23.Name = "button23"; - this.button23.Size = new System.Drawing.Size(161, 23); - this.button23.TabIndex = 23; - this.button23.Text = "Right led status"; - this.button23.UseVisualStyleBackColor = true; - this.button23.Click += new System.EventHandler(this.button23_Click); + this.btn_RightLedStatus.Location = new System.Drawing.Point(276, 93); + this.btn_RightLedStatus.Name = "btn_RightLedStatus"; + this.btn_RightLedStatus.Size = new System.Drawing.Size(161, 23); + this.btn_RightLedStatus.TabIndex = 23; + this.btn_RightLedStatus.Text = "Right led status"; + this.btn_RightLedStatus.UseVisualStyleBackColor = true; + this.btn_RightLedStatus.Click += new System.EventHandler(this.btn_RightLedStatus_Click); // - // button24 + // btn_FlippersStatus // - this.button24.Location = new System.Drawing.Point(276, 122); - this.button24.Name = "button24"; - this.button24.Size = new System.Drawing.Size(161, 23); - this.button24.TabIndex = 24; - this.button24.Text = "Wing motors in action ?"; - this.button24.UseVisualStyleBackColor = true; - this.button24.Click += new System.EventHandler(this.button24_Click); + this.btn_FlippersStatus.Location = new System.Drawing.Point(276, 122); + this.btn_FlippersStatus.Name = "btn_FlippersStatus"; + this.btn_FlippersStatus.Size = new System.Drawing.Size(161, 23); + this.btn_FlippersStatus.TabIndex = 24; + this.btn_FlippersStatus.Text = "Wing motors in action ?"; + this.btn_FlippersStatus.UseVisualStyleBackColor = true; + this.btn_FlippersStatus.Click += new System.EventHandler(this.btn_FlippersStatus_Click); // - // button25 + // btn_MouthStatus // - this.button25.Location = new System.Drawing.Point(276, 151); - this.button25.Name = "button25"; - this.button25.Size = new System.Drawing.Size(161, 23); - this.button25.TabIndex = 25; - this.button25.Text = "Mouth motor in action ?"; - this.button25.UseVisualStyleBackColor = true; - this.button25.Click += new System.EventHandler(this.button25_Click); + this.btn_MouthStatus.Location = new System.Drawing.Point(276, 151); + this.btn_MouthStatus.Name = "btn_MouthStatus"; + this.btn_MouthStatus.Size = new System.Drawing.Size(161, 23); + this.btn_MouthStatus.TabIndex = 25; + this.btn_MouthStatus.Text = "Mouth motor in action ?"; + this.btn_MouthStatus.UseVisualStyleBackColor = true; + this.btn_MouthStatus.Click += new System.EventHandler(this.btn_MouthStatus_Click); // - // button26 + // btn_LeftSpinStatus // - this.button26.Location = new System.Drawing.Point(276, 180); - this.button26.Name = "button26"; - this.button26.Size = new System.Drawing.Size(161, 23); - this.button26.TabIndex = 26; - this.button26.Text = "Status \"spin\" left (motor)"; - this.button26.UseVisualStyleBackColor = true; - this.button26.Click += new System.EventHandler(this.button26_Click); + this.btn_LeftSpinStatus.Location = new System.Drawing.Point(276, 180); + this.btn_LeftSpinStatus.Name = "btn_LeftSpinStatus"; + this.btn_LeftSpinStatus.Size = new System.Drawing.Size(161, 23); + this.btn_LeftSpinStatus.TabIndex = 26; + this.btn_LeftSpinStatus.Text = "Status \"spin\" left (motor)"; + this.btn_LeftSpinStatus.UseVisualStyleBackColor = true; + this.btn_LeftSpinStatus.Click += new System.EventHandler(this.btn_LeftSpinStatus_Click); // - // button27 + // btn_RightSpinStatus // - this.button27.Location = new System.Drawing.Point(443, 180); - this.button27.Name = "button27"; - this.button27.Size = new System.Drawing.Size(161, 23); - this.button27.TabIndex = 27; - this.button27.Text = "Status \"spin\" right (motor)"; - this.button27.UseVisualStyleBackColor = true; - this.button27.Click += new System.EventHandler(this.button27_Click); + this.btn_RightSpinStatus.Location = new System.Drawing.Point(443, 180); + this.btn_RightSpinStatus.Name = "btn_RightSpinStatus"; + this.btn_RightSpinStatus.Size = new System.Drawing.Size(161, 23); + this.btn_RightSpinStatus.TabIndex = 27; + this.btn_RightSpinStatus.Text = "Status \"spin\" right (motor)"; + this.btn_RightSpinStatus.UseVisualStyleBackColor = true; + this.btn_RightSpinStatus.Click += new System.EventHandler(this.btn_RightSpinStatus_Click); // - // button28 + // btn_EyesPosition // - this.button28.Location = new System.Drawing.Point(443, 6); - this.button28.Name = "button28"; - this.button28.Size = new System.Drawing.Size(161, 23); - this.button28.TabIndex = 28; - this.button28.Text = "Eyes\'s position"; - this.button28.UseVisualStyleBackColor = true; - this.button28.Click += new System.EventHandler(this.button28_Click); + this.btn_EyesPosition.Location = new System.Drawing.Point(443, 6); + this.btn_EyesPosition.Name = "btn_EyesPosition"; + this.btn_EyesPosition.Size = new System.Drawing.Size(161, 23); + this.btn_EyesPosition.TabIndex = 28; + this.btn_EyesPosition.Text = "Eyes\'s position"; + this.btn_EyesPosition.UseVisualStyleBackColor = true; + this.btn_EyesPosition.Click += new System.EventHandler(this.btn_EyesPosition_Click); // - // button29 + // btn_FlippersPosition // - this.button29.Location = new System.Drawing.Point(443, 122); - this.button29.Name = "button29"; - this.button29.Size = new System.Drawing.Size(161, 23); - this.button29.TabIndex = 29; - this.button29.Text = "Wings\'s position"; - this.button29.UseVisualStyleBackColor = true; - this.button29.Click += new System.EventHandler(this.button29_Click); + this.btn_FlippersPosition.Location = new System.Drawing.Point(443, 122); + this.btn_FlippersPosition.Name = "btn_FlippersPosition"; + this.btn_FlippersPosition.Size = new System.Drawing.Size(161, 23); + this.btn_FlippersPosition.TabIndex = 29; + this.btn_FlippersPosition.Text = "Wings\'s position"; + this.btn_FlippersPosition.UseVisualStyleBackColor = true; + this.btn_FlippersPosition.Click += new System.EventHandler(this.btn_FlippersPosition_Click); // - // button30 + // btn_MouthPosition // - this.button30.Location = new System.Drawing.Point(443, 151); - this.button30.Name = "button30"; - this.button30.Size = new System.Drawing.Size(161, 23); - this.button30.TabIndex = 30; - this.button30.Text = "Position de la bouche"; - this.button30.UseVisualStyleBackColor = true; - this.button30.Click += new System.EventHandler(this.button30_Click); + this.btn_MouthPosition.Location = new System.Drawing.Point(443, 151); + this.btn_MouthPosition.Name = "btn_MouthPosition"; + this.btn_MouthPosition.Size = new System.Drawing.Size(161, 23); + this.btn_MouthPosition.TabIndex = 30; + this.btn_MouthPosition.Text = "Mouth\'s position"; + this.btn_MouthPosition.UseVisualStyleBackColor = true; + this.btn_MouthPosition.Click += new System.EventHandler(this.btn_MouthPosition_Click); // - // button31 + // btn_SpinPosition // - this.button31.Location = new System.Drawing.Point(610, 180); - this.button31.Name = "button31"; - this.button31.Size = new System.Drawing.Size(161, 23); - this.button31.TabIndex = 31; - this.button31.Text = "Spin position"; - this.button31.UseVisualStyleBackColor = true; - this.button31.Click += new System.EventHandler(this.button31_Click); + this.btn_SpinPosition.Location = new System.Drawing.Point(610, 180); + this.btn_SpinPosition.Name = "btn_SpinPosition"; + this.btn_SpinPosition.Size = new System.Drawing.Size(161, 23); + this.btn_SpinPosition.TabIndex = 31; + this.btn_SpinPosition.Text = "Spin position"; + this.btn_SpinPosition.UseVisualStyleBackColor = true; + this.btn_SpinPosition.Click += new System.EventHandler(this.btn_SpinPosition_Click); // - // button32 + // btn_BatteryStatus // - this.button32.Location = new System.Drawing.Point(443, 232); - this.button32.Name = "button32"; - this.button32.Size = new System.Drawing.Size(161, 23); - this.button32.TabIndex = 901; - this.button32.Text = "Battery status"; - this.button32.UseVisualStyleBackColor = true; - this.button32.Click += new System.EventHandler(this.button32_Click); + this.btn_BatteryStatus.Location = new System.Drawing.Point(443, 232); + this.btn_BatteryStatus.Name = "btn_BatteryStatus"; + this.btn_BatteryStatus.Size = new System.Drawing.Size(161, 23); + this.btn_BatteryStatus.TabIndex = 901; + this.btn_BatteryStatus.Text = "Battery status"; + this.btn_BatteryStatus.UseVisualStyleBackColor = true; + this.btn_BatteryStatus.Click += new System.EventHandler(this.btn_BatteryStatus_Click); // - // button33 + // btn_BatteryLevel // - this.button33.Location = new System.Drawing.Point(443, 261); - this.button33.Name = "button33"; - this.button33.Size = new System.Drawing.Size(161, 23); - this.button33.TabIndex = 902; - this.button33.Text = "Battery level"; - this.button33.UseVisualStyleBackColor = true; - this.button33.Click += new System.EventHandler(this.button33_Click); + this.btn_BatteryLevel.Location = new System.Drawing.Point(443, 261); + this.btn_BatteryLevel.Name = "btn_BatteryLevel"; + this.btn_BatteryLevel.Size = new System.Drawing.Size(161, 23); + this.btn_BatteryLevel.TabIndex = 902; + this.btn_BatteryLevel.Text = "Battery level"; + this.btn_BatteryLevel.UseVisualStyleBackColor = true; + this.btn_BatteryLevel.Click += new System.EventHandler(this.btn_BatteryLevel_Click); // - // button34 + // btn_ChargerState // - this.button34.Location = new System.Drawing.Point(610, 232); - this.button34.Name = "button34"; - this.button34.Size = new System.Drawing.Size(161, 23); - this.button34.TabIndex = 903; - this.button34.Text = "Charger state"; - this.button34.UseVisualStyleBackColor = true; - this.button34.Click += new System.EventHandler(this.button34_Click); + this.btn_ChargerState.Location = new System.Drawing.Point(610, 232); + this.btn_ChargerState.Name = "btn_ChargerState"; + this.btn_ChargerState.Size = new System.Drawing.Size(161, 23); + this.btn_ChargerState.TabIndex = 903; + this.btn_ChargerState.Text = "Charger state"; + this.btn_ChargerState.UseVisualStyleBackColor = true; + this.btn_ChargerState.Click += new System.EventHandler(this.btn_ChargerState_Click); // - // button35 + // btn_SearchLightGadget // - this.button35.Location = new System.Drawing.Point(3, 6); - this.button35.Name = "button35"; - this.button35.Size = new System.Drawing.Size(172, 23); - this.button35.TabIndex = 904; - this.button35.Text = "Search the light"; - this.button35.UseVisualStyleBackColor = true; - this.button35.Click += new System.EventHandler(this.button35_Click); + this.btn_SearchLightGadget.Location = new System.Drawing.Point(3, 6); + this.btn_SearchLightGadget.Name = "btn_SearchLightGadget"; + this.btn_SearchLightGadget.Size = new System.Drawing.Size(172, 23); + this.btn_SearchLightGadget.TabIndex = 904; + this.btn_SearchLightGadget.Text = "Search the light"; + this.btn_SearchLightGadget.UseVisualStyleBackColor = true; + this.btn_SearchLightGadget.Click += new System.EventHandler(this.btn_SearchLightGadget_Click); // // tabControl1 // @@ -440,43 +440,43 @@ // // tabPage1 // - this.tabPage1.Controls.Add(this.button41); - this.tabPage1.Controls.Add(this.button40); - this.tabPage1.Controls.Add(this.button39); - this.tabPage1.Controls.Add(this.button2); - this.tabPage1.Controls.Add(this.button1); - this.tabPage1.Controls.Add(this.button34); - this.tabPage1.Controls.Add(this.button3); - this.tabPage1.Controls.Add(this.button33); - this.tabPage1.Controls.Add(this.button4); - this.tabPage1.Controls.Add(this.button32); - this.tabPage1.Controls.Add(this.button5); - this.tabPage1.Controls.Add(this.button31); - this.tabPage1.Controls.Add(this.button6); - this.tabPage1.Controls.Add(this.button30); - this.tabPage1.Controls.Add(this.button7); - this.tabPage1.Controls.Add(this.button29); - this.tabPage1.Controls.Add(this.button8); - this.tabPage1.Controls.Add(this.button28); - this.tabPage1.Controls.Add(this.button9); - this.tabPage1.Controls.Add(this.button27); - this.tabPage1.Controls.Add(this.button11); - this.tabPage1.Controls.Add(this.button26); - this.tabPage1.Controls.Add(this.button10); - this.tabPage1.Controls.Add(this.button25); - this.tabPage1.Controls.Add(this.button12); - this.tabPage1.Controls.Add(this.button24); - this.tabPage1.Controls.Add(this.button13); - this.tabPage1.Controls.Add(this.button23); - this.tabPage1.Controls.Add(this.button15); - this.tabPage1.Controls.Add(this.button22); - this.tabPage1.Controls.Add(this.button14); - this.tabPage1.Controls.Add(this.button21); - this.tabPage1.Controls.Add(this.button17); - this.tabPage1.Controls.Add(this.button16); - this.tabPage1.Controls.Add(this.button18); - this.tabPage1.Controls.Add(this.button19); - this.tabPage1.Controls.Add(this.button20); + this.tabPage1.Controls.Add(this.btn_BlinkRightLed); + this.tabPage1.Controls.Add(this.btn_BlinkLeftLed); + this.tabPage1.Controls.Add(this.btn_BlinkEyes); + this.tabPage1.Controls.Add(this.btn_OpenEyes); + this.tabPage1.Controls.Add(this.btn_CloseEyes); + this.tabPage1.Controls.Add(this.btn_ChargerState); + this.tabPage1.Controls.Add(this.btn_FlippersUp); + this.tabPage1.Controls.Add(this.btn_BatteryLevel); + this.tabPage1.Controls.Add(this.btn_FlippersDown); + this.tabPage1.Controls.Add(this.btn_BatteryStatus); + this.tabPage1.Controls.Add(this.btn_SayHello); + this.tabPage1.Controls.Add(this.btn_SpinPosition); + this.tabPage1.Controls.Add(this.btn_OpenMouth); + this.tabPage1.Controls.Add(this.btn_MouthPosition); + this.tabPage1.Controls.Add(this.btn_CloseMouth); + this.tabPage1.Controls.Add(this.btn_FlippersPosition); + this.tabPage1.Controls.Add(this.btn_LeftRotate); + this.tabPage1.Controls.Add(this.btn_EyesPosition); + this.tabPage1.Controls.Add(this.btn_RightRotation); + this.tabPage1.Controls.Add(this.btn_RightSpinStatus); + this.tabPage1.Controls.Add(this.btn_EyesLedsOn); + this.tabPage1.Controls.Add(this.btn_LeftSpinStatus); + this.tabPage1.Controls.Add(this.btn_EyesLedsOff); + this.tabPage1.Controls.Add(this.btn_MouthStatus); + this.tabPage1.Controls.Add(this.btn_LeftEyeLedOn); + this.tabPage1.Controls.Add(this.btn_FlippersStatus); + this.tabPage1.Controls.Add(this.btn_RightEyeLedOn); + this.tabPage1.Controls.Add(this.btn_RightLedStatus); + this.tabPage1.Controls.Add(this.btn_LeftEyeLedOff); + this.tabPage1.Controls.Add(this.btn_LeftLedStatus); + this.tabPage1.Controls.Add(this.btn_RightEyeLedOff); + this.tabPage1.Controls.Add(this.btn_LightLevel); + this.tabPage1.Controls.Add(this.btn_PlayAttituneTest); + this.tabPage1.Controls.Add(this.btn_EyesMotorStatus); + this.tabPage1.Controls.Add(this.btn_StopAttitune); + this.tabPage1.Controls.Add(this.btn_StopSound); + this.tabPage1.Controls.Add(this.btn_PlaySoundTest); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); @@ -485,42 +485,42 @@ this.tabPage1.Text = "Control Tux Droid"; this.tabPage1.UseVisualStyleBackColor = true; // - // button41 + // btn_BlinkRightLed // - this.button41.Location = new System.Drawing.Point(443, 93); - this.button41.Name = "button41"; - this.button41.Size = new System.Drawing.Size(161, 23); - this.button41.TabIndex = 906; - this.button41.Text = "Blink right led"; - this.button41.UseVisualStyleBackColor = true; - this.button41.Click += new System.EventHandler(this.button41_Click); + this.btn_BlinkRightLed.Location = new System.Drawing.Point(443, 93); + this.btn_BlinkRightLed.Name = "btn_BlinkRightLed"; + this.btn_BlinkRightLed.Size = new System.Drawing.Size(161, 23); + this.btn_BlinkRightLed.TabIndex = 906; + this.btn_BlinkRightLed.Text = "Blink right led"; + this.btn_BlinkRightLed.UseVisualStyleBackColor = true; + this.btn_BlinkRightLed.Click += new System.EventHandler(this.btn_BlinkRightLed_Click); // - // button40 + // btn_BlinkLeftLed // - this.button40.Location = new System.Drawing.Point(443, 64); - this.button40.Name = "button40"; - this.button40.Size = new System.Drawing.Size(161, 23); - this.button40.TabIndex = 905; - this.button40.Text = "Blink left led"; - this.button40.UseVisualStyleBackColor = true; - this.button40.Click += new System.EventHandler(this.button40_Click); + this.btn_BlinkLeftLed.Location = new System.Drawing.Point(443, 64); + this.btn_BlinkLeftLed.Name = "btn_BlinkLeftLed"; + this.btn_BlinkLeftLed.Size = new System.Drawing.Size(161, 23); + this.btn_BlinkLeftLed.TabIndex = 905; + this.btn_BlinkLeftLed.Text = "Blink left led"; + this.btn_BlinkLeftLed.UseVisualStyleBackColor = true; + this.btn_BlinkLeftLed.Click += new System.EventHandler(this.btn_BlinkLeftLed_Click); // - // button39 + // btn_BlinkEyes // - this.button39.Location = new System.Drawing.Point(276, 35); - this.button39.Name = "button39"; - this.button39.Size = new System.Drawing.Size(161, 23); - this.button39.TabIndex = 904; - this.button39.Text = "Blink the eyes"; - this.button39.UseVisualStyleBackColor = true; - this.button39.Click += new System.EventHandler(this.button39_Click); + this.btn_BlinkEyes.Location = new System.Drawing.Point(276, 35); + this.btn_BlinkEyes.Name = "btn_BlinkEyes"; + this.btn_BlinkEyes.Size = new System.Drawing.Size(161, 23); + this.btn_BlinkEyes.TabIndex = 904; + this.btn_BlinkEyes.Text = "Blink the eyes"; + this.btn_BlinkEyes.UseVisualStyleBackColor = true; + this.btn_BlinkEyes.Click += new System.EventHandler(this.btn_BlinkEyes_Click); // // tabPage2 // - this.tabPage2.Controls.Add(this.button38); - this.tabPage2.Controls.Add(this.button37); - this.tabPage2.Controls.Add(this.button36); - this.tabPage2.Controls.Add(this.button35); + this.tabPage2.Controls.Add(this.btn_WheaterGadget); + this.tabPage2.Controls.Add(this.btn_WhatDayGadget); + this.tabPage2.Controls.Add(this.btn_WhatTimeGadget); + this.tabPage2.Controls.Add(this.btn_SearchLightGadget); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); @@ -529,35 +529,35 @@ this.tabPage2.Text = "Gadget like"; this.tabPage2.UseVisualStyleBackColor = true; // - // button38 + // btn_WheaterGadget // - this.button38.Location = new System.Drawing.Point(352, 52); - this.button38.Name = "button38"; - this.button38.Size = new System.Drawing.Size(172, 23); - this.button38.TabIndex = 907; - this.button38.Text = "Meteo"; - this.button38.UseVisualStyleBackColor = true; - this.button38.Click += new System.EventHandler(this.button38_Click); + this.btn_WheaterGadget.Location = new System.Drawing.Point(352, 52); + this.btn_WheaterGadget.Name = "btn_WheaterGadget"; + this.btn_WheaterGadget.Size = new System.Drawing.Size(172, 23); + this.btn_WheaterGadget.TabIndex = 907; + this.btn_WheaterGadget.Text = "Weather"; + this.btn_WheaterGadget.UseVisualStyleBackColor = true; + this.btn_WheaterGadget.Click += new System.EventHandler(this.btn_WeatherGadget_Click); // - // button37 + // btn_WhatDayGadget // - this.button37.Location = new System.Drawing.Point(3, 52); - this.button37.Name = "button37"; - this.button37.Size = new System.Drawing.Size(172, 23); - this.button37.TabIndex = 906; - this.button37.Text = "What day are we ?"; - this.button37.UseVisualStyleBackColor = true; - this.button37.Click += new System.EventHandler(this.button37_Click); + this.btn_WhatDayGadget.Location = new System.Drawing.Point(3, 52); + this.btn_WhatDayGadget.Name = "btn_WhatDayGadget"; + this.btn_WhatDayGadget.Size = new System.Drawing.Size(172, 23); + this.btn_WhatDayGadget.TabIndex = 906; + this.btn_WhatDayGadget.Text = "What day are we ?"; + this.btn_WhatDayGadget.UseVisualStyleBackColor = true; + this.btn_WhatDayGadget.Click += new System.EventHandler(this.btn_WhatDayGadget_Click); // - // button36 + // btn_WhatTimeGadget // - this.button36.Location = new System.Drawing.Point(181, 52); - this.button36.Name = "button36"; - this.button36.Size = new System.Drawing.Size(165, 23); - this.button36.TabIndex = 905; - this.button36.Text = "What time is it ?"; - this.button36.UseVisualStyleBackColor = true; - this.button36.Click += new System.EventHandler(this.button36_Click); + this.btn_WhatTimeGadget.Location = new System.Drawing.Point(181, 52); + this.btn_WhatTimeGadget.Name = "btn_WhatTimeGadget"; + this.btn_WhatTimeGadget.Size = new System.Drawing.Size(165, 23); + this.btn_WhatTimeGadget.TabIndex = 905; + this.btn_WhatTimeGadget.Text = "What time is it ?"; + this.btn_WhatTimeGadget.UseVisualStyleBackColor = true; + this.btn_WhatTimeGadget.Click += new System.EventHandler(this.btn_WhatTimeGadget_Click); // // Form1 // @@ -578,50 +578,50 @@ #endregion - private System.Windows.Forms.Button button1; - private System.Windows.Forms.Button button2; - private System.Windows.Forms.Button button3; - private System.Windows.Forms.Button button4; - private System.Windows.Forms.Button button5; - private System.Windows.Forms.Button button6; - private System.Windows.Forms.Button button7; - private System.Windows.Forms.Button button8; - private System.Windows.Forms.Button button9; - private System.Windows.Forms.Button button10; - private System.Windows.Forms.Button button11; - private System.Windows.Forms.Button button12; - private System.Windows.Forms.Button button13; - private System.Windows.Forms.Button button14; - private System.Windows.Forms.Button button15; - private System.Windows.Forms.Button button17; - private System.Windows.Forms.Button button18; - private System.Windows.Forms.Button button19; - private System.Windows.Forms.Button button20; - private System.Windows.Forms.Button button16; - private System.Windows.Forms.Button button21; - private System.Windows.Forms.Button button22; - private System.Windows.Forms.Button button23; - private System.Windows.Forms.Button button24; - private System.Windows.Forms.Button button25; - private System.Windows.Forms.Button button26; - private System.Windows.Forms.Button button27; - private System.Windows.Forms.Button button28; - private System.Windows.Forms.Button button29; - private System.Windows.Forms.Button button30; - private System.Windows.Forms.Button button31; - private System.Windows.Forms.Button button32; - private System.Windows.Forms.Button button33; - private System.Windows.Forms.Button button34; - private System.Windows.Forms.Button button35; + private System.Windows.Forms.Button btn_CloseEyes; + private System.Windows.Forms.Button btn_OpenEyes; + private System.Windows.Forms.Button btn_FlippersUp; + private System.Windows.Forms.Button btn_FlippersDown; + private System.Windows.Forms.Button btn_SayHello; + private System.Windows.Forms.Button btn_OpenMouth; + private System.Windows.Forms.Button btn_CloseMouth; + private System.Windows.Forms.Button btn_LeftRotate; + private System.Windows.Forms.Button btn_RightRotation; + private System.Windows.Forms.Button btn_EyesLedsOff; + private System.Windows.Forms.Button btn_EyesLedsOn; + private System.Windows.Forms.Button btn_LeftEyeLedOn; + private System.Windows.Forms.Button btn_RightEyeLedOn; + private System.Windows.Forms.Button btn_RightEyeLedOff; + private System.Windows.Forms.Button btn_LeftEyeLedOff; + private System.Windows.Forms.Button btn_PlayAttituneTest; + private System.Windows.Forms.Button btn_StopAttitune; + private System.Windows.Forms.Button btn_StopSound; + private System.Windows.Forms.Button btn_PlaySoundTest; + private System.Windows.Forms.Button btn_EyesMotorStatus; + private System.Windows.Forms.Button btn_LightLevel; + private System.Windows.Forms.Button btn_LeftLedStatus; + private System.Windows.Forms.Button btn_RightLedStatus; + private System.Windows.Forms.Button btn_FlippersStatus; + private System.Windows.Forms.Button btn_MouthStatus; + private System.Windows.Forms.Button btn_LeftSpinStatus; + private System.Windows.Forms.Button btn_RightSpinStatus; + private System.Windows.Forms.Button btn_EyesPosition; + private System.Windows.Forms.Button btn_FlippersPosition; + private System.Windows.Forms.Button btn_MouthPosition; + private System.Windows.Forms.Button btn_SpinPosition; + private System.Windows.Forms.Button btn_BatteryStatus; + private System.Windows.Forms.Button btn_BatteryLevel; + private System.Windows.Forms.Button btn_ChargerState; + private System.Windows.Forms.Button btn_SearchLightGadget; private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.TabPage tabPage2; - private System.Windows.Forms.Button button36; - private System.Windows.Forms.Button button37; - private System.Windows.Forms.Button button38; - private System.Windows.Forms.Button button41; - private System.Windows.Forms.Button button40; - private System.Windows.Forms.Button button39; + private System.Windows.Forms.Button btn_WhatTimeGadget; + private System.Windows.Forms.Button btn_WhatDayGadget; + private System.Windows.Forms.Button btn_WheaterGadget; + private System.Windows.Forms.Button btn_BlinkRightLed; + private System.Windows.Forms.Button btn_BlinkLeftLed; + private System.Windows.Forms.Button btn_BlinkEyes; } } Modified: software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.cs =================================================================== --- software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.cs 2010-01-08 11:04:20 UTC (rev 6040) +++ software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.cs 2010-01-10 21:07:17 UTC (rev 6041) @@ -6,7 +6,6 @@ using System.Threading; //sleep using System.IO; // using System.Xml; -using System.Xml.Linq; using System.Net; namespace TuxAPIDemo @@ -71,193 +70,196 @@ } - private void button1_Click(object sender, EventArgs e) + private void btn_CloseEyes_Click(object sender, EventArgs e) { TuxAPI.Eyes_Close(); } - private void button2_Click(object sender, EventArgs e) + private void btn_OpenEyes_Click(object sender, EventArgs e) { TuxAPI.Eyes_Open(); } - private void button3_Click(object sender, EventArgs e) + private void btn_FlippersUp_Click(object sender, EventArgs e) { TuxAPI.Flippers_Up(); } - private void button4_Click(object sender, EventArgs e) + pri... [truncated message content] |