Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members

frmControl.cs

Go to the documentation of this file.
00001 /*
00002 SimImmuno version 1.0
00003 Copyright (C) 2005 sebeuh.ajsinfo.net
00004 
00005 SimImmuno est libre, vous pouvez le redistribuer et/ou le modifier
00006 selon les termes de la Licence Publique Générale GNU publiée par la
00007 Free Software Foundation (version 2).
00008 
00009 SimImmuno est distribué car potentiellement utile, mais SANS AUCUNE GARANTIE,
00010 ni explicite ni implicite, y compris les garanties de commercialisation
00011 ou d'adaptation dans un but spécifique. Reportez-vous à la
00012 Licence Publique Générale GNU pour plus de détails.
00013 
00014 Texte de la license officielle (anglais) :
00015 http://simimmuno.ajsinfo.net/text.aspx?code=no&txt_file=GPL.txt
00016 Traduction francaise (non-officielle) :
00017 http://simimmuno.ajsinfo.net/text.aspx?code=no&txt_file=GPL-fr.txt
00018 */
00019 using System;
00020 using System.Drawing;
00021 using System.Collections;
00022 using System.ComponentModel;
00023 using System.Windows.Forms;
00024 using System.IO;
00025 
00026 namespace SimImmuno
00027 {
00028         public class frmControl : System.Windows.Forms.Form
00029         {
00030                 #region Declarations et initialisation
00031                 private System.Windows.Forms.CheckBox cbNormal;
00032                 private System.Windows.Forms.CheckBox cbInfect;
00033                 private System.Windows.Forms.CheckBox cbAnticorp;
00034                 private System.Windows.Forms.CheckBox cbAntigen;
00035                 private System.Windows.Forms.CheckBox cbCI;
00036                 private System.Windows.Forms.CheckBox cbDebris;
00037                 private System.Windows.Forms.CheckBox cbLB;
00038                 private System.Windows.Forms.CheckBox cbLT8;
00039                 private System.Windows.Forms.CheckBox cbLTc;
00040                 private System.Windows.Forms.CheckBox cbPlasmo;
00041                 private System.Windows.Forms.PictureBox pictureBox1;
00042                 private System.Windows.Forms.PictureBox pictureBox2;
00043                 private System.Windows.Forms.PictureBox pictureBox3;
00044                 private System.Windows.Forms.PictureBox pictureBox4;
00045                 private System.Windows.Forms.PictureBox pictureBox5;
00046                 private System.Windows.Forms.PictureBox pictureBox6;
00047                 private System.Windows.Forms.PictureBox pictureBox7;
00048                 private System.Windows.Forms.PictureBox pictureBox8;
00049                 private System.Windows.Forms.PictureBox pictureBox9;
00050                 private System.Windows.Forms.PictureBox pictureBox10;
00051                 private System.Windows.Forms.PictureBox pictureBox11;
00052                 private System.Windows.Forms.CheckBox cbLT4;
00053                 private System.Windows.Forms.CheckBox cbLBm;
00054                 private System.Windows.Forms.PictureBox pictureBox12;
00055                 private System.Windows.Forms.PictureBox pictureBox13;
00056                 private System.Windows.Forms.PictureBox pictureBox14;
00057                 private System.Windows.Forms.CheckBox cbPhago;
00058                 private System.Windows.Forms.Label Cell;
00059                 private System.Windows.Forms.Label CellIn;
00060                 private System.Windows.Forms.Label Ac;
00061                 private System.Windows.Forms.Label Ag;
00062                 private System.Windows.Forms.Label LB;
00063                 private System.Windows.Forms.Label LT8;
00064                 private System.Windows.Forms.Label LTc;
00065                 private System.Windows.Forms.Label LT4;
00066                 private System.Windows.Forms.Label LBm;
00067                 private System.Windows.Forms.Label phago;
00068                 private System.Windows.Forms.Label plasmo;
00069                 private System.Windows.Forms.Label time;
00070                 private System.Windows.Forms.Label ComplexIm;
00071                 private System.Windows.Forms.Label debris;
00072                 private System.Windows.Forms.Label lt4m;
00073                 private System.Windows.Forms.CheckBox cbLT8m;
00074                 private System.Windows.Forms.PictureBox pictureBox15;
00075                 private System.Windows.Forms.Label lt8m;
00076                 private System.Windows.Forms.CheckBox cbLT4m;
00077                 private System.Windows.Forms.PictureBox pictureBox16;
00078                 private System.Windows.Forms.PictureBox pictureBox17;
00079                 private System.Windows.Forms.CheckBox cbVIH;
00080                 private System.Windows.Forms.CheckBox cbInfectVIH;
00081                 private System.Windows.Forms.Label vih;
00082                 private System.Windows.Forms.Label infectvih;
00083                 private System.ComponentModel.IContainer components = null;
00084 
00085                 public frmControl()
00086                 {
00087                         InitializeComponent();
00088                 }
00089                 #endregion
00090 
00091                 #region Fonctions de base .NET
00092                 protected override void Dispose( bool disposing )
00093                 {
00094                         if( disposing )
00095                         {
00096                                 if(components != null)
00097                                 {
00098                                         components.Dispose();
00099                                 }
00100                         }
00101                         base.Dispose( disposing );
00102                 }
00103 
00104                 #region Windows Form Designer generated code
00109                 private void InitializeComponent()
00110                 {
00111                         System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmControl));
00112                         this.cbLT4m = new System.Windows.Forms.CheckBox();
00113                         this.cbLBm = new System.Windows.Forms.CheckBox();
00114                         this.cbLT4 = new System.Windows.Forms.CheckBox();
00115                         this.cbPlasmo = new System.Windows.Forms.CheckBox();
00116                         this.cbPhago = new System.Windows.Forms.CheckBox();
00117                         this.cbLTc = new System.Windows.Forms.CheckBox();
00118                         this.cbLT8 = new System.Windows.Forms.CheckBox();
00119                         this.cbLB = new System.Windows.Forms.CheckBox();
00120                         this.cbDebris = new System.Windows.Forms.CheckBox();
00121                         this.cbCI = new System.Windows.Forms.CheckBox();
00122                         this.cbAntigen = new System.Windows.Forms.CheckBox();
00123                         this.cbAnticorp = new System.Windows.Forms.CheckBox();
00124                         this.cbInfect = new System.Windows.Forms.CheckBox();
00125                         this.cbNormal = new System.Windows.Forms.CheckBox();
00126                         this.pictureBox14 = new System.Windows.Forms.PictureBox();
00127                         this.pictureBox13 = new System.Windows.Forms.PictureBox();
00128                         this.pictureBox12 = new System.Windows.Forms.PictureBox();
00129                         this.pictureBox11 = new System.Windows.Forms.PictureBox();
00130                         this.pictureBox10 = new System.Windows.Forms.PictureBox();
00131                         this.pictureBox9 = new System.Windows.Forms.PictureBox();
00132                         this.pictureBox8 = new System.Windows.Forms.PictureBox();
00133                         this.pictureBox7 = new System.Windows.Forms.PictureBox();
00134                         this.pictureBox6 = new System.Windows.Forms.PictureBox();
00135                         this.pictureBox5 = new System.Windows.Forms.PictureBox();
00136                         this.pictureBox4 = new System.Windows.Forms.PictureBox();
00137                         this.pictureBox3 = new System.Windows.Forms.PictureBox();
00138                         this.pictureBox2 = new System.Windows.Forms.PictureBox();
00139                         this.pictureBox1 = new System.Windows.Forms.PictureBox();
00140                         this.Cell = new System.Windows.Forms.Label();
00141                         this.CellIn = new System.Windows.Forms.Label();
00142                         this.Ac = new System.Windows.Forms.Label();
00143                         this.Ag = new System.Windows.Forms.Label();
00144                         this.ComplexIm = new System.Windows.Forms.Label();
00145                         this.debris = new System.Windows.Forms.Label();
00146                         this.LB = new System.Windows.Forms.Label();
00147                         this.LT8 = new System.Windows.Forms.Label();
00148                         this.LTc = new System.Windows.Forms.Label();
00149                         this.LT4 = new System.Windows.Forms.Label();
00150                         this.LBm = new System.Windows.Forms.Label();
00151                         this.lt4m = new System.Windows.Forms.Label();
00152                         this.phago = new System.Windows.Forms.Label();
00153                         this.plasmo = new System.Windows.Forms.Label();
00154                         this.time = new System.Windows.Forms.Label();
00155                         this.cbLT8m = new System.Windows.Forms.CheckBox();
00156                         this.pictureBox15 = new System.Windows.Forms.PictureBox();
00157                         this.lt8m = new System.Windows.Forms.Label();
00158                         this.cbVIH = new System.Windows.Forms.CheckBox();
00159                         this.cbInfectVIH = new System.Windows.Forms.CheckBox();
00160                         this.pictureBox16 = new System.Windows.Forms.PictureBox();
00161                         this.pictureBox17 = new System.Windows.Forms.PictureBox();
00162                         this.vih = new System.Windows.Forms.Label();
00163                         this.infectvih = new System.Windows.Forms.Label();
00164                         this.SuspendLayout();
00165                         // 
00166                         // cbLT4m
00167                         // 
00168                         this.cbLT4m.Checked = true;
00169                         this.cbLT4m.CheckState = System.Windows.Forms.CheckState.Checked;
00170                         this.cbLT4m.Location = new System.Drawing.Point(0, 208);
00171                         this.cbLT4m.Name = "cbLT4m";
00172                         this.cbLT4m.Size = new System.Drawing.Size(120, 16);
00173                         this.cbLT4m.TabIndex = 13;
00174                         this.cbLT4m.Text = "LT4 mémoire";
00175                         this.cbLT4m.CheckedChanged += new System.EventHandler(this.cbLT4m_CheckedChanged);
00176                         // 
00177                         // cbLBm
00178                         // 
00179                         this.cbLBm.Checked = true;
00180                         this.cbLBm.CheckState = System.Windows.Forms.CheckState.Checked;
00181                         this.cbLBm.Location = new System.Drawing.Point(0, 112);
00182                         this.cbLBm.Name = "cbLBm";
00183                         this.cbLBm.Size = new System.Drawing.Size(120, 16);
00184                         this.cbLBm.TabIndex = 12;
00185                         this.cbLBm.Text = "LB mémoire";
00186                         this.cbLBm.CheckedChanged += new System.EventHandler(this.cbLBm_CheckedChanged);
00187                         // 
00188                         // cbLT4
00189                         // 
00190                         this.cbLT4.Checked = true;
00191                         this.cbLT4.CheckState = System.Windows.Forms.CheckState.Checked;
00192                         this.cbLT4.Location = new System.Drawing.Point(0, 192);
00193                         this.cbLT4.Name = "cbLT4";
00194                         this.cbLT4.Size = new System.Drawing.Size(120, 16);
00195                         this.cbLT4.TabIndex = 11;
00196                         this.cbLT4.Text = "Lymphocytes T4";
00197                         this.cbLT4.CheckedChanged += new System.EventHandler(this.cbLT4_CheckedChanged);
00198                         // 
00199                         // cbPlasmo
00200                         // 
00201                         this.cbPlasmo.Checked = true;
00202                         this.cbPlasmo.CheckState = System.Windows.Forms.CheckState.Checked;
00203                         this.cbPlasmo.Location = new System.Drawing.Point(0, 128);
00204                         this.cbPlasmo.Name = "cbPlasmo";
00205                         this.cbPlasmo.Size = new System.Drawing.Size(120, 16);
00206                         this.cbPlasmo.TabIndex = 10;
00207                         this.cbPlasmo.Text = "Plasmocytes";
00208                         this.cbPlasmo.CheckedChanged += new System.EventHandler(this.cbPlasmo_CheckedChanged);
00209                         // 
00210                         // cbPhago
00211                         // 
00212                         this.cbPhago.Checked = true;
00213                         this.cbPhago.CheckState = System.Windows.Forms.CheckState.Checked;
00214                         this.cbPhago.Location = new System.Drawing.Point(0, 224);
00215                         this.cbPhago.Name = "cbPhago";
00216                         this.cbPhago.Size = new System.Drawing.Size(120, 16);
00217                         this.cbPhago.TabIndex = 9;
00218                         this.cbPhago.Text = "Phagocytes";
00219                         this.cbPhago.CheckedChanged += new System.EventHandler(this.cbMacro_CheckedChanged);
00220                         // 
00221                         // cbLTc
00222                         // 
00223                         this.cbLTc.Checked = true;
00224                         this.cbLTc.CheckState = System.Windows.Forms.CheckState.Checked;
00225                         this.cbLTc.Location = new System.Drawing.Point(0, 176);
00226                         this.cbLTc.Name = "cbLTc";
00227                         this.cbLTc.Size = new System.Drawing.Size(120, 16);
00228                         this.cbLTc.TabIndex = 8;
00229                         this.cbLTc.Text = "Lymphocytes Tc";
00230                         this.cbLTc.CheckedChanged += new System.EventHandler(this.cbLTc_CheckedChanged);
00231                         // 
00232                         // cbLT8
00233                         // 
00234                         this.cbLT8.Checked = true;
00235                         this.cbLT8.CheckState = System.Windows.Forms.CheckState.Checked;
00236                         this.cbLT8.Location = new System.Drawing.Point(0, 144);
00237                         this.cbLT8.Name = "cbLT8";
00238                         this.cbLT8.Size = new System.Drawing.Size(120, 16);
00239                         this.cbLT8.TabIndex = 7;
00240                         this.cbLT8.Text = "Lymphocytes T8";
00241                         this.cbLT8.CheckedChanged += new System.EventHandler(this.cbLT8_CheckedChanged);
00242                         // 
00243                         // cbLB
00244                         // 
00245                         this.cbLB.Checked = true;
00246                         this.cbLB.CheckState = System.Windows.Forms.CheckState.Checked;
00247                         this.cbLB.Location = new System.Drawing.Point(0, 96);
00248                         this.cbLB.Name = "cbLB";
00249                         this.cbLB.Size = new System.Drawing.Size(120, 16);
00250                         this.cbLB.TabIndex = 6;
00251                         this.cbLB.Text = "Lymphocytes B";
00252                         this.cbLB.CheckedChanged += new System.EventHandler(this.cbLB_CheckedChanged);
00253                         // 
00254                         // cbDebris
00255                         // 
00256                         this.cbDebris.Checked = true;
00257                         this.cbDebris.CheckState = System.Windows.Forms.CheckState.Checked;
00258                         this.cbDebris.Location = new System.Drawing.Point(0, 80);
00259                         this.cbDebris.Name = "cbDebris";
00260                         this.cbDebris.Size = new System.Drawing.Size(120, 16);
00261                         this.cbDebris.TabIndex = 5;
00262                         this.cbDebris.Text = "Débris";
00263                         this.cbDebris.CheckedChanged += new System.EventHandler(this.cbDebris_CheckedChanged);
00264                         // 
00265                         // cbCI
00266                         // 
00267                         this.cbCI.Checked = true;
00268                         this.cbCI.CheckState = System.Windows.Forms.CheckState.Checked;
00269                         this.cbCI.Location = new System.Drawing.Point(0, 64);
00270                         this.cbCI.Name = "cbCI";
00271                         this.cbCI.Size = new System.Drawing.Size(120, 16);
00272                         this.cbCI.TabIndex = 4;
00273                         this.cbCI.Text = "Complexes Im.";
00274                         this.cbCI.CheckedChanged += new System.EventHandler(this.cbCI_CheckedChanged);
00275                         // 
00276                         // cbAntigen
00277                         // 
00278                         this.cbAntigen.Checked = true;
00279                         this.cbAntigen.CheckState = System.Windows.Forms.CheckState.Checked;
00280                         this.cbAntigen.Location = new System.Drawing.Point(0, 48);
00281                         this.cbAntigen.Name = "cbAntigen";
00282                         this.cbAntigen.Size = new System.Drawing.Size(120, 16);
00283                         this.cbAntigen.TabIndex = 3;
00284                         this.cbAntigen.Text = "Antigènes";
00285                         this.cbAntigen.CheckedChanged += new System.EventHandler(this.cbAntigen_CheckedChanged);
00286                         // 
00287                         // cbAnticorp
00288                         // 
00289                         this.cbAnticorp.Checked = true;
00290                         this.cbAnticorp.CheckState = System.Windows.Forms.CheckState.Checked;
00291                         this.cbAnticorp.Location = new System.Drawing.Point(0, 32);
00292                         this.cbAnticorp.Name = "cbAnticorp";
00293                         this.cbAnticorp.Size = new System.Drawing.Size(120, 16);
00294                         this.cbAnticorp.TabIndex = 2;
00295                         this.cbAnticorp.Text = "Anticorps";
00296                         this.cbAnticorp.CheckedChanged += new System.EventHandler(this.cbAnticorp_CheckedChanged);
00297                         // 
00298                         // cbInfect
00299                         // 
00300                         this.cbInfect.Checked = true;
00301                         this.cbInfect.CheckState = System.Windows.Forms.CheckState.Checked;
00302                         this.cbInfect.Location = new System.Drawing.Point(0, 16);
00303                         this.cbInfect.Name = "cbInfect";
00304                         this.cbInfect.Size = new System.Drawing.Size(120, 16);
00305                         this.cbInfect.TabIndex = 1;
00306                         this.cbInfect.Text = "Infectées";
00307                         this.cbInfect.CheckedChanged += new System.EventHandler(this.cbInfect_CheckedChanged);
00308                         // 
00309                         // cbNormal
00310                         // 
00311                         this.cbNormal.Checked = true;
00312                         this.cbNormal.CheckState = System.Windows.Forms.CheckState.Checked;
00313                         this.cbNormal.Location = new System.Drawing.Point(0, 0);
00314                         this.cbNormal.Name = "cbNormal";
00315                         this.cbNormal.Size = new System.Drawing.Size(120, 16);
00316                         this.cbNormal.TabIndex = 0;
00317                         this.cbNormal.Text = "Normales";
00318                         this.cbNormal.CheckedChanged += new System.EventHandler(this.cbNormal_CheckedChanged);
00319                         // 
00320                         // pictureBox14
00321                         // 
00322                         this.pictureBox14.Location = new System.Drawing.Point(120, 208);
00323                         this.pictureBox14.Name = "pictureBox14";
00324                         this.pictureBox14.Size = new System.Drawing.Size(16, 16);
00325                         this.pictureBox14.TabIndex = 29;
00326                         this.pictureBox14.TabStop = false;
00327                         // 
00328                         // pictureBox13
00329                         // 
00330                         this.pictureBox13.Location = new System.Drawing.Point(120, 112);
00331                         this.pictureBox13.Name = "pictureBox13";
00332                         this.pictureBox13.Size = new System.Drawing.Size(16, 16);
00333                         this.pictureBox13.TabIndex = 28;
00334                         this.pictureBox13.TabStop = false;
00335                         // 
00336                         // pictureBox12
00337                         // 
00338                         this.pictureBox12.Location = new System.Drawing.Point(120, 192);
00339                         this.pictureBox12.Name = "pictureBox12";
00340                         this.pictureBox12.Size = new System.Drawing.Size(16, 16);
00341                         this.pictureBox12.TabIndex = 27;
00342                         this.pictureBox12.TabStop = false;
00343                         // 
00344                         // pictureBox11
00345                         // 
00346                         this.pictureBox11.Location = new System.Drawing.Point(120, 128);
00347                         this.pictureBox11.Name = "pictureBox11";
00348                         this.pictureBox11.Size = new System.Drawing.Size(16, 16);
00349                         this.pictureBox11.TabIndex = 23;
00350                         this.pictureBox11.TabStop = false;
00351                         // 
00352                         // pictureBox10
00353                         // 
00354                         this.pictureBox10.Location = new System.Drawing.Point(120, 224);
00355                         this.pictureBox10.Name = "pictureBox10";
00356                         this.pictureBox10.Size = new System.Drawing.Size(16, 16);
00357                         this.pictureBox10.TabIndex = 22;
00358                         this.pictureBox10.TabStop = false;
00359                         // 
00360                         // pictureBox9
00361                         // 
00362                         this.pictureBox9.Location = new System.Drawing.Point(120, 176);
00363                         this.pictureBox9.Name = "pictureBox9";
00364                         this.pictureBox9.Size = new System.Drawing.Size(16, 16);
00365                         this.pictureBox9.TabIndex = 21;
00366                         this.pictureBox9.TabStop = false;
00367                         // 
00368                         // pictureBox8
00369                         // 
00370                         this.pictureBox8.Location = new System.Drawing.Point(120, 144);
00371                         this.pictureBox8.Name = "pictureBox8";
00372                         this.pictureBox8.Size = new System.Drawing.Size(16, 16);
00373                         this.pictureBox8.TabIndex = 20;
00374                         this.pictureBox8.TabStop = false;
00375                         // 
00376                         // pictureBox7
00377                         // 
00378                         this.pictureBox7.Location = new System.Drawing.Point(120, 96);
00379                         this.pictureBox7.Name = "pictureBox7";
00380                         this.pictureBox7.Size = new System.Drawing.Size(16, 16);
00381                         this.pictureBox7.TabIndex = 19;
00382                         this.pictureBox7.TabStop = false;
00383                         // 
00384                         // pictureBox6
00385                         // 
00386                         this.pictureBox6.Location = new System.Drawing.Point(120, 80);
00387                         this.pictureBox6.Name = "pictureBox6";
00388                         this.pictureBox6.Size = new System.Drawing.Size(16, 16);
00389                         this.pictureBox6.TabIndex = 18;
00390                         this.pictureBox6.TabStop = false;
00391                         // 
00392                         // pictureBox5
00393                         // 
00394                         this.pictureBox5.Location = new System.Drawing.Point(120, 64);
00395                         this.pictureBox5.Name = "pictureBox5";
00396                         this.pictureBox5.Size = new System.Drawing.Size(16, 16);
00397                         this.pictureBox5.TabIndex = 17;
00398                         this.pictureBox5.TabStop = false;
00399                         // 
00400                         // pictureBox4
00401                         // 
00402                         this.pictureBox4.Location = new System.Drawing.Point(120, 48);
00403                         this.pictureBox4.Name = "pictureBox4";
00404                         this.pictureBox4.Size = new System.Drawing.Size(16, 16);
00405                         this.pictureBox4.TabIndex = 16;
00406                         this.pictureBox4.TabStop = false;
00407                         // 
00408                         // pictureBox3
00409                         // 
00410                         this.pictureBox3.Location = new System.Drawing.Point(120, 32);
00411                         this.pictureBox3.Name = "pictureBox3";
00412                         this.pictureBox3.Size = new System.Drawing.Size(16, 16);
00413                         this.pictureBox3.TabIndex = 15;
00414                         this.pictureBox3.TabStop = false;
00415                         // 
00416                         // pictureBox2
00417                         // 
00418                         this.pictureBox2.Location = new System.Drawing.Point(120, 16);
00419                         this.pictureBox2.Name = "pictureBox2";
00420                         this.pictureBox2.Size = new System.Drawing.Size(16, 16);
00421                         this.pictureBox2.TabIndex = 14;
00422                         this.pictureBox2.TabStop = false;
00423                         // 
00424                         // pictureBox1
00425                         // 
00426                         this.pictureBox1.Location = new System.Drawing.Point(120, 0);
00427                         this.pictureBox1.Name = "pictureBox1";
00428                         this.pictureBox1.Size = new System.Drawing.Size(16, 16);
00429                         this.pictureBox1.TabIndex = 13;
00430                         this.pictureBox1.TabStop = false;
00431                         // 
00432                         // Cell
00433                         // 
00434                         this.Cell.Location = new System.Drawing.Point(136, 0);
00435                         this.Cell.Name = "Cell";
00436                         this.Cell.Size = new System.Drawing.Size(40, 16);
00437                         this.Cell.TabIndex = 30;
00438                         this.Cell.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00439                         // 
00440                         // CellIn
00441                         // 
00442                         this.CellIn.Location = new System.Drawing.Point(136, 16);
00443                         this.CellIn.Name = "CellIn";
00444                         this.CellIn.Size = new System.Drawing.Size(40, 16);
00445                         this.CellIn.TabIndex = 31;
00446                         this.CellIn.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00447                         // 
00448                         // Ac
00449                         // 
00450                         this.Ac.Location = new System.Drawing.Point(136, 32);
00451                         this.Ac.Name = "Ac";
00452                         this.Ac.Size = new System.Drawing.Size(40, 16);
00453                         this.Ac.TabIndex = 32;
00454                         this.Ac.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00455                         // 
00456                         // Ag
00457                         // 
00458                         this.Ag.Location = new System.Drawing.Point(136, 48);
00459                         this.Ag.Name = "Ag";
00460                         this.Ag.Size = new System.Drawing.Size(40, 16);
00461                         this.Ag.TabIndex = 33;
00462                         this.Ag.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00463                         // 
00464                         // ComplexIm
00465                         // 
00466                         this.ComplexIm.Location = new System.Drawing.Point(136, 64);
00467                         this.ComplexIm.Name = "ComplexIm";
00468                         this.ComplexIm.Size = new System.Drawing.Size(40, 16);
00469                         this.ComplexIm.TabIndex = 34;
00470                         this.ComplexIm.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00471                         // 
00472                         // debris
00473                         // 
00474                         this.debris.Location = new System.Drawing.Point(136, 80);
00475                         this.debris.Name = "debris";
00476                         this.debris.Size = new System.Drawing.Size(40, 16);
00477                         this.debris.TabIndex = 35;
00478                         this.debris.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00479                         // 
00480                         // LB
00481                         // 
00482                         this.LB.Location = new System.Drawing.Point(136, 96);
00483                         this.LB.Name = "LB";
00484                         this.LB.Size = new System.Drawing.Size(40, 16);
00485                         this.LB.TabIndex = 36;
00486                         this.LB.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00487                         // 
00488                         // LT8
00489                         // 
00490                         this.LT8.Location = new System.Drawing.Point(136, 144);
00491                         this.LT8.Name = "LT8";
00492                         this.LT8.Size = new System.Drawing.Size(40, 16);
00493                         this.LT8.TabIndex = 37;
00494                         this.LT8.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00495                         // 
00496                         // LTc
00497                         // 
00498                         this.LTc.Location = new System.Drawing.Point(136, 176);
00499                         this.LTc.Name = "LTc";
00500                         this.LTc.Size = new System.Drawing.Size(40, 16);
00501                         this.LTc.TabIndex = 38;
00502                         this.LTc.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00503                         // 
00504                         // LT4
00505                         // 
00506                         this.LT4.Location = new System.Drawing.Point(136, 192);
00507                         this.LT4.Name = "LT4";
00508                         this.LT4.Size = new System.Drawing.Size(40, 16);
00509                         this.LT4.TabIndex = 39;
00510                         this.LT4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00511                         // 
00512                         // LBm
00513                         // 
00514                         this.LBm.Location = new System.Drawing.Point(136, 112);
00515                         this.LBm.Name = "LBm";
00516                         this.LBm.Size = new System.Drawing.Size(40, 16);
00517                         this.LBm.TabIndex = 40;
00518                         this.LBm.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00519                         // 
00520                         // lt4m
00521                         // 
00522                         this.lt4m.Location = new System.Drawing.Point(136, 208);
00523                         this.lt4m.Name = "lt4m";
00524                         this.lt4m.Size = new System.Drawing.Size(40, 16);
00525                         this.lt4m.TabIndex = 41;
00526                         this.lt4m.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00527                         // 
00528                         // phago
00529                         // 
00530                         this.phago.Location = new System.Drawing.Point(136, 224);
00531                         this.phago.Name = "phago";
00532                         this.phago.Size = new System.Drawing.Size(40, 16);
00533                         this.phago.TabIndex = 42;
00534                         this.phago.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00535                         // 
00536                         // plasmo
00537                         // 
00538                         this.plasmo.Location = new System.Drawing.Point(136, 128);
00539                         this.plasmo.Name = "plasmo";
00540                         this.plasmo.Size = new System.Drawing.Size(40, 16);
00541                         this.plasmo.TabIndex = 43;
00542                         this.plasmo.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00543                         // 
00544                         // time
00545                         // 
00546                         this.time.Location = new System.Drawing.Point(0, 272);
00547                         this.time.Name = "time";
00548                         this.time.Size = new System.Drawing.Size(176, 16);
00549                         this.time.TabIndex = 44;
00550                         this.time.Text = "Durée de la simulation : 00:00:00";
00551                         this.time.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00552                         // 
00553                         // cbLT8m
00554                         // 
00555                         this.cbLT8m.Checked = true;
00556                         this.cbLT8m.CheckState = System.Windows.Forms.CheckState.Checked;
00557                         this.cbLT8m.Location = new System.Drawing.Point(0, 160);
00558                         this.cbLT8m.Name = "cbLT8m";
00559                         this.cbLT8m.Size = new System.Drawing.Size(120, 16);
00560                         this.cbLT8m.TabIndex = 45;
00561                         this.cbLT8m.Text = "LT8 mémoire";
00562                         this.cbLT8m.CheckedChanged += new System.EventHandler(this.cbLT8m_CheckedChanged);
00563                         // 
00564                         // pictureBox15
00565                         // 
00566                         this.pictureBox15.Location = new System.Drawing.Point(120, 160);
00567                         this.pictureBox15.Name = "pictureBox15";
00568                         this.pictureBox15.Size = new System.Drawing.Size(16, 16);
00569                         this.pictureBox15.TabIndex = 46;
00570                         this.pictureBox15.TabStop = false;
00571                         // 
00572                         // lt8m
00573                         // 
00574                         this.lt8m.Location = new System.Drawing.Point(136, 160);
00575                         this.lt8m.Name = "lt8m";
00576                         this.lt8m.Size = new System.Drawing.Size(40, 16);
00577                         this.lt8m.TabIndex = 47;
00578                         this.lt8m.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00579                         // 
00580                         // cbVIH
00581                         // 
00582                         this.cbVIH.Checked = true;
00583                         this.cbVIH.CheckState = System.Windows.Forms.CheckState.Checked;
00584                         this.cbVIH.Location = new System.Drawing.Point(0, 240);
00585                         this.cbVIH.Name = "cbVIH";
00586                         this.cbVIH.Size = new System.Drawing.Size(120, 16);
00587                         this.cbVIH.TabIndex = 48;
00588                         this.cbVIH.Text = "Virus du VIH";
00589                         this.cbVIH.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
00590                         // 
00591                         // cbInfectVIH
00592                         // 
00593                         this.cbInfectVIH.Checked = true;
00594                         this.cbInfectVIH.CheckState = System.Windows.Forms.CheckState.Checked;
00595                         this.cbInfectVIH.Location = new System.Drawing.Point(0, 256);
00596                         this.cbInfectVIH.Name = "cbInfectVIH";
00597                         this.cbInfectVIH.Size = new System.Drawing.Size(120, 16);
00598                         this.cbInfectVIH.TabIndex = 49;
00599                         this.cbInfectVIH.Text = "Cell. infectée VIH";
00600                         this.cbInfectVIH.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
00601                         // 
00602                         // pictureBox16
00603                         // 
00604                         this.pictureBox16.Location = new System.Drawing.Point(120, 240);
00605                         this.pictureBox16.Name = "pictureBox16";
00606                         this.pictureBox16.Size = new System.Drawing.Size(16, 16);
00607                         this.pictureBox16.TabIndex = 50;
00608                         this.pictureBox16.TabStop = false;
00609                         // 
00610                         // pictureBox17
00611                         // 
00612                         this.pictureBox17.Location = new System.Drawing.Point(120, 256);
00613                         this.pictureBox17.Name = "pictureBox17";
00614                         this.pictureBox17.Size = new System.Drawing.Size(16, 16);
00615                         this.pictureBox17.TabIndex = 51;
00616                         this.pictureBox17.TabStop = false;
00617                         // 
00618                         // vih
00619                         // 
00620                         this.vih.Location = new System.Drawing.Point(136, 240);
00621                         this.vih.Name = "vih";
00622                         this.vih.Size = new System.Drawing.Size(40, 16);
00623                         this.vih.TabIndex = 52;
00624                         this.vih.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00625                         // 
00626                         // infectvih
00627                         // 
00628                         this.infectvih.Location = new System.Drawing.Point(136, 256);
00629                         this.infectvih.Name = "infectvih";
00630                         this.infectvih.Size = new System.Drawing.Size(40, 16);
00631                         this.infectvih.TabIndex = 0;
00632                         this.infectvih.TextAlign = System.Drawing.ContentAlignment.TopCenter;
00633                         // 
00634                         // frmControl
00635                         // 
00636                         this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
00637                         this.ClientSize = new System.Drawing.Size(170, 290);
00638                         this.ControlBox = false;
00639                         this.Controls.Add(this.infectvih);
00640                         this.Controls.Add(this.vih);
00641                         this.Controls.Add(this.pictureBox17);
00642                         this.Controls.Add(this.pictureBox16);
00643                         this.Controls.Add(this.cbInfectVIH);
00644                         this.Controls.Add(this.cbVIH);
00645                         this.Controls.Add(this.cbLT8m);
00646                         this.Controls.Add(this.cbLTc);
00647                         this.Controls.Add(this.cbCI);
00648                         this.Controls.Add(this.cbPhago);
00649                         this.Controls.Add(this.cbInfect);
00650                         this.Controls.Add(this.cbAntigen);
00651                         this.Controls.Add(this.cbLT4m);
00652                         this.Controls.Add(this.cbAnticorp);
00653                         this.Controls.Add(this.cbLT8);
00654                         this.Controls.Add(this.cbLBm);
00655                         this.Controls.Add(this.cbLT4);
00656                         this.Controls.Add(this.cbPlasmo);
00657                         this.Controls.Add(this.cbNormal);
00658                         this.Controls.Add(this.cbLB);
00659                         this.Controls.Add(this.cbDebris);
00660                         this.Controls.Add(this.lt8m);
00661                         this.Controls.Add(this.pictureBox15);
00662                         this.Controls.Add(this.time);
00663                         this.Controls.Add(this.plasmo);
00664                         this.Controls.Add(this.phago);
00665                         this.Controls.Add(this.lt4m);
00666                         this.Controls.Add(this.LBm);
00667                         this.Controls.Add(this.LT4);
00668                         this.Controls.Add(this.LTc);
00669                         this.Controls.Add(this.LT8);
00670                         this.Controls.Add(this.LB);
00671                         this.Controls.Add(this.debris);
00672                         this.Controls.Add(this.ComplexIm);
00673                         this.Controls.Add(this.Ag);
00674                         this.Controls.Add(this.Ac);
00675                         this.Controls.Add(this.CellIn);
00676                         this.Controls.Add(this.Cell);
00677                         this.Controls.Add(this.pictureBox11);
00678                         this.Controls.Add(this.pictureBox10);
00679                         this.Controls.Add(this.pictureBox9);
00680                         this.Controls.Add(this.pictureBox8);
00681                         this.Controls.Add(this.pictureBox7);
00682                         this.Controls.Add(this.pictureBox6);
00683                         this.Controls.Add(this.pictureBox5);
00684                         this.Controls.Add(this.pictureBox4);
00685                         this.Controls.Add(this.pictureBox3);
00686                         this.Controls.Add(this.pictureBox2);
00687                         this.Controls.Add(this.pictureBox1);
00688                         this.Controls.Add(this.pictureBox14);
00689                         this.Controls.Add(this.pictureBox13);
00690                         this.Controls.Add(this.pictureBox12);
00691                         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
00692                         this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
00693                         this.Location = new System.Drawing.Point(840, 70);
00694                         this.MaximizeBox = false;
00695                         this.MinimizeBox = false;
00696                         this.Name = "frmControl";
00697                         this.ShowInTaskbar = false;
00698                         this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
00699                         this.Text = "Contrôle";
00700                         this.TopMost = true;
00701                         this.Load += new System.EventHandler(this.frmControl_Load);
00702                         this.ResumeLayout(false);
00703 
00704                 }
00705                 #endregion
00706                 #endregion
00707 
00708                 #region Gestion de l'affichage
00709                 private void cbNormal_CheckedChanged(object sender, System.EventArgs e)
00710                 {
00711                         frmMain.SetDisplay("normal",cbNormal.Checked);
00712                 }
00713 
00714                 private void cbInfect_CheckedChanged(object sender, System.EventArgs e)
00715                 {
00716                         frmMain.SetDisplay("infect",cbInfect.Checked);
00717                 }
00718 
00719                 private void cbAnticorp_CheckedChanged(object sender, System.EventArgs e)
00720                 {
00721                         frmMain.SetDisplay("anticorp",cbAnticorp.Checked);
00722                 }
00723 
00724                 private void cbAntigen_CheckedChanged(object sender, System.EventArgs e)
00725                 {
00726                         frmMain.SetDisplay("antigen",cbAntigen.Checked);
00727                 }
00728 
00729                 private void cbCI_CheckedChanged(object sender, System.EventArgs e)
00730                 {
00731                         frmMain.SetDisplay("ci",cbCI.Checked);
00732                 }
00733 
00734                 private void cbDebris_CheckedChanged(object sender, System.EventArgs e)
00735                 {
00736                         frmMain.SetDisplay("debris",cbDebris.Checked);
00737                 }
00738 
00739                 private void cbLB_CheckedChanged(object sender, System.EventArgs e)
00740                 {
00741                         frmMain.SetDisplay("lb",cbLB.Checked);
00742                 }
00743 
00744                 private void cbLT8_CheckedChanged(object sender, System.EventArgs e)
00745                 {
00746                         frmMain.SetDisplay("lt8",cbLT8.Checked);
00747                 }
00748 
00749                 private void cbLTc_CheckedChanged(object sender, System.EventArgs e)
00750                 {
00751                         frmMain.SetDisplay("ltc",cbLTc.Checked);
00752                 }
00753 
00754                 private void cbMacro_CheckedChanged(object sender, System.EventArgs e)
00755                 {
00756                         frmMain.SetDisplay("phago",cbPhago.Checked);
00757                 }
00758 
00759                 private void cbPlasmo_CheckedChanged(object sender, System.EventArgs e)
00760                 {
00761                         frmMain.SetDisplay("plasmo",cbPlasmo.Checked);
00762                 }
00763 
00764                 private void cbLT4_CheckedChanged(object sender, System.EventArgs e)
00765                 {
00766                         frmMain.SetDisplay("lt4",cbLT4.Checked);
00767                 }
00768 
00769                 private void cbLBm_CheckedChanged(object sender, System.EventArgs e)
00770                 {
00771                         frmMain.SetDisplay("lbm",cbLBm.Checked);
00772                 }
00773 
00774                 private void cbLT4m_CheckedChanged(object sender, System.EventArgs e)
00775                 {
00776                         frmMain.SetDisplay("lt4m",cbLT4m.Checked);
00777                 }
00778 
00779                 private void cbLT8m_CheckedChanged(object sender, System.EventArgs e)
00780                 {
00781                         frmMain.SetDisplay("lt8m",cbLT8m.Checked);
00782                 }
00783 
00784                 private void checkBox1_CheckedChanged(object sender, System.EventArgs e)
00785                 {
00786                         frmMain.SetDisplay("vih",cbVIH.Checked);
00787                 }
00788 
00789                 private void checkBox2_CheckedChanged(object sender, System.EventArgs e)
00790                 {
00791                         frmMain.SetDisplay("infectvih",cbInfectVIH.Checked);
00792                 }
00793                 #endregion
00794 
00795                 #region Fct Controle
00796                 private void frmControl_Load(object sender, System.EventArgs e)
00797                 {
00798                         //Demarrage
00799                         pictureBox1.Image = ImageList.CellNormal;
00800                         pictureBox2.Image = ImageList.CellInfect;
00801                         pictureBox3.Image = ImageList.Anticorp;
00802                         pictureBox4.Image = ImageList.Antigen;
00803                         pictureBox5.Image = ImageList.CI;
00804                         pictureBox6.Image = ImageList.Debris;
00805                         pictureBox7.Image = ImageList.LB;
00806                         pictureBox8.Image = ImageList.LT8;
00807                         pictureBox9.Image = ImageList.LTc;
00808                         pictureBox10.Image = ImageList.Phagocyte;
00809                         pictureBox11.Image = ImageList.Plasmocyte;
00810                         pictureBox12.Image = ImageList.LT4;
00811                         pictureBox13.Image = ImageList.LBm;
00812                         pictureBox14.Image = ImageList.LT4m;
00813                         pictureBox15.Image = ImageList.LT8m;
00814                         pictureBox16.Image = ImageList.VIH;
00815                         pictureBox17.Image = ImageList.InfectVIH;
00816                 }
00817 
00818                 public void SetCompteur(int ianticorp,int iantigen,int icellinfect,int iCI,int idebris,int iLB,int iLT8,int iLTc,int inormal,int iphago,int iplasmo,int ilt4,int ilbm,int ilt4m,int ilt8m,int ivih,int iinfectvih,DateTime ichrono)
00819                 {
00820                         // Compteur
00821                         Cell.Text = inormal.ToString();
00822                         CellIn.Text = icellinfect.ToString();
00823                         Ac.Text = ianticorp.ToString();
00824                         Ag.Text = iantigen.ToString();
00825                         ComplexIm.Text = iCI.ToString();
00826                         debris.Text = idebris.ToString();
00827                         LB.Text = iLB.ToString();
00828                         LT8.Text = iLT8.ToString();
00829                         LTc.Text = iLTc.ToString();
00830                         LBm.Text = ilbm.ToString();
00831                         LT4.Text = ilt4.ToString();
00832                         lt4m.Text = ilt4m.ToString();
00833                         lt8m.Text = ilt8m.ToString();
00834                         phago.Text = iphago.ToString();
00835                         plasmo.Text = iplasmo.ToString();
00836                         vih.Text = ivih.ToString();
00837                         infectvih.Text = iinfectvih.ToString();
00838                         time.Text = "Durée de la simulation : " + ichrono.ToLongTimeString();
00839                 }
00840                 #endregion
00841         }
00842 }

Generated on Sat Jun 4 15:03:41 2005 for SimImmuno by  doxygen 1.4.2