Patrick Germain 5 місяців тому
батько
коміт
f49ed3df20

+ 12 - 2
Fuel_ASO/Fuel_ASO.csproj

@@ -45,7 +45,7 @@
     <MapFileExtensions>true</MapFileExtensions>
     <ProductName>Fuel</ProductName>
     <PublisherName>Aformatix</PublisherName>
-    <ApplicationRevision>0</ApplicationRevision>
+    <ApplicationRevision>1</ApplicationRevision>
     <ApplicationVersion>2.0.0.%2a</ApplicationVersion>
     <UseApplicationTrust>false</UseApplicationTrust>
     <PublishWizardCompleted>true</PublishWizardCompleted>
@@ -279,7 +279,14 @@
     <Compile Include="Models\VenteTva.cs" />
     <Compile Include="Settings.cs" />
     <Compile Include="TdfFile.cs" />
+    <Compile Include="technique.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="technique.Designer.cs">
+      <DependentUpon>technique.cs</DependentUpon>
+    </Compile>
     <Compile Include="Utils.cs" />
+    <Compile Include="Version.cs" />
     <Compile Include="xmlvrac.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -339,6 +346,9 @@
     <EmbeddedResource Include="f_ticket.resx">
       <DependentUpon>f_ticket.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="technique.resx">
+      <DependentUpon>technique.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="xmlvrac.resx">
       <DependentUpon>xmlvrac.cs</DependentUpon>
     </EmbeddedResource>
@@ -429,7 +439,7 @@
   </PropertyGroup>
   <ProjectExtensions>
     <VisualStudio>
-      <UserProperties BuildVersion_DetectChanges="False" BuildVersion_IncrementBeforeBuild="False" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_BuildVersioningStyle="None.None.YearDayOfYearStamp.Increment" BuildVersion_UseUniversalClock="True" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2018/1/1" BuildVersion_UpdateFileVersion="True" BuildVersion_UpdateAssemblyVersion="True" />
+      <UserProperties BuildVersion_UpdateAssemblyVersion="True" BuildVersion_UpdateFileVersion="True" BuildVersion_StartDate="2018/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_UseUniversalClock="True" BuildVersion_BuildVersioningStyle="None.None.YearDayOfYearStamp.Increment" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_IncrementBeforeBuild="False" BuildVersion_DetectChanges="False" />
     </VisualStudio>
   </ProjectExtensions>
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 

+ 56 - 44
Fuel_ASO/Main.Designer.cs

@@ -30,7 +30,7 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
             this.statusBar = new System.Windows.Forms.StatusStrip();
             this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
             this.eprstat = new System.Windows.Forms.ToolStripStatusLabel();
@@ -73,9 +73,10 @@
             this.etpstaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.datestaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.nomstaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.button1 = new System.Windows.Forms.Button();
             this.text_file = new System.Windows.Forms.TextBox();
             this.timerSigR = new System.Windows.Forms.Timer(this.components);
-            this.button1 = new System.Windows.Forms.Button();
+            this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
             this.statusBar.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.tbepreuveBindingSource)).BeginInit();
@@ -123,7 +124,7 @@
             this.toolStripStatusLabel1.Image = global::Fuel01.Properties.Resources.red;
             this.toolStripStatusLabel1.Margin = new System.Windows.Forms.Padding(0);
             this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
-            this.toolStripStatusLabel1.Size = new System.Drawing.Size(41, 25);
+            this.toolStripStatusLabel1.Size = new System.Drawing.Size(34, 24);
             this.toolStripStatusLabel1.Text = " ";
             this.toolStripStatusLabel1.Visible = false;
             this.toolStripStatusLabel1.TextChanged += new System.EventHandler(this.toolStripStatusLabel1_TextChanged);
@@ -131,17 +132,17 @@
             // eprstat
             // 
             this.eprstat.Name = "eprstat";
-            this.eprstat.Size = new System.Drawing.Size(0, 15);
+            this.eprstat.Size = new System.Drawing.Size(0, 17);
             // 
             // stastat
             // 
             this.stastat.Name = "stastat";
-            this.stastat.Size = new System.Drawing.Size(0, 15);
+            this.stastat.Size = new System.Drawing.Size(0, 17);
             // 
             // tslbl1
             // 
             this.tslbl1.Name = "tslbl1";
-            this.tslbl1.Size = new System.Drawing.Size(0, 15);
+            this.tslbl1.Size = new System.Drawing.Size(0, 17);
             // 
             // dataSet1
             // 
@@ -196,12 +197,13 @@
             this.mnu_gest,
             this.mnu_param,
             this.mnu_verif,
-            this.mnu_about});
+            this.mnu_about,
+            this.toolStripButton1});
             this.main_mnu.Location = new System.Drawing.Point(0, 0);
             this.main_mnu.Name = "main_mnu";
             this.main_mnu.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0);
             this.main_mnu.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
-            this.main_mnu.Size = new System.Drawing.Size(1148, 34);
+            this.main_mnu.Size = new System.Drawing.Size(1148, 25);
             this.main_mnu.TabIndex = 12;
             this.main_mnu.Text = "Menu";
             // 
@@ -211,7 +213,7 @@
             this.mnu_ope.Image = ((System.Drawing.Image)(resources.GetObject("mnu_ope.Image")));
             this.mnu_ope.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.mnu_ope.Name = "mnu_ope";
-            this.mnu_ope.Size = new System.Drawing.Size(96, 29);
+            this.mnu_ope.Size = new System.Drawing.Size(64, 22);
             this.mnu_ope.Text = "&Opération";
             this.mnu_ope.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
             this.mnu_ope.Click += new System.EventHandler(this.mnu_ope_Click);
@@ -226,20 +228,20 @@
             this.mnu_vehi_dow.Image = ((System.Drawing.Image)(resources.GetObject("mnu_vehi_dow.Image")));
             this.mnu_vehi_dow.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.mnu_vehi_dow.Name = "mnu_vehi_dow";
-            this.mnu_vehi_dow.Size = new System.Drawing.Size(102, 29);
+            this.mnu_vehi_dow.Size = new System.Drawing.Size(69, 28);
             this.mnu_vehi_dow.Text = "&Véhicules";
             // 
             // mnh_vehi_acc
             // 
             this.mnh_vehi_acc.Name = "mnh_vehi_acc";
-            this.mnh_vehi_acc.Size = new System.Drawing.Size(184, 34);
+            this.mnh_vehi_acc.Size = new System.Drawing.Size(120, 22);
             this.mnh_vehi_acc.Text = "Accéder";
             this.mnh_vehi_acc.Click += new System.EventHandler(this.mnh_vehi_acc_Click);
             // 
             // mnu_vehi_sep
             // 
             this.mnu_vehi_sep.Name = "mnu_vehi_sep";
-            this.mnu_vehi_sep.Size = new System.Drawing.Size(181, 6);
+            this.mnu_vehi_sep.Size = new System.Drawing.Size(117, 6);
             // 
             // mnu_vehi_imp
             // 
@@ -248,27 +250,27 @@
             this.mnu_vehi_imp_tdf,
             this.parisNice17ToolStripMenuItem});
             this.mnu_vehi_imp.Name = "mnu_vehi_imp";
-            this.mnu_vehi_imp.Size = new System.Drawing.Size(184, 34);
+            this.mnu_vehi_imp.Size = new System.Drawing.Size(120, 22);
             this.mnu_vehi_imp.Text = "Importer";
             // 
             // mnu_vehi_imp_parc
             // 
             this.mnu_vehi_imp_parc.Name = "mnu_vehi_imp_parc";
-            this.mnu_vehi_imp_parc.Size = new System.Drawing.Size(216, 34);
+            this.mnu_vehi_imp_parc.Size = new System.Drawing.Size(143, 22);
             this.mnu_vehi_imp_parc.Text = "Parc Auto";
             this.mnu_vehi_imp_parc.Click += new System.EventHandler(this.mnu_vehi_imp_parc_Click);
             // 
             // mnu_vehi_imp_tdf
             // 
             this.mnu_vehi_imp_tdf.Name = "mnu_vehi_imp_tdf";
-            this.mnu_vehi_imp_tdf.Size = new System.Drawing.Size(216, 34);
+            this.mnu_vehi_imp_tdf.Size = new System.Drawing.Size(143, 22);
             this.mnu_vehi_imp_tdf.Text = "TDF";
             this.mnu_vehi_imp_tdf.Click += new System.EventHandler(this.mnu_vehi_imp_tdf_Click);
             // 
             // parisNice17ToolStripMenuItem
             // 
             this.parisNice17ToolStripMenuItem.Name = "parisNice17ToolStripMenuItem";
-            this.parisNice17ToolStripMenuItem.Size = new System.Drawing.Size(216, 34);
+            this.parisNice17ToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
             this.parisNice17ToolStripMenuItem.Text = "Paris-Nice 17";
             this.parisNice17ToolStripMenuItem.Click += new System.EventHandler(this.parisNice17ToolStripMenuItem_Click);
             // 
@@ -278,14 +280,14 @@
             this.mnu_sta.Image = ((System.Drawing.Image)(resources.GetObject("mnu_sta.Image")));
             this.mnu_sta.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.mnu_sta.Name = "mnu_sta";
-            this.mnu_sta.Size = new System.Drawing.Size(79, 29);
+            this.mnu_sta.Size = new System.Drawing.Size(53, 28);
             this.mnu_sta.Text = "Stations";
             this.mnu_sta.Click += new System.EventHandler(this.mnu_sta_Click);
             // 
             // mnu_sep1
             // 
             this.mnu_sep1.Name = "mnu_sep1";
-            this.mnu_sep1.Size = new System.Drawing.Size(6, 34);
+            this.mnu_sep1.Size = new System.Drawing.Size(6, 31);
             // 
             // mnu_saisie
             // 
@@ -293,7 +295,7 @@
             this.mnu_saisie.Image = ((System.Drawing.Image)(resources.GetObject("mnu_saisie.Image")));
             this.mnu_saisie.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.mnu_saisie.Name = "mnu_saisie";
-            this.mnu_saisie.Size = new System.Drawing.Size(60, 29);
+            this.mnu_saisie.Size = new System.Drawing.Size(40, 28);
             this.mnu_saisie.Text = "Saisie";
             this.mnu_saisie.Click += new System.EventHandler(this.mnu_saisie_Click);
             // 
@@ -303,7 +305,7 @@
             this.mnu_gest.Image = ((System.Drawing.Image)(resources.GetObject("mnu_gest.Image")));
             this.mnu_gest.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.mnu_gest.Name = "mnu_gest";
-            this.mnu_gest.Size = new System.Drawing.Size(76, 29);
+            this.mnu_gest.Size = new System.Drawing.Size(51, 28);
             this.mnu_gest.Text = "Gestion";
             this.mnu_gest.Click += new System.EventHandler(this.mnu_gest_Click);
             // 
@@ -313,8 +315,8 @@
             this.mnu_param.Image = ((System.Drawing.Image)(resources.GetObject("mnu_param.Image")));
             this.mnu_param.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.mnu_param.Name = "mnu_param";
-            this.mnu_param.Size = new System.Drawing.Size(103, 29);
-            this.mnu_param.Text = "Paramètres";
+            this.mnu_param.Size = new System.Drawing.Size(121, 28);
+            this.mnu_param.Text = "Paramètres généraux";
             this.mnu_param.Click += new System.EventHandler(this.mnu_param_Click);
             // 
             // mnu_verif
@@ -322,9 +324,8 @@
             this.mnu_verif.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
             this.mnu_verif.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.mnu_verif.Name = "mnu_verif";
-            this.mnu_verif.Size = new System.Drawing.Size(87, 29);
+            this.mnu_verif.Size = new System.Drawing.Size(58, 22);
             this.mnu_verif.Text = "Vérif TVA";
-            this.mnu_verif.Visible = false;
             this.mnu_verif.Click += new System.EventHandler(this.mnu_verif_Click);
             // 
             // mnu_about
@@ -335,7 +336,7 @@
             this.mnu_about.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.mnu_about.Name = "mnu_about";
             this.mnu_about.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
-            this.mnu_about.Size = new System.Drawing.Size(90, 29);
+            this.mnu_about.Size = new System.Drawing.Size(59, 28);
             this.mnu_about.Text = "A Propos";
             this.mnu_about.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             this.mnu_about.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal;
@@ -381,7 +382,7 @@
             this.splitContainer3.Panel2.Controls.Add(this.bt_test);
             this.splitContainer3.Panel2.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.splitContainer3_Panel2_MouseDoubleClick);
             this.splitContainer3.Size = new System.Drawing.Size(378, 510);
-            this.splitContainer3.SplitterDistance = 454;
+            this.splitContainer3.SplitterDistance = 450;
             this.splitContainer3.SplitterWidth = 6;
             this.splitContainer3.TabIndex = 1;
             // 
@@ -403,7 +404,7 @@
             this.dg_epr.ReadOnly = true;
             this.dg_epr.RowHeadersWidth = 62;
             this.dg_epr.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
-            this.dg_epr.Size = new System.Drawing.Size(378, 454);
+            this.dg_epr.Size = new System.Drawing.Size(378, 450);
             this.dg_epr.TabIndex = 6;
             this.dg_epr.CellMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dg_epr_CellMouseDoubleClick);
             // 
@@ -442,7 +443,7 @@
             this.bt_doAll.Location = new System.Drawing.Point(225, 0);
             this.bt_doAll.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.bt_doAll.Name = "bt_doAll";
-            this.bt_doAll.Size = new System.Drawing.Size(75, 50);
+            this.bt_doAll.Size = new System.Drawing.Size(75, 54);
             this.bt_doAll.TabIndex = 4;
             this.bt_doAll.Text = "ALL";
             this.bt_doAll.UseVisualStyleBackColor = true;
@@ -455,7 +456,7 @@
             this.bt_do.Location = new System.Drawing.Point(150, 0);
             this.bt_do.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.bt_do.Name = "bt_do";
-            this.bt_do.Size = new System.Drawing.Size(75, 50);
+            this.bt_do.Size = new System.Drawing.Size(75, 54);
             this.bt_do.TabIndex = 3;
             this.bt_do.Text = "Do";
             this.bt_do.UseVisualStyleBackColor = true;
@@ -468,7 +469,7 @@
             this.bt_retry.Location = new System.Drawing.Point(75, 0);
             this.bt_retry.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.bt_retry.Name = "bt_retry";
-            this.bt_retry.Size = new System.Drawing.Size(75, 50);
+            this.bt_retry.Size = new System.Drawing.Size(75, 54);
             this.bt_retry.TabIndex = 1;
             this.bt_retry.Text = "ReTry SigR";
             this.bt_retry.UseVisualStyleBackColor = true;
@@ -481,7 +482,7 @@
             this.bt_test.Location = new System.Drawing.Point(0, 0);
             this.bt_test.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.bt_test.Name = "bt_test";
-            this.bt_test.Size = new System.Drawing.Size(75, 50);
+            this.bt_test.Size = new System.Drawing.Size(75, 54);
             this.bt_test.TabIndex = 0;
             this.bt_test.Text = "Msg test";
             this.bt_test.UseVisualStyleBackColor = true;
@@ -507,7 +508,7 @@
             this.splitContainer2.Panel2.Controls.Add(this.text_file);
             this.splitContainer2.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer2_Panel2_Paint);
             this.splitContainer2.Size = new System.Drawing.Size(764, 510);
-            this.splitContainer2.SplitterDistance = 454;
+            this.splitContainer2.SplitterDistance = 450;
             this.splitContainer2.SplitterWidth = 6;
             this.splitContainer2.TabIndex = 0;
             // 
@@ -530,7 +531,7 @@
             this.dg_sta.ReadOnly = true;
             this.dg_sta.RowHeadersWidth = 62;
             this.dg_sta.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
-            this.dg_sta.Size = new System.Drawing.Size(764, 454);
+            this.dg_sta.Size = new System.Drawing.Size(764, 450);
             this.dg_sta.TabIndex = 7;
             this.dg_sta.CellMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dg_sta_CellMouseDoubleClick);
             // 
@@ -556,9 +557,9 @@
             // datestaDataGridViewTextBoxColumn
             // 
             this.datestaDataGridViewTextBoxColumn.DataPropertyName = "date_sta";
-            dataGridViewCellStyle5.Format = "M";
-            dataGridViewCellStyle5.NullValue = null;
-            this.datestaDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle2.Format = "M";
+            dataGridViewCellStyle2.NullValue = null;
+            this.datestaDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
             this.datestaDataGridViewTextBoxColumn.HeaderText = "Date";
             this.datestaDataGridViewTextBoxColumn.MinimumWidth = 8;
             this.datestaDataGridViewTextBoxColumn.Name = "datestaDataGridViewTextBoxColumn";
@@ -574,6 +575,16 @@
             this.nomstaDataGridViewTextBoxColumn.Name = "nomstaDataGridViewTextBoxColumn";
             this.nomstaDataGridViewTextBoxColumn.ReadOnly = true;
             // 
+            // button1
+            // 
+            this.button1.Location = new System.Drawing.Point(20, 0);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(146, 50);
+            this.button1.TabIndex = 4;
+            this.button1.Text = "Facture";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click_1);
+            // 
             // text_file
             // 
             this.text_file.Location = new System.Drawing.Point(173, 5);
@@ -589,15 +600,15 @@
             this.timerSigR.Interval = 5000;
             this.timerSigR.Tick += new System.EventHandler(this.timerSigR_Tick);
             // 
-            // button1
+            // toolStripButton1
             // 
-            this.button1.Location = new System.Drawing.Point(20, 0);
-            this.button1.Name = "button1";
-            this.button1.Size = new System.Drawing.Size(146, 50);
-            this.button1.TabIndex = 4;
-            this.button1.Text = "Facture";
-            this.button1.UseVisualStyleBackColor = true;
-            this.button1.Click += new System.EventHandler(this.button1_Click_1);
+            this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
+            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.toolStripButton1.Name = "toolStripButton1";
+            this.toolStripButton1.Size = new System.Drawing.Size(131, 22);
+            this.toolStripButton1.Text = "Paramètres techniques";
+            this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
             // 
             // Main
             // 
@@ -694,5 +705,6 @@
         private System.Windows.Forms.ToolStripButton mnu_verif;
         private System.Windows.Forms.ToolStripMenuItem parisNice17ToolStripMenuItem;
         private System.Windows.Forms.Button button1;
+        private System.Windows.Forms.ToolStripButton toolStripButton1;
     }
 }

+ 14 - 9
Fuel_ASO/Main.cs

@@ -477,7 +477,7 @@ namespace Fuel01
                 fw.Renamed += Fw_Spy;
                 fw.EnableRaisingEvents = true;
             }
-            catch (Exception )
+            catch (Exception)
             {
                 tslbl1.Text = "  Surveillance du répertoire de réception impossible !!!";
             }
@@ -590,9 +590,8 @@ namespace Fuel01
         bool checkVersion_activated = true;
         private void checkVersion()
         {
-            string[] strVersion = AssemblyVersion.Split('.');
-            double version = Convert.ToDouble(strVersion[0]) * 1000 + Convert.ToDouble(strVersion[1]) * 100 + Convert.ToDouble(strVersion[2])*10 + Convert.ToDouble(strVersion[3]) ;
-
+            var versionAppli = new Version(AssemblyVersion);
+            
             WebRequest request = WebRequest.Create(Properties.Settings.Default.server_adress_bin + ".txt");
             try
             {
@@ -600,10 +599,10 @@ namespace Fuel01
                 StreamReader sr = new StreamReader(response.GetResponseStream(), Encoding.ASCII);
                 string retour = sr.ReadToEnd();
                 sr.Close();
-                double baseVersion = 0;
-                if (double.TryParse(retour, out baseVersion) && 
-                    baseVersion > version && 
-                    MessageBox.Show("Veuillez lancer la mise à jour depuis le bouton MAJ\r\nde la fenêtre A Propos.\r\n Pour ne plus voir ce message, cliquer sur Annuler.", "Nouvelle version disponible", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.Cancel )
+                var versionWeb = new Version(retour);
+                
+                if (versionWeb.VersionIsSup(versionAppli) &&
+                        MessageBox.Show("Veuillez lancer la mise à jour depuis le bouton MAJ\r\nde la fenêtre A Propos.\r\n Pour ne plus voir ce message, cliquer sur Annuler.", "Nouvelle version disponible", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.Cancel)
                 {
                     checkVersion_activated = false;
                 }
@@ -642,7 +641,13 @@ namespace Fuel01
 
         private void button1_Click_1(object sender, EventArgs e)
         {
-            DoFact(sender, e);  
+            DoFact(sender, e);
+        }
+
+        private void toolStripButton1_Click(object sender, EventArgs e)
+        {
+            technique myform = new technique();
+            myform.ShowDialog();
         }
     }
 }

+ 28 - 13
Fuel_ASO/Main.resx

@@ -135,17 +135,11 @@
   <metadata name="main_mnu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>1092, 17</value>
   </metadata>
-  <metadata name="key_epr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="abrev_epr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
   <data name="mnu_ope.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
         YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
         /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
         I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@@ -160,7 +154,7 @@
   <data name="mnu_vehi_dow.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
         YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
         /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
         I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@@ -175,7 +169,7 @@
   <data name="mnu_sta.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
         YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
         /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
         I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@@ -190,7 +184,7 @@
   <data name="mnu_saisie.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
         YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
         /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
         I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@@ -205,7 +199,7 @@
   <data name="mnu_gest.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
         YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
         /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
         I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@@ -220,7 +214,7 @@
   <data name="mnu_param.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
         YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
         /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
         I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@@ -235,7 +229,7 @@
   <data name="mnu_about.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
         YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
         /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
         I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@@ -247,6 +241,27 @@
         nOccAdABIDXXE1nzAAAAAElFTkSuQmCC
 </value>
   </data>
+  <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
+        YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
+        /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
+        I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
+        cX79DFKrHHD5d9D26hvicx4pABt2lpg10zYzU0zr7+e3xXGcrkEB2O2TNec9nJFwB3alZn5jZorfeDZh
+        6Q3g8s06BeCoKF4MRURoH1+BY2oNCbeb0TIclIYxOhzf8frTOuo7FxCbbVIAzpni0iceEc8vhzEwGkJD
+        lx83ymxifejdKjRNk/8PWnyIyTQqAJek0jqHwfEVscu31baIu8+90sTE4nY025dQ2/5FIPpnXlzKuK8A
+        HBUzHot52djqQ6HZhfR7IwK4mKpHtvEDMqvfCiQ6zaAAXM8x94aIWTNrLLG4kVUzgaTSPlzLtyJOZxbb
+        1wtfyg4Q+AfA3aZlButjSfxGcUJBk4g5tuP3haQKRKXcUQDOmbvNTpPOJeFFjordZmbWTNvMTHFUcpUC
+        nOccAdABIDXXE1nzAAAAAElFTkSuQmCC
+</value>
+  </data>
+  <metadata name="key_epr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="abrev_epr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
   <metadata name="key_epr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>

+ 3 - 3
Fuel_ASO/Properties/AssemblyInfo.cs

@@ -32,7 +32,7 @@ using System.Runtime.InteropServices;
 // 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("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
+[assembly: AssemblyVersion("3.0.0.0")]
+[assembly: AssemblyFileVersion("3.0.0.0")]
 
-[assembly: AssemblyInformationalVersion("1.8.7")]
+[assembly: AssemblyInformationalVersion("1.0.0")]

+ 130 - 0
Fuel_ASO/Version.cs

@@ -0,0 +1,130 @@
+using Microsoft.Office.Interop.Excel;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Fuel01
+{
+    public class Version
+    {
+        public Version(int principal, int secondary, int revision, int build)
+        {
+            Principal = principal;
+            Secondary = secondary;
+            Revision = revision;
+            Build = build;
+        }
+
+        public Version(string version)
+        {
+            var versionDetails = version.Split('.');
+            if (versionDetails.Length == 4)
+            {
+                Principal = Convert.ToInt32(versionDetails[0]);
+                Secondary = Convert.ToInt32(versionDetails[1]);
+                Revision = Convert.ToInt32(versionDetails[2]);
+                Build = Convert.ToInt32(versionDetails[3]);
+            }
+        }
+
+        public Version(string principal, string secondary, string revision, string build)
+        {
+            Principal = Convert.ToInt32(principal);
+            Secondary = Convert.ToInt32(secondary);
+            Revision = Convert.ToInt32(revision);
+            Build = Convert.ToInt32(build);
+        }
+
+        public int Build { get; set; }
+
+        public int Principal { get; set; }
+
+        public int Revision { get; set; }
+
+        public int Secondary { get; set; }
+
+        public static double MakeVersionCompareNumber(double v1, double v2, double v3, double v4)
+            => v1 * Math.Pow(10, 9) + v2 * Math.Pow(10, 6) + v3 * Math.Pow(10, 3) + v4;
+
+        public static string NextVersion(int principal, int secondary, int revision, int build)
+        {
+            if (build < 98)
+            {
+                build = 0;
+                revision++;
+            }
+            else
+            {
+                build++;
+            }
+            if (revision == 100)
+            {
+                revision = 0;
+                secondary ++;
+            }
+            if (secondary == 100)
+            {
+                secondary = 0;
+                principal ++;
+            }
+            return VersionString(principal, secondary, revision, build);
+        }
+
+        public static string NextVersion(string version)
+        {
+            var versionDetails = version.Split('.');
+            if (versionDetails.Length == 4)
+            {
+                var ver2 = new Version(versionDetails[0], versionDetails[1], versionDetails[2], versionDetails[3]);
+                var ver3 = NextVersion(ver2);
+                return ver3;
+            }
+            else
+            {
+                return string.Empty;
+            }
+        }
+
+        public static string NextVersion(Version version)
+        {
+            return NextVersion(version.Principal, version.Secondary, version.Revision, version.Build);
+        }
+
+        public static string VersionString(string p, string s, string r, string b) => $"{p}.{s}.{r}.{b}";
+
+        public static string VersionString(int p, int s, int r, int b) => $"{p}.{s}.{r}.{b}";
+
+        public Version NextVersion()
+        {
+            if (Build < 98)
+            {
+                Build++;
+                return this;
+            }
+            else
+            {
+                Build = 0;
+                Revision++;
+            }
+            if (Revision == 100)
+            {
+                Revision = 0;
+                Secondary++;
+            }
+            if (Secondary == 100)
+            {
+                Secondary = 0;
+                Principal++;
+            }
+            return this;
+        }
+        public override string ToString() => $"{Principal}.{Secondary}.{Revision}.{Build}";
+
+        public bool VersionIsSup(Version v1)
+        {
+            return MakeVersionCompareNumber(Principal, Secondary, Revision, Build) > MakeVersionCompareNumber(v1.Principal, v1.Secondary, v1.Revision, v1.Build);
+        }
+    }
+}

+ 6 - 8
Fuel_ASO/f_about.cs

@@ -24,20 +24,18 @@ namespace Fuel01
             InitializeComponent();
             this.Text = String.Format("À propos de {0}", AssemblyTitle);
             this.labelProductName.Text = AssemblyProduct;
+            var versionAppli = new Version(AssemblyVersion);
 
-            string[] strVersion = AssemblyVersion.Split('.');
-            double version = Convert.ToDouble(strVersion[0]) * 100000 + Convert.ToDouble(strVersion[1]) * 1000 + Convert.ToDouble(strVersion[2]) + Convert.ToDouble(strVersion[3]) / 10000;
-            double baseVersion = 0;
-
-            WebRequest request = WebRequest.Create(Properties.Settings.Default.server_adress_datas);
+            Version versionWeb = new Version(0,0,0,0);
+            WebRequest request = WebRequest.Create(Properties.Settings.Default.server_adress_bin + ".txt");            
             try
             {
                 WebResponse response = request.GetResponse();
                 StreamReader sr = new StreamReader(response.GetResponseStream(), Encoding.ASCII);
                 string retour = sr.ReadToEnd();
                 sr.Close();
-
-                if (double.TryParse(retour, out baseVersion) && baseVersion > version)
+                 versionWeb=new Version(retour);
+                if(versionWeb.VersionIsSup(versionAppli))
                 {
                     bt_maj.BackColor = Color.LightGreen;
                 }
@@ -47,7 +45,7 @@ namespace Fuel01
                 MessageBox.Show(e.Message);
             }
 
-            this.labelVersion.Text = String.Format("Version {0}-{1}-{2}", AssemblyVersion, version, baseVersion);
+            this.labelVersion.Text = String.Format("Version {0} Prête:{1}", AssemblyVersion, versionWeb.ToString());
             this.labelCopyright.Text = AssemblyCopyright;
             this.labelCompanyName.Text = AssemblyCompany;
             this.textBoxDescription.Text = AssemblyDescription + "\r\n" + this.textBoxDescription.Text;

+ 53 - 0
Fuel_ASO/technique.Designer.cs

@@ -0,0 +1,53 @@
+namespace Fuel01
+{
+    partial class technique
+    {
+        /// <summary>
+        /// Variable nécessaire au concepteur.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Nettoyage des ressources utilisées.
+        /// </summary>
+        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()
+        {
+            this.SuspendLayout();
+            // 
+            // technique
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(652, 435);
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+            this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.MaximizeBox = false;
+            this.MinimizeBox = false;
+            this.Name = "technique";
+            this.Padding = new System.Windows.Forms.Padding(14, 14, 14, 14);
+            this.ShowIcon = false;
+            this.ShowInTaskbar = false;
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+            this.Text = "technique";
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+    }
+}

+ 21 - 0
Fuel_ASO/technique.cs

@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Linq;
+using System.Reflection;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Fuel01
+{
+    partial class technique : Form
+    {
+        public technique()
+        {
+            InitializeComponent();
+
+        }      
+       
+    }
+}

+ 120 - 0
Fuel_ASO/technique.resx

@@ -0,0 +1,120 @@
+<?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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>