diff --git a/Arti4/Arti4/Arti4.csproj b/Arti4/Arti4/Arti4.csproj index e2292a29c1cb8045e4babb57b64098012aa6faee..3e2259d3b581ff0de158775567f113477dd966d3 100644 --- a/Arti4/Arti4/Arti4.csproj +++ b/Arti4/Arti4/Arti4.csproj @@ -52,6 +52,12 @@ <SubType>Component</SubType> </Compile> <Compile Include="Enum\Enums.cs" /> + <Compile Include="Formulaires\FORM_Bilan.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="Formulaires\FORM_Bilan.Designer.cs"> + <DependentUpon>FORM_Bilan.cs</DependentUpon> + </Compile> <Compile Include="Formulaires\FORM_lexique.cs"> <SubType>Form</SubType> </Compile> @@ -134,6 +140,9 @@ <Compile Include="UserControls\UC_Scenario.Designer.cs"> <DependentUpon>UC_Scenario.cs</DependentUpon> </Compile> + <EmbeddedResource Include="Formulaires\FORM_Bilan.resx"> + <DependentUpon>FORM_Bilan.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="Formulaires\FORM_lexique.resx"> <DependentUpon>FORM_lexique.cs</DependentUpon> </EmbeddedResource> diff --git a/Arti4/Arti4/Formulaires/FORM_Bilan.Designer.cs b/Arti4/Arti4/Formulaires/FORM_Bilan.Designer.cs new file mode 100644 index 0000000000000000000000000000000000000000..b9ab51fdb9c77ab923732a5dcbced5a8198a2756 --- /dev/null +++ b/Arti4/Arti4/Formulaires/FORM_Bilan.Designer.cs @@ -0,0 +1,541 @@ +namespace Arti4.Formulaires +{ + partial class FORM_Bilan + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.btnP0 = new System.Windows.Forms.Button(); + this.btnP1 = new System.Windows.Forms.Button(); + this.btnP2 = new System.Windows.Forms.Button(); + this.btnP3 = new System.Windows.Forms.Button(); + this.btnP4 = new System.Windows.Forms.Button(); + this.btnP5 = new System.Windows.Forms.Button(); + this.btnQuitter = new System.Windows.Forms.Button(); + this.lblImport = new System.Windows.Forms.Label(); + this.lblChomage = new System.Windows.Forms.Label(); + this.lvlRevenuEntre = new System.Windows.Forms.Label(); + this.lblRevenuMenage = new System.Windows.Forms.Label(); + this.lblSolde = new System.Windows.Forms.Label(); + this.lblEndettement = new System.Windows.Forms.Label(); + this.lblDepensesPub = new System.Windows.Forms.Label(); + this.lblInvestissement = new System.Windows.Forms.Label(); + this.lblPop = new System.Windows.Forms.Label(); + this.lblRecette = new System.Windows.Forms.Label(); + this.lblImpotSociete = new System.Windows.Forms.Label(); + this.lblImportRevenu = new System.Windows.Forms.Label(); + this.lblConso = new System.Windows.Forms.Label(); + this.lblPIB = new System.Windows.Forms.Label(); + this.lblExport = new System.Windows.Forms.Label(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.textBox6 = new System.Windows.Forms.TextBox(); + this.textBox7 = new System.Windows.Forms.TextBox(); + this.textBox8 = new System.Windows.Forms.TextBox(); + this.textBox9 = new System.Windows.Forms.TextBox(); + this.textBox10 = new System.Windows.Forms.TextBox(); + this.textBox11 = new System.Windows.Forms.TextBox(); + this.textBox12 = new System.Windows.Forms.TextBox(); + this.textBox13 = new System.Windows.Forms.TextBox(); + this.textBox14 = new System.Windows.Forms.TextBox(); + this.textBox15 = new System.Windows.Forms.TextBox(); + this.lblPériode = new System.Windows.Forms.Label(); + this.lblNum = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // btnP0 + // + this.btnP0.Location = new System.Drawing.Point(12, 30); + this.btnP0.Name = "btnP0"; + this.btnP0.Size = new System.Drawing.Size(149, 58); + this.btnP0.TabIndex = 0; + this.btnP0.Text = "Période initiale"; + this.btnP0.UseVisualStyleBackColor = true; + this.btnP0.Click += new System.EventHandler(this.btnP0_Click); + // + // btnP1 + // + this.btnP1.Location = new System.Drawing.Point(12, 94); + this.btnP1.Name = "btnP1"; + this.btnP1.Size = new System.Drawing.Size(149, 58); + this.btnP1.TabIndex = 1; + this.btnP1.Text = "Période 1"; + this.btnP1.UseVisualStyleBackColor = true; + this.btnP1.Click += new System.EventHandler(this.btnP1_Click); + // + // btnP2 + // + this.btnP2.Location = new System.Drawing.Point(12, 158); + this.btnP2.Name = "btnP2"; + this.btnP2.Size = new System.Drawing.Size(149, 58); + this.btnP2.TabIndex = 2; + this.btnP2.Text = "Période 2"; + this.btnP2.UseVisualStyleBackColor = true; + this.btnP2.Click += new System.EventHandler(this.btnP2_Click); + // + // btnP3 + // + this.btnP3.Location = new System.Drawing.Point(12, 222); + this.btnP3.Name = "btnP3"; + this.btnP3.Size = new System.Drawing.Size(149, 58); + this.btnP3.TabIndex = 3; + this.btnP3.Text = "Période 3"; + this.btnP3.UseVisualStyleBackColor = true; + this.btnP3.Click += new System.EventHandler(this.btnP3_Click); + // + // btnP4 + // + this.btnP4.Location = new System.Drawing.Point(12, 286); + this.btnP4.Name = "btnP4"; + this.btnP4.Size = new System.Drawing.Size(149, 58); + this.btnP4.TabIndex = 4; + this.btnP4.Text = "Période 4"; + this.btnP4.UseVisualStyleBackColor = true; + this.btnP4.Click += new System.EventHandler(this.btnP4_Click); + // + // btnP5 + // + this.btnP5.Location = new System.Drawing.Point(12, 350); + this.btnP5.Name = "btnP5"; + this.btnP5.Size = new System.Drawing.Size(149, 58); + this.btnP5.TabIndex = 5; + this.btnP5.Text = "Période 5"; + this.btnP5.UseVisualStyleBackColor = true; + this.btnP5.Click += new System.EventHandler(this.btnP5_Click); + // + // btnQuitter + // + this.btnQuitter.Location = new System.Drawing.Point(930, 559); + this.btnQuitter.Name = "btnQuitter"; + this.btnQuitter.Size = new System.Drawing.Size(89, 38); + this.btnQuitter.TabIndex = 6; + this.btnQuitter.Text = "Quitter"; + this.btnQuitter.UseVisualStyleBackColor = true; + this.btnQuitter.Click += new System.EventHandler(this.btnQuitter_Click); + // + // lblImport + // + this.lblImport.AutoSize = true; + this.lblImport.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblImport.Location = new System.Drawing.Point(237, 53); + this.lblImport.Name = "lblImport"; + this.lblImport.Size = new System.Drawing.Size(56, 20); + this.lblImport.TabIndex = 8; + this.lblImport.Text = "Import"; + // + // lblChomage + // + this.lblChomage.AutoSize = true; + this.lblChomage.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblChomage.Location = new System.Drawing.Point(580, 430); + this.lblChomage.Name = "lblChomage"; + this.lblChomage.Size = new System.Drawing.Size(144, 20); + this.lblChomage.TabIndex = 9; + this.lblChomage.Text = "Taux de Chômage"; + // + // lvlRevenuEntre + // + this.lvlRevenuEntre.AutoSize = true; + this.lvlRevenuEntre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lvlRevenuEntre.Location = new System.Drawing.Point(580, 368); + this.lvlRevenuEntre.Name = "lvlRevenuEntre"; + this.lvlRevenuEntre.Size = new System.Drawing.Size(186, 20); + this.lvlRevenuEntre.TabIndex = 10; + this.lvlRevenuEntre.Text = "Revenus des entrerises"; + // + // lblRevenuMenage + // + this.lblRevenuMenage.AutoSize = true; + this.lblRevenuMenage.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblRevenuMenage.Location = new System.Drawing.Point(580, 304); + this.lblRevenuMenage.Name = "lblRevenuMenage"; + this.lblRevenuMenage.Size = new System.Drawing.Size(179, 20); + this.lblRevenuMenage.TabIndex = 11; + this.lblRevenuMenage.Text = "Revenus des ménages"; + // + // lblSolde + // + this.lblSolde.AutoSize = true; + this.lblSolde.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblSolde.Location = new System.Drawing.Point(580, 240); + this.lblSolde.Name = "lblSolde"; + this.lblSolde.Size = new System.Drawing.Size(137, 20); + this.lblSolde.TabIndex = 12; + this.lblSolde.Text = "Solde Budgétaire"; + // + // lblEndettement + // + this.lblEndettement.AutoSize = true; + this.lblEndettement.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblEndettement.Location = new System.Drawing.Point(580, 176); + this.lblEndettement.Name = "lblEndettement"; + this.lblEndettement.Size = new System.Drawing.Size(103, 20); + this.lblEndettement.TabIndex = 13; + this.lblEndettement.Text = "Endettement"; + // + // lblDepensesPub + // + this.lblDepensesPub.AutoSize = true; + this.lblDepensesPub.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblDepensesPub.Location = new System.Drawing.Point(580, 112); + this.lblDepensesPub.Name = "lblDepensesPub"; + this.lblDepensesPub.Size = new System.Drawing.Size(163, 20); + this.lblDepensesPub.TabIndex = 14; + this.lblDepensesPub.Text = "Dépenses Publiques"; + // + // lblInvestissement + // + this.lblInvestissement.AutoSize = true; + this.lblInvestissement.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblInvestissement.Location = new System.Drawing.Point(237, 310); + this.lblInvestissement.Name = "lblInvestissement"; + this.lblInvestissement.Size = new System.Drawing.Size(121, 20); + this.lblInvestissement.TabIndex = 15; + this.lblInvestissement.Text = "Investissement"; + // + // lblPop + // + this.lblPop.AutoSize = true; + this.lblPop.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblPop.Location = new System.Drawing.Point(237, 491); + this.lblPop.Name = "lblPop"; + this.lblPop.Size = new System.Drawing.Size(138, 20); + this.lblPop.TabIndex = 16; + this.lblPop.Text = "Population Active"; + // + // lblRecette + // + this.lblRecette.AutoSize = true; + this.lblRecette.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblRecette.Location = new System.Drawing.Point(580, 53); + this.lblRecette.Name = "lblRecette"; + this.lblRecette.Size = new System.Drawing.Size(154, 20); + this.lblRecette.TabIndex = 17; + this.lblRecette.Text = "Recettes Publiques"; + // + // lblImpotSociete + // + this.lblImpotSociete.AutoSize = true; + this.lblImpotSociete.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblImpotSociete.Location = new System.Drawing.Point(237, 430); + this.lblImpotSociete.Name = "lblImpotSociete"; + this.lblImpotSociete.Size = new System.Drawing.Size(111, 20); + this.lblImpotSociete.TabIndex = 18; + this.lblImpotSociete.Text = "Impôt Société"; + // + // lblImportRevenu + // + this.lblImportRevenu.AutoSize = true; + this.lblImportRevenu.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblImportRevenu.Location = new System.Drawing.Point(237, 368); + this.lblImportRevenu.Name = "lblImportRevenu"; + this.lblImportRevenu.Size = new System.Drawing.Size(111, 20); + this.lblImportRevenu.TabIndex = 19; + this.lblImportRevenu.Text = "Impôt Revenu"; + // + // lblConso + // + this.lblConso.AutoSize = true; + this.lblConso.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblConso.Location = new System.Drawing.Point(237, 240); + this.lblConso.Name = "lblConso"; + this.lblConso.Size = new System.Drawing.Size(121, 20); + this.lblConso.TabIndex = 20; + this.lblConso.Text = "Consommation"; + // + // lblPIB + // + this.lblPIB.AutoSize = true; + this.lblPIB.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblPIB.Location = new System.Drawing.Point(237, 176); + this.lblPIB.Name = "lblPIB"; + this.lblPIB.Size = new System.Drawing.Size(36, 20); + this.lblPIB.TabIndex = 21; + this.lblPIB.Text = "PIB"; + // + // lblExport + // + this.lblExport.AutoSize = true; + this.lblExport.Font = new System.Drawing.Font("Microsoft Sans Serif", 12.25F); + this.lblExport.Location = new System.Drawing.Point(237, 112); + this.lblExport.Name = "lblExport"; + this.lblExport.Size = new System.Drawing.Size(57, 20); + this.lblExport.TabIndex = 22; + this.lblExport.Text = "Export"; + // + // textBox4 + // + this.textBox4.Enabled = false; + this.textBox4.Location = new System.Drawing.Point(398, 48); + this.textBox4.Multiline = true; + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(125, 40); + this.textBox4.TabIndex = 74; + // + // textBox1 + // + this.textBox1.Enabled = false; + this.textBox1.Location = new System.Drawing.Point(398, 292); + this.textBox1.Multiline = true; + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(125, 40); + this.textBox1.TabIndex = 75; + // + // textBox2 + // + this.textBox2.Enabled = false; + this.textBox2.Location = new System.Drawing.Point(398, 471); + this.textBox2.Multiline = true; + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(125, 40); + this.textBox2.TabIndex = 76; + // + // textBox3 + // + this.textBox3.Enabled = false; + this.textBox3.Location = new System.Drawing.Point(398, 410); + this.textBox3.Multiline = true; + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(125, 40); + this.textBox3.TabIndex = 77; + // + // textBox5 + // + this.textBox5.Enabled = false; + this.textBox5.Location = new System.Drawing.Point(398, 350); + this.textBox5.Multiline = true; + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(125, 40); + this.textBox5.TabIndex = 78; + // + // textBox6 + // + this.textBox6.Enabled = false; + this.textBox6.Location = new System.Drawing.Point(398, 222); + this.textBox6.Multiline = true; + this.textBox6.Name = "textBox6"; + this.textBox6.Size = new System.Drawing.Size(125, 40); + this.textBox6.TabIndex = 79; + // + // textBox7 + // + this.textBox7.Enabled = false; + this.textBox7.Location = new System.Drawing.Point(398, 158); + this.textBox7.Multiline = true; + this.textBox7.Name = "textBox7"; + this.textBox7.Size = new System.Drawing.Size(125, 40); + this.textBox7.TabIndex = 80; + // + // textBox8 + // + this.textBox8.Enabled = false; + this.textBox8.Location = new System.Drawing.Point(398, 103); + this.textBox8.Multiline = true; + this.textBox8.Name = "textBox8"; + this.textBox8.Size = new System.Drawing.Size(125, 40); + this.textBox8.TabIndex = 81; + // + // textBox9 + // + this.textBox9.Enabled = false; + this.textBox9.Location = new System.Drawing.Point(791, 410); + this.textBox9.Multiline = true; + this.textBox9.Name = "textBox9"; + this.textBox9.Size = new System.Drawing.Size(125, 40); + this.textBox9.TabIndex = 82; + // + // textBox10 + // + this.textBox10.Enabled = false; + this.textBox10.Location = new System.Drawing.Point(791, 350); + this.textBox10.Multiline = true; + this.textBox10.Name = "textBox10"; + this.textBox10.Size = new System.Drawing.Size(125, 40); + this.textBox10.TabIndex = 83; + // + // textBox11 + // + this.textBox11.Enabled = false; + this.textBox11.Location = new System.Drawing.Point(791, 290); + this.textBox11.Multiline = true; + this.textBox11.Name = "textBox11"; + this.textBox11.Size = new System.Drawing.Size(125, 40); + this.textBox11.TabIndex = 84; + // + // textBox12 + // + this.textBox12.Enabled = false; + this.textBox12.Location = new System.Drawing.Point(791, 222); + this.textBox12.Multiline = true; + this.textBox12.Name = "textBox12"; + this.textBox12.Size = new System.Drawing.Size(125, 40); + this.textBox12.TabIndex = 85; + // + // textBox13 + // + this.textBox13.Enabled = false; + this.textBox13.Location = new System.Drawing.Point(791, 158); + this.textBox13.Multiline = true; + this.textBox13.Name = "textBox13"; + this.textBox13.Size = new System.Drawing.Size(125, 40); + this.textBox13.TabIndex = 86; + // + // textBox14 + // + this.textBox14.Enabled = false; + this.textBox14.Location = new System.Drawing.Point(791, 103); + this.textBox14.Multiline = true; + this.textBox14.Name = "textBox14"; + this.textBox14.Size = new System.Drawing.Size(125, 40); + this.textBox14.TabIndex = 87; + // + // textBox15 + // + this.textBox15.Enabled = false; + this.textBox15.Location = new System.Drawing.Point(791, 48); + this.textBox15.Multiline = true; + this.textBox15.Name = "textBox15"; + this.textBox15.Size = new System.Drawing.Size(125, 40); + this.textBox15.TabIndex = 88; + // + // lblPériode + // + this.lblPériode.AutoSize = true; + this.lblPériode.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F); + this.lblPériode.Location = new System.Drawing.Point(382, 557); + this.lblPériode.Name = "lblPériode"; + this.lblPériode.Size = new System.Drawing.Size(114, 31); + this.lblPériode.TabIndex = 89; + this.lblPériode.Text = "Période "; + // + // lblNum + // + this.lblNum.AutoSize = true; + this.lblNum.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F); + this.lblNum.Location = new System.Drawing.Point(485, 557); + this.lblNum.Name = "lblNum"; + this.lblNum.Size = new System.Drawing.Size(29, 31); + this.lblNum.TabIndex = 90; + this.lblNum.Text = "0"; + // + // FORM_Bilan + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1031, 609); + this.Controls.Add(this.lblNum); + this.Controls.Add(this.lblPériode); + this.Controls.Add(this.textBox15); + this.Controls.Add(this.textBox14); + this.Controls.Add(this.textBox13); + this.Controls.Add(this.textBox12); + this.Controls.Add(this.textBox11); + this.Controls.Add(this.textBox10); + this.Controls.Add(this.textBox9); + this.Controls.Add(this.textBox8); + this.Controls.Add(this.textBox7); + this.Controls.Add(this.textBox6); + this.Controls.Add(this.textBox5); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.lblExport); + this.Controls.Add(this.lblPIB); + this.Controls.Add(this.lblConso); + this.Controls.Add(this.lblImportRevenu); + this.Controls.Add(this.lblImpotSociete); + this.Controls.Add(this.lblRecette); + this.Controls.Add(this.lblPop); + this.Controls.Add(this.lblInvestissement); + this.Controls.Add(this.lblDepensesPub); + this.Controls.Add(this.lblEndettement); + this.Controls.Add(this.lblSolde); + this.Controls.Add(this.lblRevenuMenage); + this.Controls.Add(this.lvlRevenuEntre); + this.Controls.Add(this.lblChomage); + this.Controls.Add(this.lblImport); + this.Controls.Add(this.btnQuitter); + this.Controls.Add(this.btnP5); + this.Controls.Add(this.btnP4); + this.Controls.Add(this.btnP3); + this.Controls.Add(this.btnP2); + this.Controls.Add(this.btnP1); + this.Controls.Add(this.btnP0); + this.Name = "FORM_Bilan"; + this.Text = "Bilan"; + this.Load += new System.EventHandler(this.FORM_Bilan_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button btnP0; + private System.Windows.Forms.Button btnP1; + private System.Windows.Forms.Button btnP2; + private System.Windows.Forms.Button btnP3; + private System.Windows.Forms.Button btnP4; + private System.Windows.Forms.Button btnP5; + private System.Windows.Forms.Button btnQuitter; + private System.Windows.Forms.Label lblImport; + private System.Windows.Forms.Label lblChomage; + private System.Windows.Forms.Label lvlRevenuEntre; + private System.Windows.Forms.Label lblRevenuMenage; + private System.Windows.Forms.Label lblSolde; + private System.Windows.Forms.Label lblEndettement; + private System.Windows.Forms.Label lblDepensesPub; + private System.Windows.Forms.Label lblInvestissement; + private System.Windows.Forms.Label lblPop; + private System.Windows.Forms.Label lblRecette; + private System.Windows.Forms.Label lblImpotSociete; + private System.Windows.Forms.Label lblImportRevenu; + private System.Windows.Forms.Label lblConso; + private System.Windows.Forms.Label lblPIB; + private System.Windows.Forms.Label lblExport; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.TextBox textBox5; + private System.Windows.Forms.TextBox textBox6; + private System.Windows.Forms.TextBox textBox7; + private System.Windows.Forms.TextBox textBox8; + private System.Windows.Forms.TextBox textBox9; + private System.Windows.Forms.TextBox textBox10; + private System.Windows.Forms.TextBox textBox11; + private System.Windows.Forms.TextBox textBox12; + private System.Windows.Forms.TextBox textBox13; + private System.Windows.Forms.TextBox textBox14; + private System.Windows.Forms.TextBox textBox15; + private System.Windows.Forms.Label lblPériode; + private System.Windows.Forms.Label lblNum; + } +} \ No newline at end of file diff --git a/Arti4/Arti4/Formulaires/FORM_Bilan.cs b/Arti4/Arti4/Formulaires/FORM_Bilan.cs new file mode 100644 index 0000000000000000000000000000000000000000..c13927b1de09b67b056d404d645c9319cf63758f --- /dev/null +++ b/Arti4/Arti4/Formulaires/FORM_Bilan.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Arti4.Formulaires +{ + public partial class FORM_Bilan : Form + { + + + public FORM_Bilan() + { + InitializeComponent(); + } + + private void FORM_Bilan_Load(object sender, EventArgs e) + { + + } + + private void btnP0_Click(object sender, EventArgs e) + { + lblNum.Text = "0"; + } + + private void btnP1_Click(object sender, EventArgs e) + { + lblNum.Text = "1"; + } + + private void btnP2_Click(object sender, EventArgs e) + { + lblNum.Text = "2"; + } + + private void btnP3_Click(object sender, EventArgs e) + { + lblNum.Text = "3"; + } + + private void btnP4_Click(object sender, EventArgs e) + { + lblNum.Text = "4"; + } + + private void btnP5_Click(object sender, EventArgs e) + { + lblNum.Text = "5"; + } + + private void btnQuitter_Click(object sender, EventArgs e) + { + this.Close(); + } + } +} diff --git a/Arti4/Arti4/Formulaires/FORM_Bilan.resx b/Arti4/Arti4/Formulaires/FORM_Bilan.resx new file mode 100644 index 0000000000000000000000000000000000000000..1af7de150c99c12dd67a509fe57c10d63e4eeb04 --- /dev/null +++ b/Arti4/Arti4/Formulaires/FORM_Bilan.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> \ No newline at end of file diff --git a/Arti4/Arti4/Formulaires/FORM_politique.Designer.cs b/Arti4/Arti4/Formulaires/FORM_politique.Designer.cs index 45d30a2389ee07f24470bc8f80fa48cc115a740c..63b40d62836057d205c5d62fcf88b0ea52fa99fb 100644 --- a/Arti4/Arti4/Formulaires/FORM_politique.Designer.cs +++ b/Arti4/Arti4/Formulaires/FORM_politique.Designer.cs @@ -82,7 +82,7 @@ this.Controls.Add(this.listBox1); this.Controls.Add(this.button1); this.Name = "FORM_politique"; - this.Text = "FORM_politique"; + this.Text = "Politique de décision"; this.Load += new System.EventHandler(this.FORM_politique_Load); this.ResumeLayout(false); this.PerformLayout(); diff --git a/Arti4/Arti4/UserControls/Jeu/Toolbar/UC_ToolBar.Designer.cs b/Arti4/Arti4/UserControls/Jeu/Toolbar/UC_ToolBar.Designer.cs index 4e86d38cf2fe97ae256d4bc08f120c320de82d1e..e6d0c116cb4a2ac5b503e1c70efecc56f7edf9f5 100644 --- a/Arti4/Arti4/UserControls/Jeu/Toolbar/UC_ToolBar.Designer.cs +++ b/Arti4/Arti4/UserControls/Jeu/Toolbar/UC_ToolBar.Designer.cs @@ -31,6 +31,7 @@ this.button1 = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.btnPolitique = new System.Windows.Forms.Button(); + this.btnBilan = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // @@ -39,7 +40,7 @@ this.button1.BackColor = System.Drawing.SystemColors.Control; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 24.21818F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button1.Location = new System.Drawing.Point(196, 11); + this.button1.Location = new System.Drawing.Point(309, 11); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(287, 78); this.button1.TabIndex = 0; @@ -62,7 +63,7 @@ this.btnPolitique.BackColor = System.Drawing.SystemColors.Control; this.btnPolitique.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPolitique.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.21818F); - this.btnPolitique.Location = new System.Drawing.Point(503, 11); + this.btnPolitique.Location = new System.Drawing.Point(602, 11); this.btnPolitique.Name = "btnPolitique"; this.btnPolitique.Size = new System.Drawing.Size(287, 78); this.btnPolitique.TabIndex = 2; @@ -70,11 +71,25 @@ this.btnPolitique.UseVisualStyleBackColor = false; this.btnPolitique.Click += new System.EventHandler(this.btnPolitique_Click); // + // btnBilan + // + this.btnBilan.BackColor = System.Drawing.SystemColors.Control; + this.btnBilan.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnBilan.Font = new System.Drawing.Font("Microsoft Sans Serif", 24.21818F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnBilan.Location = new System.Drawing.Point(16, 11); + this.btnBilan.Name = "btnBilan"; + this.btnBilan.Size = new System.Drawing.Size(287, 78); + this.btnBilan.TabIndex = 3; + this.btnBilan.Text = "Bilan"; + this.btnBilan.UseVisualStyleBackColor = false; + this.btnBilan.Click += new System.EventHandler(this.btnBilan_Click); + // // UC_ToolBar // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ActiveCaption; + this.Controls.Add(this.btnBilan); this.Controls.Add(this.btnPolitique); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.button1); @@ -90,5 +105,6 @@ private System.Windows.Forms.Button button1; private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.Button btnPolitique; + private System.Windows.Forms.Button btnBilan; } } diff --git a/Arti4/Arti4/UserControls/Jeu/Toolbar/UC_ToolBar.cs b/Arti4/Arti4/UserControls/Jeu/Toolbar/UC_ToolBar.cs index 3bc0d667b9157af7e20ed399d1d66947fea20628..891a9fe57ebe4be8093d1a44048ed20fd9ea3611 100644 --- a/Arti4/Arti4/UserControls/Jeu/Toolbar/UC_ToolBar.cs +++ b/Arti4/Arti4/UserControls/Jeu/Toolbar/UC_ToolBar.cs @@ -29,5 +29,11 @@ namespace Arti4.UserControls.Jeu.Toolbar FORM_politique pol = new FORM_politique(); pol.ShowDialog(); } + + private void btnBilan_Click(object sender, EventArgs e) + { + FORM_Bilan bil = new FORM_Bilan(); + bil.ShowDialog(); + } } } diff --git a/Arti4/Arti4/UserControls/Jeu/UC_Depenses_Publiques.cs b/Arti4/Arti4/UserControls/Jeu/UC_Depenses_Publiques.cs index 13a89c9ace1bfb9cc18852066b17e9caab34b847..659563d266c5d16ed6ab02de963995f445e29356 100644 --- a/Arti4/Arti4/UserControls/Jeu/UC_Depenses_Publiques.cs +++ b/Arti4/Arti4/UserControls/Jeu/UC_Depenses_Publiques.cs @@ -29,6 +29,5 @@ namespace Arti4 ToolTip tltEntre = new ToolTip(); tltEntre.SetToolTip(pbEntreprise, "Transferts accordés aux entreprises pour augmenter leur compétitivité"); } - } }