[tuxdroid-svn] r4714 - in software_suite_v3/smart-core/smart-api/csharp/trunk: . ControlTuxDroid C
Status: Beta
Brought to you by:
ks156
|
From: JDM <c2m...@c2...> - 2009-05-30 14:39:50
|
Author: JDM
Date: 2009-05-30 16:39:36 +0200 (Sat, 30 May 2009)
New Revision: 4714
Added:
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo.sln
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo.suo
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/
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/Form1.resx
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Program.cs
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/AssemblyInfo.cs
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/Resources.Designer.cs
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/Resources.resx
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/Settings.Designer.cs
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/Settings.settings
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/TuxAPI.cs
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/TuxAPIDemo.csproj
software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/tux.ico
Removed:
software_suite_v3/smart-core/smart-api/csharp/trunk/Control Tux Droid/
Log:
* Renamed "Control Tux Droid" to "ControlTuxDroid"
Added: 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 (rev 0)
+++ software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.Designer.cs 2009-05-30 14:39:36 UTC (rev 4714)
@@ -0,0 +1,627 @@
+namespace TuxAPIDemo
+{
+ partial class Form1
+ {
+ /// <summary>
+ /// Variable nécessaire au concepteur.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Nettoyage des ressources utilisées.
+ /// </summary>
+ /// <param name="disposing">true si les ressources managées doivent être supprimées ; sinon, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Code généré par le Concepteur Windows Form
+
+ /// <summary>
+ /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
+ /// le contenu de cette méthode avec l'éditeur de code.
+ /// </summary>
+ 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.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.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.tabControl1.SuspendLayout();
+ this.tabPage1.SuspendLayout();
+ this.tabPage2.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // button1
+ //
+ 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);
+ //
+ // button2
+ //
+ 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);
+ //
+ // button3
+ //
+ 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);
+ //
+ // button4
+ //
+ 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);
+ //
+ // button5
+ //
+ 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);
+ //
+ // button6
+ //
+ 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);
+ //
+ // button7
+ //
+ 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);
+ //
+ // button8
+ //
+ 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);
+ //
+ // button9
+ //
+ 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);
+ //
+ // button10
+ //
+ 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);
+ //
+ // button11
+ //
+ 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);
+ //
+ // button12
+ //
+ 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);
+ //
+ // button13
+ //
+ 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);
+ //
+ // button14
+ //
+ 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);
+ //
+ // button15
+ //
+ 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);
+ //
+ // button17
+ //
+ 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);
+ //
+ // button18
+ //
+ 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);
+ //
+ // button19
+ //
+ 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);
+ //
+ // button20
+ //
+ 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);
+ //
+ // button16
+ //
+ 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);
+ //
+ // button21
+ //
+ 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);
+ //
+ // button22
+ //
+ 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);
+ //
+ // button23
+ //
+ 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);
+ //
+ // button24
+ //
+ 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);
+ //
+ // button25
+ //
+ 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);
+ //
+ // button26
+ //
+ 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);
+ //
+ // button27
+ //
+ 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);
+ //
+ // button28
+ //
+ 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);
+ //
+ // button29
+ //
+ 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);
+ //
+ // button30
+ //
+ 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);
+ //
+ // button31
+ //
+ 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);
+ //
+ // button32
+ //
+ 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);
+ //
+ // button33
+ //
+ 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);
+ //
+ // button34
+ //
+ 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);
+ //
+ // button35
+ //
+ 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);
+ //
+ // tabControl1
+ //
+ this.tabControl1.Controls.Add(this.tabPage1);
+ this.tabControl1.Controls.Add(this.tabPage2);
+ this.tabControl1.Location = new System.Drawing.Point(12, 12);
+ this.tabControl1.Name = "tabControl1";
+ this.tabControl1.SelectedIndex = 0;
+ this.tabControl1.Size = new System.Drawing.Size(784, 325);
+ this.tabControl1.TabIndex = 905;
+ //
+ // 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.Location = new System.Drawing.Point(4, 22);
+ this.tabPage1.Name = "tabPage1";
+ this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPage1.Size = new System.Drawing.Size(776, 299);
+ this.tabPage1.TabIndex = 0;
+ this.tabPage1.Text = "Control Tux Droid";
+ this.tabPage1.UseVisualStyleBackColor = true;
+ //
+ // button41
+ //
+ 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);
+ //
+ // button40
+ //
+ 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);
+ //
+ // button39
+ //
+ 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);
+ //
+ // 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.Location = new System.Drawing.Point(4, 22);
+ this.tabPage2.Name = "tabPage2";
+ this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPage2.Size = new System.Drawing.Size(776, 299);
+ this.tabPage2.TabIndex = 1;
+ this.tabPage2.Text = "Gadget like";
+ this.tabPage2.UseVisualStyleBackColor = true;
+ //
+ // button38
+ //
+ 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);
+ //
+ // button37
+ //
+ 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);
+ //
+ // button36
+ //
+ 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);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(803, 350);
+ this.Controls.Add(this.tabControl1);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "Form1";
+ this.Text = "TuxAPIDemo -- Control Tux Droid C# --";
+ this.Load += new System.EventHandler(this.Form1_Load);
+ this.tabControl1.ResumeLayout(false);
+ this.tabPage1.ResumeLayout(false);
+ this.tabPage2.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #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.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;
+ }
+}
+
Added: 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 (rev 0)
+++ software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.cs 2009-05-30 14:39:36 UTC (rev 4714)
@@ -0,0 +1,375 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Windows.Forms;
+using System.Threading; //sleep
+using System.IO; //
+
+namespace TuxAPIDemo
+{
+ using TuxAPI;
+
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+
+ private void Form1_Load(object sender, EventArgs e)
+ {
+ TuxAPI.TuxAPI_Host = "127.0.0.1";
+ TuxAPI.TuxAPI_Port = "270";
+
+ TuxButtonEventMgr buttonEventMgr = new TuxButtonEventMgr();
+ buttonEventMgr.OnHeadButtonPressed += new TuxButtonEventMgr.HeadButtonPressedEventHandler(buttonEvent_OnHeadButtonPressed);
+ buttonEventMgr.OnLeftButtonPressed += new TuxButtonEventMgr.LeftButtonPressedEventHandler(buttonEvent_OnLeftButtonPressed);
+ buttonEventMgr.OnRightButtonPressed += new TuxButtonEventMgr.RightButtonPressedEventHandler(buttonEvent_OnRightButtonPressed);
+ buttonEventMgr.Start(); //start the manager
+
+
+ //OK NEW TEST:
+ TuxDateTimeEventMgr TimeEventMgr = new TuxDateTimeEventMgr();
+ TimeEventMgr.OnHourChange += new TuxDateTimeEventMgr.HourChangeEventHandler(TimeEventMgr_OnHourChange);
+ TimeEventMgr.Start();
+ }
+
+ void TimeEventMgr_OnHourChange(object sender, TuxDateTimeEventArgs e)
+ {
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 100, "Il est " + DateTime.Now.Hour.ToString() + " heure et " + DateTime.Now.Minute.ToString() + " minutes");
+ }
+
+ void buttonEvent_OnHeadButtonPressed(object sender, TuxButtonEventArgs e)
+ {
+ if (e.buttonPressed)
+ {
+ //MessageBox.Show("MA TETE !");
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 180, "Aille !");
+ }
+ }
+
+ void buttonEvent_OnLeftButtonPressed(object sender, TuxButtonEventArgs e)
+ {
+ if (e.buttonPressed)
+ {
+ //MessageBox.Show("Mon aille gauche !");
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 180, "Lache mon aile gauche !");
+ }
+ }
+
+ void buttonEvent_OnRightButtonPressed(object sender, TuxButtonEventArgs e)
+ {
+ if (e.buttonPressed)
+ {
+ //MessageBox.Show("Mon aile droite !");
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 180, "Lache mon aile droite !");
+ }
+ }
+
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Eyes_Close();
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Eyes_Open();
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Flippers_Up();
+ }
+
+ private void button4_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Flippers_Down();
+ }
+
+ private void button5_Click(object sender, EventArgs e)
+ {
+ //TuxAPI.Speak("Bonjour");
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 100, "Bonjour"); //un petit test (qui fonctionne ^^)
+ }
+
+ private void button6_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Mouth_Open();
+ }
+
+ private void button7_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Mouth_Close();
+ }
+
+ private void button8_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Rotation_Left(5);
+ }
+
+ private void button9_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Rotation_Right(5);
+ }
+
+ private void button11_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_On();
+ }
+
+ private void button10_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_Off();
+ }
+
+ private void button12_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_On(TuxAPI.TuxAPI_LEDS.LED_LEFT);
+ }
+
+ private void button13_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_On(TuxAPI.TuxAPI_LEDS.LED_RIGHT);
+ }
+
+ private void button15_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_Off(TuxAPI.TuxAPI_LEDS.LED_LEFT);
+ }
+
+ private void button14_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_Off(TuxAPI.TuxAPI_LEDS.LED_RIGHT);
+ }
+
+ private void button39_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_Blink(TuxAPI.TuxAPI_LEDS.LED_BOTH, 10, 0.1);
+ }
+
+ private void button40_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_Blink(TuxAPI.TuxAPI_LEDS.LED_LEFT, 10, 0.1);
+ }
+
+ private void button41_Click(object sender, EventArgs e)
+ {
+ TuxAPI.Leds_Blink(TuxAPI.TuxAPI_LEDS.LED_RIGHT, 10, 0.1);
+ }
+
+ private void button17_Click(object sender, EventArgs e)
+ {
+ TuxAPI.PlayAttitune(Application.StartupPath + "\\attitune.att");
+ }
+
+ private void button18_Click(object sender, EventArgs e)
+ {
+ TuxAPI.StopAttitune();
+ }
+
+ private void button20_Click(object sender, EventArgs e)
+ {
+ TuxAPI.PlayWav(Application.StartupPath + "\\wav.wav");
+ }
+
+ private void button19_Click(object sender, EventArgs e)
+ {
+ TuxAPI.StopWav();
+ }
+
+ private void button16_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.eyes_motor_on));
+ }
+
+ private void button28_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.eyes_position));
+ }
+
+ private void button21_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.light_level));
+ }
+
+ private void button22_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.left_led_state));
+ }
+
+ private void button23_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.right_led_state));
+ }
+
+ private void button24_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.flippers_motor_on));
+ }
+
+ private void button29_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.flippers_position));
+ }
+
+ private void button25_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.mouth_motor_on));
+ }
+
+ private void button30_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.mouth_position));
+ }
+
+ private void button26_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.spin_left_motor_on));
+ }
+
+ private void button27_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.spin_right_motor_on));
+ }
+
+ private void button31_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.spinning_direction));
+ }
+
+ private void button32_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.battery_state));
+ }
+
+ private void button34_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.charger_state));
+ }
+
+ private void button33_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.battery_level));
+ }
+
+ private void button35_Click(object sender, EventArgs e)
+ {
+ //save the 4 position of light
+ double[] li_values = new double[4];
+
+ //Tux say to his master what he doing
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 100, "Je recherche le coin le plus lumineux");
+
+ Thread.Sleep(1000);
+ li_values[0] = double.Parse(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.light_level).Replace(".", ","));
+ TuxAPI.Rotation_Left(1);
+
+ Thread.Sleep(0100);
+ li_values[1] = double.Parse(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.light_level).Replace(".", ","));
+ TuxAPI.Rotation_Left(1);
+
+ Thread.Sleep(1000);
+ li_values[2] = double.Parse(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.light_level).Replace(".", ","));
+ TuxAPI.Rotation_Left(1);
+
+ Thread.Sleep(1000);
+ li_values[3] = double.Parse(TuxAPI.getStatus(TuxAPI.TuxAPI_STATUS_REQUESTED.light_level).Replace(".", ","));
+ TuxAPI.Rotation_Left(1);
+
+ Thread.Sleep(1000);
+
+ double lum_max = li_values[0];
+ int good_pos = 0;
+
+ int i;
+ for (i = 0; i < 4; i++)
+ {
+ if (li_values[i] > lum_max)
+ {
+ lum_max = li_values[i];
+ good_pos = i;
+ }
+ }
+
+ Thread.Sleep(1000);
+
+ i = 0;
+ while (i < good_pos)
+ {
+ TuxAPI.Rotation_Left(1);
+ Thread.Sleep(1000);
+ i++;
+ }
+
+ if (good_pos == 0) //small fix
+ TuxAPI.Rotation_Left(1);
+
+ //saying to his master this is the most high level of luminosity
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 100, "Je pense que ce coin est le plus lumineux");
+ }
+
+ private void button36_Click(object sender, EventArgs e)
+ {
+ if (int.Parse(DateTime.Now.Minute.ToString()) > 0)
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 120, "Il est " + DateTime.Now.Hour.ToString() + " heure et " + DateTime.Now.Minute.ToString() + " minutes");
+ else
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 120, "Il est " + DateTime.Now.Hour.ToString() + " heure");
+ }
+
+ private void button37_Click(object sender, EventArgs e)
+ {
+ string mois = string.Empty;
+
+ switch (int.Parse(DateTime.Now.Month.ToString()))
+ {
+ case 1: mois = "janvier";
+ break;
+ case 2: mois = "février";
+ break;
+ case 3: mois = "mars";
+ break;
+ case 4: mois = "avril";
+ break;
+ case 5: mois = "mai";
+ break;
+ case 6: mois = "juin";
+ break;
+ case 7: mois = "juillet";
+ break;
+ case 8: mois = "août";
+ break;
+ case 9: mois = "septembre";
+ break;
+ case 10: mois = "octobre";
+ break;
+ case 11: mois = "novembre";
+ break;
+ case 12: mois = "décembre";
+ break;
+ }
+
+ TuxAPI.Speak(TuxAPI.TuxAPI_SPEAK_LOCUTOR.Bruno, 120, "Nous somme le " + DateTime.Now.Day.ToString() + " " + mois);
+ }
+
+ private void button38_Click(object sender, EventArgs e)
+ {
+ //http://www.google.com/ig/api?hl=fr&weather=paris
+
+ /*
+ * <current_conditions>
+<condition data="Nuageux"/>
+<temp_f data="59"/>
+<temp_c data="15"/>
+<humidity data="Humidité : 63 %"/>
+<icon data="/ig/images/weather/cloudy.gif"/>
+<wind_condition data="Vent : SO à 11 km/h"/>
+</current_conditions>*/
+
+ //TODO
+
+
+ }
+ }
+}
Added: software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.resx
===================================================================
--- software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.resx (rev 0)
+++ software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Form1.resx 2009-05-30 14:39:36 UTC (rev 4714)
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>
+ AAABAAEAHSAAAAEAGACoCwAAFgAAACgAAAAdAAAAQAAAAAEAGAAAAAAAAAAAAEgAAABIAAAAAAAAAAAA
+ AAD////////////+/v7+/v7+/v7+/v77/P37/P37/Pz+/v7////+/v7////+/v7////+/v77/Pz7/f77
+ /P3+/v7////+/v7///////////////////////8A/v7+/v7+/v7+/P3++/z9/P3+////////////////
+ ////+/r6+/v7+/v7+/v7+/v7/f39/////////////v///v7+/////v7+////////////////////AP//
+ //////////////////////Pw8K6/y2CBm4CWpfr5+f///////////////////////4mislSAn4+sv//8
+ +v////v9/v7+/v7+/v7+/v///////////wD+/v7+/v78+/vT4OqUvtVVmL0hgrEAgbsAiscAW5M6VWeM
+ iomdnZ6ioaGpqamdmppga3MAWZAAkM4AgL1eo8b39ff////9/v/+/v7////+/v7///////8A/P7+/v7+
+ Wq/WAZXSAJ7bAKjmBbfzDsL7EcX8CajmACA8CgUEFRUVAQAAAAAAAAAAAAsYC5XPEML6EMH6AKjmNazc
+ udzt//79/////v7+////////////CPv9/v///mi73wCy8BTE+w/A9w2+9Qy78wq99ROy5K29xvX09Pf6
+ +ujp6aipqS0rKwADCgqXzgzA+Au78g/A9wO79QKw60+96Oj0+v3+/v3+/v///////wD7/f7+/v+v1+sA
+ qOYPv/YLu/MMvPQNu/MHxfwob4TRyMX////6/Pz////////x8O9QU1cCiL0OwvwLuvELuvIQvfQHvvcA
+ tO/I6/f+/v/8/v7///////8A+v3+////lM7nAK/sEsP5DL30C7nxDcf+EJm/AAAAcHBw/v7+9vj4+vv7
+ 9fj4////1NbZFJnMB7LwCabjDLj0Cb73ILzv0e74/////f7+////////////APv9/v7+/pnQ6ACh4AKu
+ 6Qm48A289AvC9wAVH2FdXPT29vv8/Pr8/Pv8/Pr8/P39/dTY2h2x5wN2pwYwRwpWeACx7pnf9v////r9
+ /v////7+/////////wD+/v7+/v75+/3I4/Ci0OYXt/IL0P8HWnaNgn7////6+/v09fX8/v77/Pz6/Pz9
+ /v3y9PYiyvwASF0EAAAEAAAUc4zQ+v/8/fz8/v7+/v7+//////////8A////////////////////Q4CY
+ AEpmj4mH////+Pn59vj48vPz/P7++vz8+/z9+/z8+fr61fb+P1BVBAQFDQ4PMSwr9fLx/v7+/v7+////
+ ////////////AP7+/v7+//7+/vv8/fz9/jQqJwYAALKzs/z8/Pj6+vf5+fHy8vz+/vr8/Pv8/Pv8/Pf5
+ +f///2NfXgEBAQkHBwUEBN3e3v7///39/f///////////////wD////////////7+/v///+en6AAAACO
+ jo7+/v73+fn4+vrx8vL8/v76/Pz7/f37/Pz3+fn8/f5aWloAAAAJBwcNDAzn5+f////9/f3/////////
+ //////8A/////////////v7+/f39/v7+LCsrQD8/////+fv7+fv78/X1+/39+/z8+/z8+vz8+Pr6////
+ RUREAQAABQQEKikp/Pz8/v7+/v7+////////////////AP////////////////v7+/7+/pKSkgEAAcvM
+ zP////j6+vr7+/v9/fv8/Pv9/fv9/f///+vs7CwsLBkYGAAAAHFwcP////v7+///////////////////
+ /wD////////////+/v78/Pz+/v7Y2NgAAABKSkry8/P6+/v5+/v6/Pz7/f36/Pzz9PTy8/OMi4sIBwcT
+ EhIAAADPz8/////8/Pz+/v7///////////////8A/////////////////v7+/Pz8/f39SkhIAAAAvb2+
+ /Pz88PHx8/T0+/z87e3t2tvbvLy9GRgYCQgIAAAAVVNT/////Pz8/v7+////////////////////AP//
+ //////////////////39/f39/ejo6BQTE5iYmP////P29vf6+/3///f5+f///6CgoAAAAAAAADMyMvHw
+ 8Pz8/P39/f///////////////////////wD////////////////+/v7////8/Pz///++vr4oJyjp6urY
+ 09HJxcPx7Oj8/v7///9LSkoAAAANDAza2tr////8/Pz////+/v7///////////////////8A////////
+ /////////////v7+////+vr6////bGtreXJwcaO7K36tZJWy6OXkubWzDw8PCwsLeXh5////+vr6////
+ /v7+////////////////////////AP////////////////////////7+/vv7+/39/bGsqxFJZQqu3Qmz
+ 2gCQxTah0C1EUCclJDAwMOrp6f39/f39/f7+/v///////////////////////////wD/////////////
+ ///////////+/v77+/v+/v6dmZcEY5INy/8i2PUh4v4Jz/0FSWMAAABbXF3////7+/v////+/v7/////
+ //////////////////////8A////////////////////////////+/v7////npuaQERHD3acFbDXGoWe
+ Pmx2YGNjAAAAhIOD/v7++vr6/v7+////////////////////////////////AP//////////////////
+ //////////v7+////5STlF1aWIF8eiswM4mBgGhdWnl3dwAAAIyLi/7+/vr6+v7+/v//////////////
+ /////////////////wD////////////////////////////6+vr///9zcnJcXV1qa2wAAAB0dnaws7Mk
+ IyQAAACYl5f+/v77+vr///////////////////////////////////8A////////////////////////
+ ////+vr6/v7+hIODAAAABAICAwECAAAAAQAABQMDAAAAvLu7////+/v7////////////////////////
+ ////////////AP////////////////////////////z8/P///76+vgAAAAkHBwgGBgYFBSwsLA8ODiMh
+ Ifb29v39/f7+/v///////////////////////////////////wD////////////////////////////+
+ /v79/f39/f1TUVEAAAAAAAAAAAAVFRUnJibBv7/////8/Pz/////////////////////////////////
+ //////8A/////////////////////////////////v7+/v7++vr6j46OS0pKS0pKenp64eDg/////f39
+ /////v7+////////////////////////////////////AP////////////////////////////7+/v//
+ //7+/v////////////////////////z8/P////7+/v//////////////////////////////////////
+ /wD////////////////////////////////+/v7////+/v77+/v8/Pz8/Pz7+/v9/f3+/v7+/v7/////
+ //////////////////////////////////////8A////////////////////////////////////////
+ /////v7+/v7+/v7+/v7+////////////////////////////////////////////////////////AAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAA
+</value>
+ </data>
+</root>
\ No newline at end of file
Added: software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Program.cs
===================================================================
--- software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Program.cs (rev 0)
+++ software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Program.cs 2009-05-30 14:39:36 UTC (rev 4714)
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace TuxAPIDemo
+{
+ static class Program
+ {
+ /// <summary>
+ /// Point d'entrée principal de l'application.
+ /// </summary>
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
Added: software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/AssemblyInfo.cs
===================================================================
--- software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/AssemblyInfo.cs (rev 0)
+++ software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/AssemblyInfo.cs 2009-05-30 14:39:36 UTC (rev 4714)
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Les informations générales relatives à un assembly dépendent de
+// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
+// associées à un assembly.
+[assembly: AssemblyTitle("TuxAPIDemo")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Joel Matteotti")]
+[assembly: AssemblyProduct("TuxAPIDemo")]
+[assembly: AssemblyCopyright("Copyright © Joel Matteotti 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly
+// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de
+// COM, affectez la valeur true à l'attribut ComVisible sur ce type.
+[assembly: ComVisible(false)]
+
+// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
+[assembly: Guid("ccfd4645-0054-44f7-aa54-de4ecb74ff3e")]
+
+// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
+//
+// Version principale
+// Version secondaire
+// Numéro de build
+// Révision
+//
+// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
+// en utilisant '*', comme indiqué ci-dessous :
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
Added: software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/Resources.Designer.cs
===================================================================
--- software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/Resources.Designer.cs (rev 0)
+++ software_suite_v3/smart-core/smart-api/csharp/trunk/ControlTuxDroid/TuxAPIDemo/Properties/Resources.Designer.cs 2009-05-30 14:39:36 UTC (rev 4714)
@@ -0,0 +1,63 @@
+//-------------------------------------...
[truncated message content] |