Skip to content
Snippets Groups Projects
Commit 215f3023 authored by FOECHTERLE MELISSA's avatar FOECHTERLE MELISSA
Browse files

Redesign de MenuBilan

parent 62455b69
1 merge request!33Resolve "Redesigner MenuBilan pour pas que les DataGridView soient trop petits"
......@@ -86,7 +86,7 @@ namespace Mango.Controls.Menu
this.cboEvenement.Location = new System.Drawing.Point(27, 117);
this.cboEvenement.Margin = new System.Windows.Forms.Padding(4);
this.cboEvenement.Name = "cboEvenement";
this.cboEvenement.Size = new System.Drawing.Size(336, 26);
this.cboEvenement.Size = new System.Drawing.Size(253, 26);
this.cboEvenement.TabIndex = 2;
this.cboEvenement.SelectedIndexChanged += new System.EventHandler(this.cboEvenement_SelectedIndexChanged);
//
......@@ -96,10 +96,10 @@ namespace Mango.Controls.Menu
this.cboParticipant.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cboParticipant.Font = new System.Drawing.Font("Bahnschrift", 11F);
this.cboParticipant.FormattingEnabled = true;
this.cboParticipant.Location = new System.Drawing.Point(447, 117);
this.cboParticipant.Location = new System.Drawing.Point(306, 117);
this.cboParticipant.Margin = new System.Windows.Forms.Padding(4);
this.cboParticipant.Name = "cboParticipant";
this.cboParticipant.Size = new System.Drawing.Size(336, 26);
this.cboParticipant.Size = new System.Drawing.Size(253, 26);
this.cboParticipant.TabIndex = 4;
this.cboParticipant.SelectedIndexChanged += new System.EventHandler(this.cboParticipant_SelectedIndexChanged);
//
......@@ -107,7 +107,7 @@ namespace Mango.Controls.Menu
//
this.lblParticipant.AutoSize = true;
this.lblParticipant.Font = new System.Drawing.Font("Bahnschrift", 15F);
this.lblParticipant.Location = new System.Drawing.Point(443, 89);
this.lblParticipant.Location = new System.Drawing.Point(302, 89);
this.lblParticipant.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblParticipant.Name = "lblParticipant";
this.lblParticipant.Size = new System.Drawing.Size(109, 24);
......@@ -129,7 +129,7 @@ namespace Mango.Controls.Menu
//
this.lblDettes.AutoSize = true;
this.lblDettes.Font = new System.Drawing.Font("Bahnschrift", 15F);
this.lblDettes.Location = new System.Drawing.Point(442, 158);
this.lblDettes.Location = new System.Drawing.Point(23, 334);
this.lblDettes.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblDettes.Name = "lblDettes";
this.lblDettes.Size = new System.Drawing.Size(172, 24);
......@@ -138,6 +138,8 @@ namespace Mango.Controls.Menu
//
// dgvDettes
//
this.dgvDettes.AllowUserToAddRows = false;
this.dgvDettes.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvDettes.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(239)))), ((int)(((byte)(197)))));
this.dgvDettes.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dgvDettes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
......@@ -147,10 +149,10 @@ namespace Mango.Controls.Menu
this.dDate,
this.dAutheur,
this.dCommentaire});
this.dgvDettes.Location = new System.Drawing.Point(447, 186);
this.dgvDettes.Location = new System.Drawing.Point(27, 362);
this.dgvDettes.Margin = new System.Windows.Forms.Padding(4);
this.dgvDettes.Name = "dgvDettes";
this.dgvDettes.Size = new System.Drawing.Size(336, 183);
this.dgvDettes.Size = new System.Drawing.Size(600, 134);
this.dgvDettes.TabIndex = 8;
//
// dDescription
......@@ -185,6 +187,8 @@ namespace Mango.Controls.Menu
//
// dgvDepenses
//
this.dgvDepenses.AllowUserToAddRows = false;
this.dgvDepenses.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvDepenses.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(239)))), ((int)(((byte)(197)))));
this.dgvDepenses.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dgvDepenses.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
......@@ -196,7 +200,7 @@ namespace Mango.Controls.Menu
this.dgvDepenses.Location = new System.Drawing.Point(27, 186);
this.dgvDepenses.Margin = new System.Windows.Forms.Padding(4);
this.dgvDepenses.Name = "dgvDepenses";
this.dgvDepenses.Size = new System.Drawing.Size(336, 183);
this.dgvDepenses.Size = new System.Drawing.Size(600, 134);
this.dgvDepenses.TabIndex = 9;
//
// Description
......@@ -225,23 +229,21 @@ namespace Mango.Controls.Menu
//
// lblTotalDep
//
this.lblTotalDep.AutoSize = true;
this.lblTotalDep.Font = new System.Drawing.Font("Bahnschrift", 15F);
this.lblTotalDep.Location = new System.Drawing.Point(23, 373);
this.lblTotalDep.Location = new System.Drawing.Point(636, 243);
this.lblTotalDep.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblTotalDep.Name = "lblTotalDep";
this.lblTotalDep.Size = new System.Drawing.Size(201, 24);
this.lblTotalDep.Size = new System.Drawing.Size(147, 77);
this.lblTotalDep.TabIndex = 10;
this.lblTotalDep.Text = "Total dépensé : XXX €";
//
// lblTotalDu
//
this.lblTotalDu.AutoSize = true;
this.lblTotalDu.Font = new System.Drawing.Font("Bahnschrift", 15F);
this.lblTotalDu.Location = new System.Drawing.Point(443, 373);
this.lblTotalDu.Location = new System.Drawing.Point(636, 419);
this.lblTotalDu.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblTotalDu.Name = "lblTotalDu";
this.lblTotalDu.Size = new System.Drawing.Size(147, 24);
this.lblTotalDu.Size = new System.Drawing.Size(147, 77);
this.lblTotalDu.TabIndex = 11;
this.lblTotalDu.Text = "Total dû : XXX €";
//
......@@ -252,9 +254,9 @@ namespace Mango.Controls.Menu
this.btnSolder.FlatAppearance.BorderSize = 0;
this.btnSolder.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSolder.Font = new System.Drawing.Font("Bahnschrift", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnSolder.Location = new System.Drawing.Point(119, 472);
this.btnSolder.Location = new System.Drawing.Point(585, 87);
this.btnSolder.Name = "btnSolder";
this.btnSolder.Size = new System.Drawing.Size(549, 49);
this.btnSolder.Size = new System.Drawing.Size(198, 56);
this.btnSolder.TabIndex = 27;
this.btnSolder.Text = "Solder l\'événement et exporter en PDF";
this.btnSolder.UseVisualStyleBackColor = false;
......@@ -263,7 +265,7 @@ namespace Mango.Controls.Menu
//
this.lblConclusion.AutoSize = true;
this.lblConclusion.Font = new System.Drawing.Font("Bahnschrift", 15F);
this.lblConclusion.Location = new System.Drawing.Point(23, 420);
this.lblConclusion.Location = new System.Drawing.Point(23, 500);
this.lblConclusion.Name = "lblConclusion";
this.lblConclusion.Size = new System.Drawing.Size(395, 24);
this.lblConclusion.TabIndex = 28;
......
......@@ -66,7 +66,7 @@ namespace Mango.Controls.Menu
}catch(ArgumentException) { }
lblDepenses.Text = "Dépenses de " + user["prenomPart"];
lblTotalDep.Text = "Total dépensé : " + total + " €";
lblTotalDep.Text = "Total dépensé : " + total + "€";
//===========================
......@@ -92,7 +92,7 @@ namespace Mango.Controls.Menu
}catch(ArgumentException) { }
lblDettes.Text = "Dettes de " + user["prenomPart"];
lblTotalDu.Text = "Total dû : " + totalDu + " €";
lblTotalDu.Text = "Total dû : " + totalDu + "€";
}
private void cboEvenement_SelectedIndexChanged(object sender, EventArgs e)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment