From 43aa996d570c91f215f33b1308468cc258f271a4 Mon Sep 17 00:00:00 2001 From: adri Date: Thu, 7 Jun 2018 12:34:14 +0200 Subject: [PATCH] Ok avent modifier pour passer commande --- Gestion de commerce Informatique/App.config | 29 +- .../ConfigCommande.Designer.cs | 256 +++++++++++ .../ConfigCommande.cs | 20 + .../ConfigCommande.resx | 250 +++++++++++ .../ConfigurationStock.Designer.cs | 407 ++++++++++++++++++ .../ConfigurationStock.cs | 73 ++++ .../ConfigurationStock.resx | 253 +++++++++++ .../ConfigurationUtilisateur.Designer.cs | 72 ++-- .../ConfigurationUtilisateur.resx | 126 +++--- .../DashBoard.Designer.cs | 68 +-- Gestion de commerce Informatique/DashBoard.cs | 27 +- .../DashBoard.resx | 45 +- .../Form1.Designer.cs | 112 ++--- Gestion de commerce Informatique/Form1.cs | 11 +- Gestion de commerce Informatique/Form1.resx | 63 --- .../Gestion de commerce Informatique.csproj | 40 ++ .../GestionStock.Designer.cs | 171 ++++++++ .../GestionStock.cs | 84 ++++ .../GestionStock.resx | 176 ++++++++ .../GestionUtilisateurs.Designer.cs | 60 +-- .../GestionUtilisateurs.cs | 25 +- Gestion de commerce Informatique/Program.cs | 2 +- .../Properties/Resources.Designer.cs | 20 + .../Properties/Resources.resx | 12 +- .../Resources/+.png | Bin 0 -> 2782 bytes .../Resources/-.png | Bin 0 -> 2222 bytes .../Resources/moin.png | Bin 0 -> 2222 bytes .../Resources/plus.png | Bin 0 -> 2782 bytes .../Settings1.Designer.cs | 60 +++ .../Settings1.settings | 15 + icon/moin.png | Bin 0 -> 2222 bytes icon/plus.png | Bin 0 -> 2782 bytes 32 files changed, 2146 insertions(+), 331 deletions(-) create mode 100644 Gestion de commerce Informatique/ConfigCommande.Designer.cs create mode 100644 Gestion de commerce Informatique/ConfigCommande.cs create mode 100644 Gestion de commerce Informatique/ConfigCommande.resx create mode 100644 Gestion de commerce Informatique/ConfigurationStock.Designer.cs create mode 100644 Gestion de commerce Informatique/ConfigurationStock.cs create mode 100644 Gestion de commerce Informatique/ConfigurationStock.resx create mode 100644 Gestion de commerce Informatique/GestionStock.Designer.cs create mode 100644 Gestion de commerce Informatique/GestionStock.cs create mode 100644 Gestion de commerce Informatique/GestionStock.resx create mode 100644 Gestion de commerce Informatique/Resources/+.png create mode 100644 Gestion de commerce Informatique/Resources/-.png create mode 100644 Gestion de commerce Informatique/Resources/moin.png create mode 100644 Gestion de commerce Informatique/Resources/plus.png create mode 100644 Gestion de commerce Informatique/Settings1.Designer.cs create mode 100644 Gestion de commerce Informatique/Settings1.settings create mode 100644 icon/moin.png create mode 100644 icon/plus.png diff --git a/Gestion de commerce Informatique/App.config b/Gestion de commerce Informatique/App.config index 731f6de..918eb58 100644 --- a/Gestion de commerce Informatique/App.config +++ b/Gestion de commerce Informatique/App.config @@ -1,6 +1,31 @@  - + + +
+ + +
+ + + - \ No newline at end of file + + + + 5 + + + 50 + + + + + + + Data Source=(localdb)\MSSQLLOcalDB;Initial Catalog=GestionCommerceInfo;Integrated Security=True + + + + diff --git a/Gestion de commerce Informatique/ConfigCommande.Designer.cs b/Gestion de commerce Informatique/ConfigCommande.Designer.cs new file mode 100644 index 0000000..69f3bf3 --- /dev/null +++ b/Gestion de commerce Informatique/ConfigCommande.Designer.cs @@ -0,0 +1,256 @@ +namespace Gestion_de_commerce_Informatique +{ + partial class ConfigCommande + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + VisualPlus.Structure.TextStyle textStyle1 = new VisualPlus.Structure.TextStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigCommande)); + this.bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.lblComande = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.lblNomCommande = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.vtbNomCommande = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton(); + this.bunifuFlatButton2 = new Bunifu.Framework.UI.BunifuFlatButton(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + this.SuspendLayout(); + // + // bunifuElipse1 + // + this.bunifuElipse1.ElipseRadius = 5; + this.bunifuElipse1.TargetControl = this; + // + // dataGridView1 + // + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Location = new System.Drawing.Point(13, 45); + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.Size = new System.Drawing.Size(692, 325); + this.dataGridView1.TabIndex = 0; + // + // lblComande + // + this.lblComande.AutoSize = true; + this.lblComande.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblComande.Location = new System.Drawing.Point(12, 17); + this.lblComande.Name = "lblComande"; + this.lblComande.Size = new System.Drawing.Size(139, 25); + this.lblComande.TabIndex = 7; + this.lblComande.Text = "Commande : "; + // + // lblNomCommande + // + this.lblNomCommande.AutoSize = true; + this.lblNomCommande.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblNomCommande.Location = new System.Drawing.Point(138, 17); + this.lblNomCommande.Name = "lblNomCommande"; + this.lblNomCommande.Size = new System.Drawing.Size(139, 25); + this.lblNomCommande.TabIndex = 8; + this.lblNomCommande.Text = "Commande : "; + this.lblNomCommande.Visible = false; + // + // vtbNomCommande + // + this.vtbNomCommande.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbNomCommande.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbNomCommande.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbNomCommande.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbNomCommande.Border.HoverVisible = true; + this.vtbNomCommande.Border.Rounding = 6; + this.vtbNomCommande.Border.Thickness = 1; + this.vtbNomCommande.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbNomCommande.Border.Visible = true; + this.vtbNomCommande.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbNomCommande.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbNomCommande.ButtonBorder.HoverVisible = true; + this.vtbNomCommande.ButtonBorder.Rounding = 6; + this.vtbNomCommande.ButtonBorder.Thickness = 1; + this.vtbNomCommande.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbNomCommande.ButtonBorder.Visible = true; + this.vtbNomCommande.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbNomCommande.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbNomCommande.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbNomCommande.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbNomCommande.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbNomCommande.ButtonIndent = 3; + this.vtbNomCommande.ButtonText = "visualButton"; + this.vtbNomCommande.ButtonVisible = false; + this.vtbNomCommande.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbNomCommande.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbNomCommande.ImageSize = new System.Drawing.Size(16, 16); + this.vtbNomCommande.ImageVisible = false; + this.vtbNomCommande.ImageWidth = 35; + this.vtbNomCommande.Location = new System.Drawing.Point(143, 19); + this.vtbNomCommande.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbNomCommande.Name = "vtbNomCommande"; + this.vtbNomCommande.PasswordChar = '\0'; + this.vtbNomCommande.ReadOnly = false; + this.vtbNomCommande.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbNomCommande.Size = new System.Drawing.Size(135, 23); + this.vtbNomCommande.TabIndex = 9; + textStyle1.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle1.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle1.Hover = System.Drawing.Color.Empty; + textStyle1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbNomCommande.TextStyle = textStyle1; + this.vtbNomCommande.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbNomCommande.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbNomCommande.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbNomCommande.Watermark.Text = "Watermark text"; + this.vtbNomCommande.Watermark.Visible = false; + // + // pictureBox1 + // + this.pictureBox1.Image = global::Gestion_de_commerce_Informatique.Properties.Resources.moin; + this.pictureBox1.Location = new System.Drawing.Point(639, 376); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(30, 30); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 10; + this.pictureBox1.TabStop = false; + // + // pictureBox2 + // + this.pictureBox2.Image = global::Gestion_de_commerce_Informatique.Properties.Resources.plus; + this.pictureBox2.Location = new System.Drawing.Point(675, 376); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(30, 30); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox2.TabIndex = 11; + this.pictureBox2.TabStop = false; + // + // bunifuFlatButton1 + // + this.bunifuFlatButton1.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.bunifuFlatButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.bunifuFlatButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.bunifuFlatButton1.BorderRadius = 0; + this.bunifuFlatButton1.ButtonText = "bunifuFlatButton1"; + this.bunifuFlatButton1.Cursor = System.Windows.Forms.Cursors.Hand; + this.bunifuFlatButton1.DisabledColor = System.Drawing.Color.Gray; + this.bunifuFlatButton1.Iconcolor = System.Drawing.Color.Transparent; + this.bunifuFlatButton1.Iconimage = ((System.Drawing.Image)(resources.GetObject("bunifuFlatButton1.Iconimage"))); + this.bunifuFlatButton1.Iconimage_right = null; + this.bunifuFlatButton1.Iconimage_right_Selected = null; + this.bunifuFlatButton1.Iconimage_Selected = null; + this.bunifuFlatButton1.IconMarginLeft = 0; + this.bunifuFlatButton1.IconMarginRight = 0; + this.bunifuFlatButton1.IconRightVisible = true; + this.bunifuFlatButton1.IconRightZoom = 0D; + this.bunifuFlatButton1.IconVisible = true; + this.bunifuFlatButton1.IconZoom = 90D; + this.bunifuFlatButton1.IsTab = false; + this.bunifuFlatButton1.Location = new System.Drawing.Point(17, 443); + this.bunifuFlatButton1.Name = "bunifuFlatButton1"; + this.bunifuFlatButton1.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.bunifuFlatButton1.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.bunifuFlatButton1.OnHoverTextColor = System.Drawing.Color.White; + this.bunifuFlatButton1.selected = false; + this.bunifuFlatButton1.Size = new System.Drawing.Size(241, 48); + this.bunifuFlatButton1.TabIndex = 12; + this.bunifuFlatButton1.Text = "bunifuFlatButton1"; + this.bunifuFlatButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.bunifuFlatButton1.Textcolor = System.Drawing.Color.White; + this.bunifuFlatButton1.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + // + // bunifuFlatButton2 + // + this.bunifuFlatButton2.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.bunifuFlatButton2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.bunifuFlatButton2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.bunifuFlatButton2.BorderRadius = 0; + this.bunifuFlatButton2.ButtonText = "bunifuFlatButton2"; + this.bunifuFlatButton2.Cursor = System.Windows.Forms.Cursors.Hand; + this.bunifuFlatButton2.DisabledColor = System.Drawing.Color.Gray; + this.bunifuFlatButton2.Iconcolor = System.Drawing.Color.Transparent; + this.bunifuFlatButton2.Iconimage = ((System.Drawing.Image)(resources.GetObject("bunifuFlatButton2.Iconimage"))); + this.bunifuFlatButton2.Iconimage_right = null; + this.bunifuFlatButton2.Iconimage_right_Selected = null; + this.bunifuFlatButton2.Iconimage_Selected = null; + this.bunifuFlatButton2.IconMarginLeft = 0; + this.bunifuFlatButton2.IconMarginRight = 0; + this.bunifuFlatButton2.IconRightVisible = true; + this.bunifuFlatButton2.IconRightZoom = 0D; + this.bunifuFlatButton2.IconVisible = true; + this.bunifuFlatButton2.IconZoom = 90D; + this.bunifuFlatButton2.IsTab = false; + this.bunifuFlatButton2.Location = new System.Drawing.Point(464, 443); + this.bunifuFlatButton2.Name = "bunifuFlatButton2"; + this.bunifuFlatButton2.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.bunifuFlatButton2.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.bunifuFlatButton2.OnHoverTextColor = System.Drawing.Color.White; + this.bunifuFlatButton2.selected = false; + this.bunifuFlatButton2.Size = new System.Drawing.Size(241, 48); + this.bunifuFlatButton2.TabIndex = 13; + this.bunifuFlatButton2.Text = "bunifuFlatButton2"; + this.bunifuFlatButton2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.bunifuFlatButton2.Textcolor = System.Drawing.Color.White; + this.bunifuFlatButton2.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + // + // ConfigCommande + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(717, 513); + this.Controls.Add(this.bunifuFlatButton2); + this.Controls.Add(this.bunifuFlatButton1); + this.Controls.Add(this.pictureBox2); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.vtbNomCommande); + this.Controls.Add(this.lblNomCommande); + this.Controls.Add(this.lblComande); + this.Controls.Add(this.dataGridView1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "ConfigCommande"; + this.Text = "ConfigCommande"; + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private Bunifu.Framework.UI.BunifuElipse bunifuElipse1; + private System.Windows.Forms.DataGridView dataGridView1; + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbNomCommande; + private Bunifu.Framework.UI.BunifuCustomLabel lblNomCommande; + private Bunifu.Framework.UI.BunifuCustomLabel lblComande; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.PictureBox pictureBox2; + private Bunifu.Framework.UI.BunifuFlatButton bunifuFlatButton1; + private Bunifu.Framework.UI.BunifuFlatButton bunifuFlatButton2; + } +} \ No newline at end of file diff --git a/Gestion de commerce Informatique/ConfigCommande.cs b/Gestion de commerce Informatique/ConfigCommande.cs new file mode 100644 index 0000000..0198bce --- /dev/null +++ b/Gestion de commerce Informatique/ConfigCommande.cs @@ -0,0 +1,20 @@ +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 Gestion_de_commerce_Informatique +{ + public partial class ConfigCommande : Form + { + public ConfigCommande() + { + InitializeComponent(); + } + } +} diff --git a/Gestion de commerce Informatique/ConfigCommande.resx b/Gestion de commerce Informatique/ConfigCommande.resx new file mode 100644 index 0000000..f8cd24c --- /dev/null +++ b/Gestion de commerce Informatique/ConfigCommande.resx @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAANJElEQVR4Xu3d + a+hsZRUGcC/lDUKzMFOzrJPKMeKIwqkvoeSH/GAgplkfNEhKyIikkqORhrdMEyGiAikIsoI0S0u6qZRm + ec8isdLKboplalB28/SsWWvgz5ln73n3zN6zZ708D/zgsM563/0Oc/aZy77MTtu3bxeRBrQoIo4WRcTR + oog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKI + OFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDha + FBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WsxM + GTfsOcmMFjNTxg17TjKjxcyUccOek8xoMTNl3LDnJDNazEwZN+w5yYwWM1PGDXtOMqPFzJRxw56TzGgx + M2XcsOckM1rMTBk37DnJjBYzW+dgffvC8XA2fBZuhYfDkzuY1m+Bz8D74U2wb0y3lsH6qkKLma1TsJ5d + 4Vi4BO6E/8Gy+S/YXBfDMbBrbG4tgvVUhRYzGztYg+0UJ8AXwF4Jho5tw7Z1HOwcyxgtWENVaDGzsYJt + 7wInwX0wVu6BE2G0HQXbrgotZrbqYJs7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vu+NkQAAAABJRU5ErkJggg== + + + \ No newline at end of file diff --git a/Gestion de commerce Informatique/ConfigurationStock.Designer.cs b/Gestion de commerce Informatique/ConfigurationStock.Designer.cs new file mode 100644 index 0000000..aea3641 --- /dev/null +++ b/Gestion de commerce Informatique/ConfigurationStock.Designer.cs @@ -0,0 +1,407 @@ +namespace Gestion_de_commerce_Informatique +{ + partial class ConfigurationStock + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + VisualPlus.Structure.TextStyle textStyle1 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle2 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle3 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle4 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle5 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle6 = new VisualPlus.Structure.TextStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigurationStock)); + this.vtbPrixHTVA = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.lblPrixHTVA = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.lblStock = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.vtbStock = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.lblDesignation = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.vtbDesignation = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.btnConfirm = new Bunifu.Framework.UI.BunifuFlatButton(); + this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton(); + this.bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); + this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components); + this.SuspendLayout(); + // + // vtbPrixHTVA + // + this.vtbPrixHTVA.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbPrixHTVA.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbPrixHTVA.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbPrixHTVA.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbPrixHTVA.Border.HoverVisible = true; + this.vtbPrixHTVA.Border.Rounding = 6; + this.vtbPrixHTVA.Border.Thickness = 1; + this.vtbPrixHTVA.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbPrixHTVA.Border.Visible = true; + this.vtbPrixHTVA.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbPrixHTVA.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbPrixHTVA.ButtonBorder.HoverVisible = true; + this.vtbPrixHTVA.ButtonBorder.Rounding = 6; + this.vtbPrixHTVA.ButtonBorder.Thickness = 1; + this.vtbPrixHTVA.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbPrixHTVA.ButtonBorder.Visible = true; + this.vtbPrixHTVA.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbPrixHTVA.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbPrixHTVA.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbPrixHTVA.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbPrixHTVA.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbPrixHTVA.ButtonIndent = 3; + this.vtbPrixHTVA.ButtonText = "visualButton"; + this.vtbPrixHTVA.ButtonVisible = false; + this.vtbPrixHTVA.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbPrixHTVA.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbPrixHTVA.ImageSize = new System.Drawing.Size(16, 16); + this.vtbPrixHTVA.ImageVisible = false; + this.vtbPrixHTVA.ImageWidth = 35; + this.vtbPrixHTVA.Location = new System.Drawing.Point(93, 41); + this.vtbPrixHTVA.MaxLength = 49; + this.vtbPrixHTVA.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbPrixHTVA.Name = "vtbPrixHTVA"; + this.vtbPrixHTVA.PasswordChar = '\0'; + this.vtbPrixHTVA.ReadOnly = false; + this.vtbPrixHTVA.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbPrixHTVA.Size = new System.Drawing.Size(273, 25); + this.vtbPrixHTVA.TabIndex = 1; + this.vtbPrixHTVA.TextBoxWidth = 263; + textStyle1.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle1.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle1.Hover = System.Drawing.Color.Empty; + textStyle1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbPrixHTVA.TextStyle = textStyle1; + this.vtbPrixHTVA.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbPrixHTVA.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbPrixHTVA.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbPrixHTVA.Watermark.Text = "Watermark text"; + this.vtbPrixHTVA.Watermark.Visible = false; + // + // lblPrixHTVA + // + this.lblPrixHTVA.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblPrixHTVA.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblPrixHTVA.Location = new System.Drawing.Point(12, 43); + this.lblPrixHTVA.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblPrixHTVA.Name = "lblPrixHTVA"; + this.lblPrixHTVA.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblPrixHTVA.Outline = false; + this.lblPrixHTVA.OutlineColor = System.Drawing.Color.Red; + this.lblPrixHTVA.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblPrixHTVA.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblPrixHTVA.ReflectionSpacing = 0; + this.lblPrixHTVA.ShadowColor = System.Drawing.Color.Black; + this.lblPrixHTVA.ShadowDirection = 315; + this.lblPrixHTVA.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblPrixHTVA.ShadowOpacity = 100; + this.lblPrixHTVA.Size = new System.Drawing.Size(75, 23); + this.lblPrixHTVA.TabIndex = 14; + this.lblPrixHTVA.Text = "Prix HTVA"; + this.lblPrixHTVA.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblPrixHTVA.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle2.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle2.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle2.Hover = System.Drawing.Color.Empty; + textStyle2.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.lblPrixHTVA.TextStyle = textStyle2; + // + // lblStock + // + this.lblStock.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblStock.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblStock.Location = new System.Drawing.Point(12, 74); + this.lblStock.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblStock.Name = "lblStock"; + this.lblStock.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblStock.Outline = false; + this.lblStock.OutlineColor = System.Drawing.Color.Red; + this.lblStock.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblStock.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblStock.ReflectionSpacing = 0; + this.lblStock.ShadowColor = System.Drawing.Color.Black; + this.lblStock.ShadowDirection = 315; + this.lblStock.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblStock.ShadowOpacity = 100; + this.lblStock.Size = new System.Drawing.Size(75, 23); + this.lblStock.TabIndex = 13; + this.lblStock.Text = "Stock"; + this.lblStock.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblStock.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle3.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle3.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle3.Hover = System.Drawing.Color.Empty; + textStyle3.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.lblStock.TextStyle = textStyle3; + // + // vtbStock + // + this.vtbStock.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbStock.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbStock.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbStock.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbStock.Border.HoverVisible = true; + this.vtbStock.Border.Rounding = 6; + this.vtbStock.Border.Thickness = 1; + this.vtbStock.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbStock.Border.Visible = true; + this.vtbStock.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbStock.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbStock.ButtonBorder.HoverVisible = true; + this.vtbStock.ButtonBorder.Rounding = 6; + this.vtbStock.ButtonBorder.Thickness = 1; + this.vtbStock.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbStock.ButtonBorder.Visible = true; + this.vtbStock.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbStock.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbStock.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbStock.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbStock.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbStock.ButtonIndent = 3; + this.vtbStock.ButtonText = "visualButton"; + this.vtbStock.ButtonVisible = false; + this.vtbStock.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbStock.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbStock.ImageSize = new System.Drawing.Size(16, 16); + this.vtbStock.ImageVisible = false; + this.vtbStock.ImageWidth = 35; + this.vtbStock.Location = new System.Drawing.Point(93, 72); + this.vtbStock.MaxLength = 49; + this.vtbStock.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbStock.Name = "vtbStock"; + this.vtbStock.PasswordChar = '\0'; + this.vtbStock.ReadOnly = false; + this.vtbStock.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbStock.Size = new System.Drawing.Size(273, 25); + this.vtbStock.TabIndex = 2; + this.vtbStock.TextBoxWidth = 263; + textStyle4.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle4.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle4.Hover = System.Drawing.Color.Empty; + textStyle4.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbStock.TextStyle = textStyle4; + this.vtbStock.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbStock.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbStock.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbStock.Watermark.Text = "Watermark text"; + this.vtbStock.Watermark.Visible = false; + // + // lblDesignation + // + this.lblDesignation.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblDesignation.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblDesignation.Location = new System.Drawing.Point(12, 14); + this.lblDesignation.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblDesignation.Name = "lblDesignation"; + this.lblDesignation.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblDesignation.Outline = false; + this.lblDesignation.OutlineColor = System.Drawing.Color.Red; + this.lblDesignation.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblDesignation.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblDesignation.ReflectionSpacing = 0; + this.lblDesignation.ShadowColor = System.Drawing.Color.Black; + this.lblDesignation.ShadowDirection = 315; + this.lblDesignation.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblDesignation.ShadowOpacity = 100; + this.lblDesignation.Size = new System.Drawing.Size(75, 23); + this.lblDesignation.TabIndex = 15; + this.lblDesignation.Text = "Designation"; + this.lblDesignation.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblDesignation.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle5.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle5.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle5.Hover = System.Drawing.Color.Empty; + textStyle5.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.lblDesignation.TextStyle = textStyle5; + // + // vtbDesignation + // + this.vtbDesignation.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbDesignation.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbDesignation.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbDesignation.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbDesignation.Border.HoverVisible = true; + this.vtbDesignation.Border.Rounding = 6; + this.vtbDesignation.Border.Thickness = 1; + this.vtbDesignation.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbDesignation.Border.Visible = true; + this.vtbDesignation.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbDesignation.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbDesignation.ButtonBorder.HoverVisible = true; + this.vtbDesignation.ButtonBorder.Rounding = 6; + this.vtbDesignation.ButtonBorder.Thickness = 1; + this.vtbDesignation.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbDesignation.ButtonBorder.Visible = true; + this.vtbDesignation.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbDesignation.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbDesignation.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbDesignation.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbDesignation.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbDesignation.ButtonIndent = 3; + this.vtbDesignation.ButtonText = "visualButton"; + this.vtbDesignation.ButtonVisible = false; + this.vtbDesignation.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbDesignation.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbDesignation.ImageSize = new System.Drawing.Size(16, 16); + this.vtbDesignation.ImageVisible = false; + this.vtbDesignation.ImageWidth = 35; + this.vtbDesignation.Location = new System.Drawing.Point(93, 12); + this.vtbDesignation.MaxLength = 49; + this.vtbDesignation.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbDesignation.Name = "vtbDesignation"; + this.vtbDesignation.PasswordChar = '\0'; + this.vtbDesignation.ReadOnly = false; + this.vtbDesignation.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbDesignation.Size = new System.Drawing.Size(273, 25); + this.vtbDesignation.TabIndex = 0; + this.vtbDesignation.TextBoxWidth = 263; + textStyle6.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle6.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle6.Hover = System.Drawing.Color.Empty; + textStyle6.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbDesignation.TextStyle = textStyle6; + this.vtbDesignation.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbDesignation.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbDesignation.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbDesignation.Watermark.Text = "Watermark text"; + this.vtbDesignation.Watermark.Visible = false; + // + // btnConfirm + // + this.btnConfirm.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.btnConfirm.BorderRadius = 0; + this.btnConfirm.ButtonText = "Ajouter l\'utilisateur"; + this.btnConfirm.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnConfirm.DisabledColor = System.Drawing.Color.Gray; + this.btnConfirm.Iconcolor = System.Drawing.Color.Transparent; + this.btnConfirm.Iconimage = ((System.Drawing.Image)(resources.GetObject("btnConfirm.Iconimage"))); + this.btnConfirm.Iconimage_right = null; + this.btnConfirm.Iconimage_right_Selected = null; + this.btnConfirm.Iconimage_Selected = null; + this.btnConfirm.IconMarginLeft = 0; + this.btnConfirm.IconMarginRight = 0; + this.btnConfirm.IconRightVisible = true; + this.btnConfirm.IconRightZoom = 0D; + this.btnConfirm.IconVisible = true; + this.btnConfirm.IconZoom = 90D; + this.btnConfirm.IsTab = false; + this.btnConfirm.Location = new System.Drawing.Point(213, 254); + this.btnConfirm.Name = "btnConfirm"; + this.btnConfirm.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.btnConfirm.OnHoverTextColor = System.Drawing.Color.White; + this.btnConfirm.selected = false; + this.btnConfirm.Size = new System.Drawing.Size(153, 48); + this.btnConfirm.TabIndex = 7; + this.btnConfirm.Text = "Ajouter l\'utilisateur"; + this.btnConfirm.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnConfirm.Textcolor = System.Drawing.Color.White; + this.btnConfirm.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnConfirm.Click += new System.EventHandler(this.btnConfirm_Click); + // + // bunifuFlatButton1 + // + this.bunifuFlatButton1.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.bunifuFlatButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.bunifuFlatButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.bunifuFlatButton1.BorderRadius = 0; + this.bunifuFlatButton1.ButtonText = "Annuler"; + this.bunifuFlatButton1.Cursor = System.Windows.Forms.Cursors.Hand; + this.bunifuFlatButton1.DisabledColor = System.Drawing.Color.Gray; + this.bunifuFlatButton1.Iconcolor = System.Drawing.Color.Transparent; + this.bunifuFlatButton1.Iconimage = ((System.Drawing.Image)(resources.GetObject("bunifuFlatButton1.Iconimage"))); + this.bunifuFlatButton1.Iconimage_right = null; + this.bunifuFlatButton1.Iconimage_right_Selected = null; + this.bunifuFlatButton1.Iconimage_Selected = null; + this.bunifuFlatButton1.IconMarginLeft = 0; + this.bunifuFlatButton1.IconMarginRight = 0; + this.bunifuFlatButton1.IconRightVisible = true; + this.bunifuFlatButton1.IconRightZoom = 0D; + this.bunifuFlatButton1.IconVisible = true; + this.bunifuFlatButton1.IconZoom = 90D; + this.bunifuFlatButton1.IsTab = false; + this.bunifuFlatButton1.Location = new System.Drawing.Point(12, 254); + this.bunifuFlatButton1.Name = "bunifuFlatButton1"; + this.bunifuFlatButton1.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.bunifuFlatButton1.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.bunifuFlatButton1.OnHoverTextColor = System.Drawing.Color.White; + this.bunifuFlatButton1.selected = false; + this.bunifuFlatButton1.Size = new System.Drawing.Size(153, 48); + this.bunifuFlatButton1.TabIndex = 8; + this.bunifuFlatButton1.Text = "Annuler"; + this.bunifuFlatButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.bunifuFlatButton1.Textcolor = System.Drawing.Color.White; + this.bunifuFlatButton1.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.bunifuFlatButton1.Click += new System.EventHandler(this.bunifuFlatButton1_Click); + // + // bunifuElipse1 + // + this.bunifuElipse1.ElipseRadius = 5; + this.bunifuElipse1.TargetControl = this; + // + // bunifuDragControl1 + // + this.bunifuDragControl1.Fixed = true; + this.bunifuDragControl1.Horizontal = true; + this.bunifuDragControl1.TargetControl = this; + this.bunifuDragControl1.Vertical = true; + // + // ConfigurationStock + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(378, 314); + this.Controls.Add(this.bunifuFlatButton1); + this.Controls.Add(this.btnConfirm); + this.Controls.Add(this.lblDesignation); + this.Controls.Add(this.vtbDesignation); + this.Controls.Add(this.lblStock); + this.Controls.Add(this.vtbStock); + this.Controls.Add(this.lblPrixHTVA); + this.Controls.Add(this.vtbPrixHTVA); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "ConfigurationStock"; + this.Text = "AjoutUtilisateur"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbPrixHTVA; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblPrixHTVA; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblStock; + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbStock; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblDesignation; + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbDesignation; + private Bunifu.Framework.UI.BunifuFlatButton btnConfirm; + private Bunifu.Framework.UI.BunifuFlatButton bunifuFlatButton1; + private Bunifu.Framework.UI.BunifuElipse bunifuElipse1; + private Bunifu.Framework.UI.BunifuDragControl bunifuDragControl1; + } +} \ No newline at end of file diff --git a/Gestion de commerce Informatique/ConfigurationStock.cs b/Gestion de commerce Informatique/ConfigurationStock.cs new file mode 100644 index 0000000..68fbc1a --- /dev/null +++ b/Gestion de commerce Informatique/ConfigurationStock.cs @@ -0,0 +1,73 @@ +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; +using GestionDeCommerceInfoClasseBDDNCouches; +using GestionDeCommerceInfoClasseBDDNCouches.DataLayer; + +namespace Gestion_de_commerce_Informatique +{ + public partial class ConfigurationStock : Form + { + BDDAccesArticle bddArticle; + public Article article; + bool Modif; + public ConfigurationStock(BDDAccesArticle bddArticle) + { + InitializeComponent(); + this.bddArticle = bddArticle; + Modif = false; + } + public ConfigurationStock(Article article, BDDAccesArticle bddArticle) + { + InitializeComponent(); + this.bddArticle = bddArticle; + this.article = article; + vtbDesignation.Text = article.Designation; + vtbPrixHTVA.Text = article.PrixHTVA.ToString(); + vtbStock.Text = article.Stock.ToString(); + btnConfirm.Text = "Mettre à jours"; + + Modif = true; + } + + private void bunifuFlatButton1_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void btnConfirm_Click(object sender, EventArgs e) + { + int stock; float prixHTVA; + if (int.TryParse(vtbStock.Text, out stock) == true && float.TryParse(vtbPrixHTVA.Text, out prixHTVA)) + { + if (Modif) + { + article.Designation = vtbDesignation.Text; + article.PrixHTVA = prixHTVA; + article.Stock = stock; + bddArticle.ModifArticle(article); + } + else + { + + this.article = new Article(vtbDesignation.Text, prixHTVA, stock, true, true); + bddArticle.AjouterArticle(article); + + + } + this.Close(); + } + else + { + MessageBox.Show("Prix Hors TVA ou Stock incorect"); + } + + } + } +} diff --git a/Gestion de commerce Informatique/ConfigurationStock.resx b/Gestion de commerce Informatique/ConfigurationStock.resx new file mode 100644 index 0000000..cf5dccf --- /dev/null +++ b/Gestion de commerce Informatique/ConfigurationStock.resx @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAANJElEQVR4Xu3d + a+hsZRUGcC/lDUKzMFOzrJPKMeKIwqkvoeSH/GAgplkfNEhKyIikkqORhrdMEyGiAikIsoI0S0u6qZRm + ec8isdLKboplalB28/SsWWvgz5ln73n3zN6zZ708D/zgsM563/0Oc/aZy77MTtu3bxeRBrQoIo4WRcTR + oog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKI + OFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDha + FBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WsxM + GTfsOcmMFjNTxg17TjKjxcyUccOek8xoMTNl3LDnJDNazEwZN+w5yYwWM1PGDXtOMqPFzJRxw56TzGgx + M2XcsOckM1rMTBk37DnJjBYzW+dgffvC8XA2fBZuhYfDkzuY1m+Bz8D74U2wb0y3lsH6qkKLma1TsJ5d + 4Vi4BO6E/8Gy+S/YXBfDMbBrbG4tgvVUhRYzGztYg+0UJ8AXwF4Jho5tw7Z1HOwcyxgtWENVaDGzsYJt + 7wInwX0wVu6BE2G0HQXbrgotZrbqYJs7w1vh57AueQBOjiWuNNhuVWgxs1UG23sd2P/a65q7YWssdyXB + 9qpCi5mtItjOnnAl/Ae65jG4Fi6EU2EL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iwbbrQotZjZWsG37fHA83ApjxT5nnAi9HtvoEmy7KrSY2ToE67B73NpReDtFfujYKS/2S7tHx+ZHDdZR + FVrMbJ2C9djpHseC7Sx3QZdvnZpip47YNfSXwDEwyt1QmoL1VIUWM1vnYH0vAruLin3la//r208f3A12 + zORJmMb+bDX7O+uxXhtjYxf6odFVBeurCi1mpowb9pxkRouZKeOGPSeZ0WJmyrhhz0lmtJiZMm7Yc5IZ + LWamjBv2nGRGi5kp44Y9J5nRYmbKuGHPSWa0mJkybthzkhktZqaMG/acZEaLIuJoUUQcLYqIo0URcbQo + Io4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKO + FkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZF + xNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URMdt3+j81Kgk9 + Vu+NkQAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAANJElEQVR4Xu3d + a+hsZRUGcC/lDUKzMFOzrJPKMeKIwqkvoeSH/GAgplkfNEhKyIikkqORhrdMEyGiAikIsoI0S0u6qZRm + ec8isdLKboplalB28/SsWWvgz5ln73n3zN6zZ708D/zgsM563/0Oc/aZy77MTtu3bxeRBrQoIo4WRcTR + oog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKI + OFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDha + FBFHiyLiaFFEH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71Joi50afwEM/psgXWNrirXZGtty + UQzpJZivKrSYWZ/BfHYw7XMwL3Y+1dr8dDTWciBcbwubk6th5xjWSzBfVWgxsyGCedsOqk1jp2zY/9hj + nldl53XZGppOH9mYc2JYr8G8VaHFzIYK5j4X7MPsvDwIp0HrTy73GdsWnA4PwbzYYxjygrCq0GJmQwbz + nwxPQUnsmMnZMNhbL8xtb6VsG23HNjbG1v6WGD5IMH9VaDGzoYNt2JHoH0Np7Drv74PdrG5zTLNQMN4+ + Ex0B74WboekachY7frP0cY55wTaqQouZrSLYjh1xt1+D/Sd0zWNwLVwIdrxlCxwMe8f0Nv/eUTsS3gYX + gY15HLrGzi+zHxcd7BLijcF2qkKLma0y2J69xfkqrGu+Ca+K5a4k2F5VaDGzMYLt2meT+2Bd8gAs9ZPW + iwbbrQotZjZWsG37fHA83ApjxT5nnAi9HtvoEmy7KrSY2ToE67B73NpReDtFfujYKS/2S7tHx+ZHDdZR + FVrMbJ2C9djpHseC7Sx3QZdvnZpip47YNfSXwDEwyt1QmoL1VIUWM1vnYH0vAruLin3la//r208f3A12 + zORJmMb+bDX7O+uxXhtjYxf6odFVBeurCi1mpowb9pxkRouZKeOGPSeZ0WJmyrhhz0lmtJiZMm7Yc5IZ + LWamjBv2nGRGi5kp44Y9J5nRYmbKuGHPSWa0mJkybthzkhktZqaMG/acZEaLIuJoUUQcLYqIo0URcbQo + Io4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKO + FkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZF + xNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URMdt3+j81Kgk9 + Vu+NkQAAAABJRU5ErkJggg== + + + + 17, 17 + + + 141, 17 + + \ No newline at end of file diff --git a/Gestion de commerce Informatique/ConfigurationUtilisateur.Designer.cs b/Gestion de commerce Informatique/ConfigurationUtilisateur.Designer.cs index 112ff4f..0033814 100644 --- a/Gestion de commerce Informatique/ConfigurationUtilisateur.Designer.cs +++ b/Gestion de commerce Informatique/ConfigurationUtilisateur.Designer.cs @@ -57,8 +57,8 @@ this.vtbEmail = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); this.lblType = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); this.cbType = new VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox(); - this.btnConfirm = new Bunifu.Framework.UI.BunifuFlatButton(); this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton(); + this.btnConfirm = new Bunifu.Framework.UI.BunifuFlatButton(); this.SuspendLayout(); // // vtbNom @@ -588,41 +588,6 @@ this.cbType.Watermark.Text = "Watermark text"; this.cbType.Watermark.Visible = false; // - // btnConfirm - // - this.btnConfirm.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); - this.btnConfirm.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); - this.btnConfirm.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.btnConfirm.BorderRadius = 0; - this.btnConfirm.ButtonText = "Ajouter l\'utilisateur"; - this.btnConfirm.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnConfirm.DisabledColor = System.Drawing.Color.Gray; - this.btnConfirm.Iconcolor = System.Drawing.Color.Transparent; - this.btnConfirm.Iconimage = ((System.Drawing.Image)(resources.GetObject("btnConfirm.Iconimage"))); - this.btnConfirm.Iconimage_right = null; - this.btnConfirm.Iconimage_right_Selected = null; - this.btnConfirm.Iconimage_Selected = null; - this.btnConfirm.IconMarginLeft = 0; - this.btnConfirm.IconMarginRight = 0; - this.btnConfirm.IconRightVisible = true; - this.btnConfirm.IconRightZoom = 0D; - this.btnConfirm.IconVisible = true; - this.btnConfirm.IconZoom = 90D; - this.btnConfirm.IsTab = false; - this.btnConfirm.Location = new System.Drawing.Point(213, 254); - this.btnConfirm.Name = "btnConfirm"; - this.btnConfirm.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); - this.btnConfirm.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); - this.btnConfirm.OnHoverTextColor = System.Drawing.Color.White; - this.btnConfirm.selected = false; - this.btnConfirm.Size = new System.Drawing.Size(153, 48); - this.btnConfirm.TabIndex = 7; - this.btnConfirm.Text = "Ajouter l\'utilisateur"; - this.btnConfirm.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnConfirm.Textcolor = System.Drawing.Color.White; - this.btnConfirm.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnConfirm.Click += new System.EventHandler(this.btnConfirm_Click); - // // bunifuFlatButton1 // this.bunifuFlatButton1.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); @@ -658,6 +623,41 @@ this.bunifuFlatButton1.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.bunifuFlatButton1.Click += new System.EventHandler(this.bunifuFlatButton1_Click); // + // btnConfirm + // + this.btnConfirm.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.btnConfirm.BorderRadius = 0; + this.btnConfirm.ButtonText = "Ajouter l\'utilisateur"; + this.btnConfirm.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnConfirm.DisabledColor = System.Drawing.Color.Gray; + this.btnConfirm.Iconcolor = System.Drawing.Color.Transparent; + this.btnConfirm.Iconimage = ((System.Drawing.Image)(resources.GetObject("btnConfirm.Iconimage"))); + this.btnConfirm.Iconimage_right = null; + this.btnConfirm.Iconimage_right_Selected = null; + this.btnConfirm.Iconimage_Selected = null; + this.btnConfirm.IconMarginLeft = 0; + this.btnConfirm.IconMarginRight = 0; + this.btnConfirm.IconRightVisible = true; + this.btnConfirm.IconRightZoom = 0D; + this.btnConfirm.IconVisible = true; + this.btnConfirm.IconZoom = 90D; + this.btnConfirm.IsTab = false; + this.btnConfirm.Location = new System.Drawing.Point(213, 254); + this.btnConfirm.Name = "btnConfirm"; + this.btnConfirm.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.btnConfirm.OnHoverTextColor = System.Drawing.Color.White; + this.btnConfirm.selected = false; + this.btnConfirm.Size = new System.Drawing.Size(153, 48); + this.btnConfirm.TabIndex = 7; + this.btnConfirm.Text = "Ajouter l\'utilisateur"; + this.btnConfirm.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnConfirm.Textcolor = System.Drawing.Color.White; + this.btnConfirm.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnConfirm.Click += new System.EventHandler(this.btnConfirm_Click); + // // ConfigurationUtilisateur // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); diff --git a/Gestion de commerce Informatique/ConfigurationUtilisateur.resx b/Gestion de commerce Informatique/ConfigurationUtilisateur.resx index d71f5b5..a72c9c7 100644 --- a/Gestion de commerce Informatique/ConfigurationUtilisateur.resx +++ b/Gestion de commerce Informatique/ConfigurationUtilisateur.resx @@ -118,69 +118,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAANJElEQVR4Xu3d - a+hsZRUGcC/lDUKzMFOzrJPKMeKIwqkvoeSH/GAgplkfNEhKyIikkqORhrdMEyGiAikIsoI0S0u6qZRm - ec8isdLKboplalB28/SsWWvgz5ln73n3zN6zZ708D/zgsM563/0Oc/aZy77MTtu3bxeRBrQoIo4WRcTR - oog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKI - OFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDha - FBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WsxM - GTfsOcmMFjNTxg17TjKjxcyUccOek8xoMTNl3LDnJDNazEwZN+w5yYwWM1PGDXtOMqPFzJRxw56TzGgx - M2XcsOckM1rMTBk37DnJjBYzW+dgffvC8XA2fBZuhYfDkzuY1m+Bz8D74U2wb0y3lsH6qkKLma1TsJ5d - 4Vi4BO6E/8Gy+S/YXBfDMbBrbG4tgvVUhRYzGztYg+0UJ8AXwF4Jho5tw7Z1HOwcyxgtWENVaDGzsYJt - 7wInwX0wVu6BE2G0HQXbrgotZrbqYJs7w1vh57AueQBOjiWuNNhuVWgxs1UG23sd2P/a65q7YWssdyXB - 9qpCi5mtItjOnnAl/Ae65jG4Fi6EU2ELvBL2gxcG+7PV7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FFEHC2KiKNFEXG0KCKO + FkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZF + xNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URMdt3+j81Kgk9 + Vu+NkQAAAABJRU5ErkJggg== \ No newline at end of file diff --git a/Gestion de commerce Informatique/DashBoard.Designer.cs b/Gestion de commerce Informatique/DashBoard.Designer.cs index 9ef1a20..bc63581 100644 --- a/Gestion de commerce Informatique/DashBoard.Designer.cs +++ b/Gestion de commerce Informatique/DashBoard.Designer.cs @@ -30,9 +30,8 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DashBoard)); this.bunifuCustomLabel1 = new Bunifu.Framework.UI.BunifuCustomLabel(); - this.bunifuGauge2 = new Bunifu.Framework.UI.BunifuGauge(); this.lblAlertStock = new Bunifu.Framework.UI.BunifuCustomLabel(); - this.dgvUser = new System.Windows.Forms.DataGridView(); + this.dgvAlertStock = new System.Windows.Forms.DataGridView(); this.id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Nom = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Quantité = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -41,7 +40,8 @@ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).BeginInit(); + this.bunifuGauge2 = new Bunifu.Framework.UI.BunifuGauge(); + ((System.ComponentModel.ISupportInitialize)(this.dgvAlertStock)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // @@ -55,22 +55,6 @@ this.bunifuCustomLabel1.TabIndex = 3; this.bunifuCustomLabel1.Text = "Chiffre d\'afaire"; // - // bunifuGauge2 - // - this.bunifuGauge2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGauge2.BackgroundImage"))); - this.bunifuGauge2.Font = new System.Drawing.Font("Century Gothic", 15.75F); - this.bunifuGauge2.Location = new System.Drawing.Point(443, 36); - this.bunifuGauge2.Margin = new System.Windows.Forms.Padding(6); - this.bunifuGauge2.Name = "bunifuGauge2"; - this.bunifuGauge2.ProgressBgColor = System.Drawing.Color.Gray; - this.bunifuGauge2.ProgressColor1 = System.Drawing.Color.Red; - this.bunifuGauge2.ProgressColor2 = System.Drawing.Color.Green; - this.bunifuGauge2.Size = new System.Drawing.Size(171, 102); - this.bunifuGauge2.Suffix = ""; - this.bunifuGauge2.TabIndex = 2; - this.bunifuGauge2.Thickness = 30; - this.bunifuGauge2.Value = 100; - // // lblAlertStock // this.lblAlertStock.AutoSize = true; @@ -81,22 +65,22 @@ this.lblAlertStock.TabIndex = 4; this.lblAlertStock.Text = "Alerte stock"; // - // dgvUser + // dgvAlertStock // - this.dgvUser.AllowUserToAddRows = false; - this.dgvUser.AllowUserToDeleteRows = false; - this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dgvAlertStock.AllowUserToAddRows = false; + this.dgvAlertStock.AllowUserToDeleteRows = false; + this.dgvAlertStock.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvAlertStock.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.id, this.Nom, this.Quantité}); - this.dgvUser.Location = new System.Drawing.Point(364, 172); - this.dgvUser.Name = "dgvUser"; - this.dgvUser.ReadOnly = true; - this.dgvUser.RowHeadersVisible = false; - this.dgvUser.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvUser.Size = new System.Drawing.Size(330, 302); - this.dgvUser.TabIndex = 5; + this.dgvAlertStock.Location = new System.Drawing.Point(364, 172); + this.dgvAlertStock.Name = "dgvAlertStock"; + this.dgvAlertStock.ReadOnly = true; + this.dgvAlertStock.RowHeadersVisible = false; + this.dgvAlertStock.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dgvAlertStock.Size = new System.Drawing.Size(330, 302); + this.dgvAlertStock.TabIndex = 5; // // id // @@ -179,6 +163,22 @@ this.dataGridViewTextBoxColumn3.ReadOnly = true; this.dataGridViewTextBoxColumn3.Width = 75; // + // bunifuGauge2 + // + this.bunifuGauge2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGauge2.BackgroundImage"))); + this.bunifuGauge2.Font = new System.Drawing.Font("Century Gothic", 15.75F); + this.bunifuGauge2.Location = new System.Drawing.Point(443, 36); + this.bunifuGauge2.Margin = new System.Windows.Forms.Padding(6); + this.bunifuGauge2.Name = "bunifuGauge2"; + this.bunifuGauge2.ProgressBgColor = System.Drawing.Color.Gray; + this.bunifuGauge2.ProgressColor1 = System.Drawing.Color.Red; + this.bunifuGauge2.ProgressColor2 = System.Drawing.Color.Green; + this.bunifuGauge2.Size = new System.Drawing.Size(171, 102); + this.bunifuGauge2.Suffix = ""; + this.bunifuGauge2.TabIndex = 2; + this.bunifuGauge2.Thickness = 30; + this.bunifuGauge2.Value = 100; + // // DashBoard // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -186,13 +186,13 @@ this.BackColor = System.Drawing.SystemColors.ActiveBorder; this.Controls.Add(this.dataGridView1); this.Controls.Add(this.lblComandeEnCours); - this.Controls.Add(this.dgvUser); + this.Controls.Add(this.dgvAlertStock); this.Controls.Add(this.lblAlertStock); this.Controls.Add(this.bunifuCustomLabel1); this.Controls.Add(this.bunifuGauge2); this.Name = "DashBoard"; this.Size = new System.Drawing.Size(697, 477); - ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvAlertStock)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -203,7 +203,7 @@ private Bunifu.Framework.UI.BunifuCustomLabel bunifuCustomLabel1; private Bunifu.Framework.UI.BunifuGauge bunifuGauge2; private Bunifu.Framework.UI.BunifuCustomLabel lblAlertStock; - private System.Windows.Forms.DataGridView dgvUser; + private System.Windows.Forms.DataGridView dgvAlertStock; private System.Windows.Forms.DataGridViewTextBoxColumn id; private System.Windows.Forms.DataGridViewTextBoxColumn Nom; private System.Windows.Forms.DataGridViewTextBoxColumn Quantité; diff --git a/Gestion de commerce Informatique/DashBoard.cs b/Gestion de commerce Informatique/DashBoard.cs index 5b56a3c..13e9bd2 100644 --- a/Gestion de commerce Informatique/DashBoard.cs +++ b/Gestion de commerce Informatique/DashBoard.cs @@ -8,21 +8,46 @@ using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using GestionDeCommerceInfoClasseBDDNCouches.DataLayer; +using GestionDeCommerceInfoClasseBDDNCouches; namespace Gestion_de_commerce_Informatique { public partial class DashBoard : UserControl { - + BDDAccesArticle bddArticle = new BDDAccesArticle(Settings1.Default.ChaineDeConnection); + private DataTable dtArticle; + private BindingSource bsArticle; public DashBoard() { InitializeComponent(); this.BackColor = Color.Transparent; + bsArticle = new BindingSource(); + RemplirDVG(dgvAlertStock); } private void dgvUser_CellContentClick(object sender, DataGridViewCellEventArgs e) { } + + private void RemplirDVG(DataGridView dgv) + { + dtArticle = new DataTable(); + dtArticle.Columns.Add(new DataColumn("id", System.Type.GetType("System.Int32"))); + dtArticle.Columns.Add("Article"); + dtArticle.Columns.Add("Quantite"); + List
larticles; + larticles = bddArticle.VerifStock(Settings1.Default.AlerteStock); + foreach (Article Tmp in larticles) + dtArticle.Rows.Add(Tmp.ID, Tmp.Designation, Tmp.Stock); + + bsArticle.DataSource = dtArticle; + dgv.DataSource = bsArticle; + + } + public void RemplirDVG() + { + RemplirDVG(dgvAlertStock); + } } } diff --git a/Gestion de commerce Informatique/DashBoard.resx b/Gestion de commerce Informatique/DashBoard.resx index 3bc252e..28376d2 100644 --- a/Gestion de commerce Informatique/DashBoard.resx +++ b/Gestion de commerce Informatique/DashBoard.resx @@ -117,6 +117,33 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + @@ -148,22 +175,4 @@ QmCC - - True - - - True - - - True - - - True - - - True - - - True - \ No newline at end of file diff --git a/Gestion de commerce Informatique/Form1.Designer.cs b/Gestion de commerce Informatique/Form1.Designer.cs index 9c6e026..a428e1c 100644 --- a/Gestion de commerce Informatique/Form1.Designer.cs +++ b/Gestion de commerce Informatique/Form1.Designer.cs @@ -34,22 +34,21 @@ this.bunifuDragControlPanRight = new Bunifu.Framework.UI.BunifuDragControl(this.components); this.panRight = new System.Windows.Forms.Panel(); this.bunifuDragControlBgPanelLeft = new Bunifu.Framework.UI.BunifuDragControl(this.components); - this.panTop = new System.Windows.Forms.Panel(); - this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.bgPanelLeft = new Bunifu.Framework.UI.BunifuGradientPanel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.btnExit = new Bunifu.Framework.UI.BunifuFlatButton(); this.btnConfig = new Bunifu.Framework.UI.BunifuFlatButton(); this.btnUserMannager = new Bunifu.Framework.UI.BunifuFlatButton(); - this.bunifuFlatButton3 = new Bunifu.Framework.UI.BunifuFlatButton(); this.btnStock = new Bunifu.Framework.UI.BunifuFlatButton(); this.btnCommande = new Bunifu.Framework.UI.BunifuFlatButton(); this.btnDashBoard = new Bunifu.Framework.UI.BunifuFlatButton(); - this.panTop.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + this.panTop = new System.Windows.Forms.Panel(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components); this.bgPanelLeft.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.panTop.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); this.SuspendLayout(); // // bunifuElipse1 @@ -79,36 +78,6 @@ this.bunifuDragControlBgPanelLeft.TargetControl = this.bgPanelLeft; this.bunifuDragControlBgPanelLeft.Vertical = true; // - // panTop - // - this.panTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); - this.panTop.Controls.Add(this.pictureBox2); - this.panTop.Dock = System.Windows.Forms.DockStyle.Top; - this.panTop.Location = new System.Drawing.Point(214, 0); - this.panTop.Name = "panTop"; - this.panTop.Size = new System.Drawing.Size(697, 24); - this.panTop.TabIndex = 2; - // - // bunifuDragControl1 - // - this.bunifuDragControl1.Fixed = true; - this.bunifuDragControl1.Horizontal = true; - this.bunifuDragControl1.TargetControl = this.panTop; - this.bunifuDragControl1.Vertical = true; - // - // pictureBox2 - // - this.pictureBox2.BackColor = System.Drawing.Color.Transparent; - this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand; - this.pictureBox2.Image = global::Gestion_de_commerce_Informatique.Properties.Resources.exit2; - this.pictureBox2.Location = new System.Drawing.Point(676, 3); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(18, 18); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 3; - this.pictureBox2.TabStop = false; - this.pictureBox2.Click += new System.EventHandler(this.btnExit_Click); - // // bgPanelLeft // this.bgPanelLeft.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bgPanelLeft.BackgroundImage"))); @@ -117,7 +86,6 @@ this.bgPanelLeft.Controls.Add(this.btnExit); this.bgPanelLeft.Controls.Add(this.btnConfig); this.bgPanelLeft.Controls.Add(this.btnUserMannager); - this.bgPanelLeft.Controls.Add(this.bunifuFlatButton3); this.bgPanelLeft.Controls.Add(this.btnStock); this.bgPanelLeft.Controls.Add(this.btnCommande); this.bgPanelLeft.Controls.Add(this.btnDashBoard); @@ -251,41 +219,6 @@ this.btnUserMannager.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUserMannager.Click += new System.EventHandler(this.btn_Click); // - // bunifuFlatButton3 - // - this.bunifuFlatButton3.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.bunifuFlatButton3.BackColor = System.Drawing.Color.Transparent; - this.bunifuFlatButton3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.bunifuFlatButton3.BorderRadius = 0; - this.bunifuFlatButton3.ButtonText = "bunifuFlatButton3"; - this.bunifuFlatButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.bunifuFlatButton3.DisabledColor = System.Drawing.Color.Gray; - this.bunifuFlatButton3.Iconcolor = System.Drawing.Color.Transparent; - this.bunifuFlatButton3.Iconimage = ((System.Drawing.Image)(resources.GetObject("bunifuFlatButton3.Iconimage"))); - this.bunifuFlatButton3.Iconimage_right = null; - this.bunifuFlatButton3.Iconimage_right_Selected = null; - this.bunifuFlatButton3.Iconimage_Selected = null; - this.bunifuFlatButton3.IconMarginLeft = 25; - this.bunifuFlatButton3.IconMarginRight = 0; - this.bunifuFlatButton3.IconRightVisible = true; - this.bunifuFlatButton3.IconRightZoom = 0D; - this.bunifuFlatButton3.IconVisible = true; - this.bunifuFlatButton3.IconZoom = 90D; - this.bunifuFlatButton3.IsTab = false; - this.bunifuFlatButton3.Location = new System.Drawing.Point(3, 261); - this.bunifuFlatButton3.Name = "bunifuFlatButton3"; - this.bunifuFlatButton3.Normalcolor = System.Drawing.Color.Transparent; - this.bunifuFlatButton3.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(36)))), ((int)(((byte)(36)))), ((int)(((byte)(36))))); - this.bunifuFlatButton3.OnHoverTextColor = System.Drawing.Color.White; - this.bunifuFlatButton3.selected = false; - this.bunifuFlatButton3.Size = new System.Drawing.Size(205, 47); - this.bunifuFlatButton3.TabIndex = 3; - this.bunifuFlatButton3.TabStop = false; - this.bunifuFlatButton3.Text = "bunifuFlatButton3"; - this.bunifuFlatButton3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.bunifuFlatButton3.Textcolor = System.Drawing.Color.White; - this.bunifuFlatButton3.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - // // btnStock // this.btnStock.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); @@ -394,6 +327,36 @@ this.btnDashBoard.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDashBoard.Click += new System.EventHandler(this.btn_Click); // + // panTop + // + this.panTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); + this.panTop.Controls.Add(this.pictureBox2); + this.panTop.Dock = System.Windows.Forms.DockStyle.Top; + this.panTop.Location = new System.Drawing.Point(214, 0); + this.panTop.Name = "panTop"; + this.panTop.Size = new System.Drawing.Size(697, 24); + this.panTop.TabIndex = 2; + // + // pictureBox2 + // + this.pictureBox2.BackColor = System.Drawing.Color.Transparent; + this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand; + this.pictureBox2.Image = global::Gestion_de_commerce_Informatique.Properties.Resources.exit2; + this.pictureBox2.Location = new System.Drawing.Point(676, 3); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(18, 18); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox2.TabIndex = 3; + this.pictureBox2.TabStop = false; + this.pictureBox2.Click += new System.EventHandler(this.btnExit_Click); + // + // bunifuDragControl1 + // + this.bunifuDragControl1.Fixed = true; + this.bunifuDragControl1.Horizontal = true; + this.bunifuDragControl1.TargetControl = this.panTop; + this.bunifuDragControl1.Vertical = true; + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -406,10 +369,10 @@ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Form1"; this.Text = "Form1"; - this.panTop.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); this.bgPanelLeft.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.panTop.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); this.ResumeLayout(false); } @@ -423,7 +386,6 @@ private Bunifu.Framework.UI.BunifuFlatButton btnExit; private Bunifu.Framework.UI.BunifuFlatButton btnConfig; private Bunifu.Framework.UI.BunifuFlatButton btnUserMannager; - private Bunifu.Framework.UI.BunifuFlatButton bunifuFlatButton3; private Bunifu.Framework.UI.BunifuFlatButton btnStock; private Bunifu.Framework.UI.BunifuFlatButton btnCommande; private System.Windows.Forms.Panel panRight; diff --git a/Gestion de commerce Informatique/Form1.cs b/Gestion de commerce Informatique/Form1.cs index d35c342..abf7497 100644 --- a/Gestion de commerce Informatique/Form1.cs +++ b/Gestion de commerce Informatique/Form1.cs @@ -20,6 +20,7 @@ namespace Gestion_de_commerce_Informatique DashBoard dashBoard; GestionUtilisateurs gestionUtilisateur; Commande commande; + GestionStock gestionStock; public Form1() @@ -27,7 +28,8 @@ namespace Gestion_de_commerce_Informatique InitializeComponent(); dashBoard = new DashBoard(); gestionUtilisateur = new GestionUtilisateurs(); - commande = new Commande(); ; + commande = new Commande(); + gestionStock = new GestionStock(); panRightControl = dashBoard; this.panRight.Controls.Add((Control)panRightControl); @@ -51,6 +53,7 @@ namespace Gestion_de_commerce_Informatique { case "DashBoard": this.panRight.Controls.Remove((Control)panRightControl); + dashBoard.RemplirDVG(); panRightControl = dashBoard; this.panRight.Controls.Add((Control)panRightControl); @@ -61,11 +64,17 @@ namespace Gestion_de_commerce_Informatique this.panRight.Controls.Add((Control)panRightControl); break; case "Stock": + this.panRight.Controls.Remove((Control)panRightControl); + //gestionStock.RemplirDVG(); + panRightControl = gestionStock; + this.panRight.Controls.Add((Control)panRightControl); break; case "Configuration": + break; case "Gestion utilisateurs": this.panRight.Controls.Remove((Control)panRightControl); + gestionUtilisateur.RemplirDVG(); panRightControl = gestionUtilisateur; this.panRight.Controls.Add((Control)panRightControl); break; diff --git a/Gestion de commerce Informatique/Form1.resx b/Gestion de commerce Informatique/Form1.resx index 0785a23..d5f0579 100644 --- a/Gestion de commerce Informatique/Form1.resx +++ b/Gestion de commerce Informatique/Form1.resx @@ -131,69 +131,6 @@ d7B5A5PXUHkFmZemWH4QyymhfMaXI4byCld2seUxpmygyh1kWZli/U2sZ4T6DV+PGep7XD3A1ueYuo2q D5D19hTbX2L7RWhn+PaVoR3j2jtsO8C0Z6i2jWz3p9j/EfsfQv+J798Z+hdc/4TtbzH9JarPkH2L/5fF r427yylqAAAAAElFTkSuQmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAANJElEQVR4Xu3d - a+hsZRUGcC/lDUKzMFOzrJPKMeKIwqkvoeSH/GAgplkfNEhKyIikk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FHiyLiaFFEHC2KiKNFEXG0KCKO - FkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZF - xNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URMdt3+j81Kgk9 - Vu+NkQAAAABJRU5ErkJggg== diff --git a/Gestion de commerce Informatique/Gestion de commerce Informatique.csproj b/Gestion de commerce Informatique/Gestion de commerce Informatique.csproj index 2a44298..1bea934 100644 --- a/Gestion de commerce Informatique/Gestion de commerce Informatique.csproj +++ b/Gestion de commerce Informatique/Gestion de commerce Informatique.csproj @@ -57,6 +57,18 @@ + + Form + + + ConfigCommande.cs + + + Form + + + ConfigurationStock.cs + Form @@ -69,6 +81,12 @@ Commande.cs + + UserControl + + + GestionStock.cs + Form @@ -89,12 +107,26 @@ DashBoard.cs + + True + True + Settings1.settings + + + ConfigCommande.cs + + + ConfigurationStock.cs + ConfigurationUtilisateur.cs Commande.cs + + GestionStock.cs + DashBoard.cs @@ -124,12 +156,20 @@ Settings.settings True + + SettingsSingleFileGenerator + Settings1.Designer.cs + + + + + diff --git a/Gestion de commerce Informatique/GestionStock.Designer.cs b/Gestion de commerce Informatique/GestionStock.Designer.cs new file mode 100644 index 0000000..d0b40bb --- /dev/null +++ b/Gestion de commerce Informatique/GestionStock.Designer.cs @@ -0,0 +1,171 @@ +namespace Gestion_de_commerce_Informatique +{ + partial class GestionStock + { + /// + /// Variable nécessaire au concepteur. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Nettoyage des ressources utilisées. + /// + /// true si les ressources managées doivent être supprimées ; sinon, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Code généré par le Concepteur de composants + + /// + /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas + /// le contenu de cette méthode avec l'éditeur de code. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GestionStock)); + this.dgvArticle = new System.Windows.Forms.DataGridView(); + this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton(); + this.txtBoxRecherche = new Bunifu.Framework.UI.BunifuTextbox(); + this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Stock = new System.Windows.Forms.DataGridViewTextBoxColumn(); + ((System.ComponentModel.ISupportInitialize)(this.dgvArticle)).BeginInit(); + this.SuspendLayout(); + // + // dgvArticle + // + this.dgvArticle.AllowUserToAddRows = false; + this.dgvArticle.AllowUserToDeleteRows = false; + this.dgvArticle.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvArticle.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn1, + this.dataGridViewTextBoxColumn2, + this.dataGridViewTextBoxColumn3, + this.Stock}); + this.dgvArticle.Location = new System.Drawing.Point(20, 51); + this.dgvArticle.Name = "dgvArticle"; + this.dgvArticle.ReadOnly = true; + this.dgvArticle.RowHeadersVisible = false; + this.dgvArticle.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dgvArticle.Size = new System.Drawing.Size(664, 343); + this.dgvArticle.TabIndex = 7; + this.dgvArticle.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick); + this.dgvArticle.DoubleClick += new System.EventHandler(this.dgvArticle_DoubleClick); + // + // bunifuFlatButton1 + // + this.bunifuFlatButton1.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.bunifuFlatButton1.BackColor = System.Drawing.Color.Transparent; + this.bunifuFlatButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.bunifuFlatButton1.BorderRadius = 0; + this.bunifuFlatButton1.ButtonText = "Ajouter un article"; + this.bunifuFlatButton1.Cursor = System.Windows.Forms.Cursors.Hand; + this.bunifuFlatButton1.DisabledColor = System.Drawing.Color.Gray; + this.bunifuFlatButton1.Font = new System.Drawing.Font("Stencil", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.bunifuFlatButton1.Iconcolor = System.Drawing.Color.Transparent; + this.bunifuFlatButton1.Iconimage = global::Gestion_de_commerce_Informatique.Properties.Resources.canvas; + this.bunifuFlatButton1.Iconimage_right = null; + this.bunifuFlatButton1.Iconimage_right_Selected = null; + this.bunifuFlatButton1.Iconimage_Selected = null; + this.bunifuFlatButton1.IconMarginLeft = 0; + this.bunifuFlatButton1.IconMarginRight = 0; + this.bunifuFlatButton1.IconRightVisible = true; + this.bunifuFlatButton1.IconRightZoom = 0D; + this.bunifuFlatButton1.IconVisible = true; + this.bunifuFlatButton1.IconZoom = 90D; + this.bunifuFlatButton1.IsTab = false; + this.bunifuFlatButton1.Location = new System.Drawing.Point(192, 400); + this.bunifuFlatButton1.Name = "bunifuFlatButton1"; + this.bunifuFlatButton1.Normalcolor = System.Drawing.Color.Transparent; + this.bunifuFlatButton1.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.bunifuFlatButton1.OnHoverTextColor = System.Drawing.Color.Black; + this.bunifuFlatButton1.selected = false; + this.bunifuFlatButton1.Size = new System.Drawing.Size(320, 67); + this.bunifuFlatButton1.TabIndex = 12; + this.bunifuFlatButton1.Text = "Ajouter un article"; + this.bunifuFlatButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.bunifuFlatButton1.Textcolor = System.Drawing.Color.Black; + this.bunifuFlatButton1.TextFont = new System.Drawing.Font("Stencil", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.bunifuFlatButton1.Click += new System.EventHandler(this.bunifuFlatButton1_Click); + // + // txtBoxRecherche + // + this.txtBoxRecherche.BackColor = System.Drawing.Color.Silver; + this.txtBoxRecherche.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtBoxRecherche.BackgroundImage"))); + this.txtBoxRecherche.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.txtBoxRecherche.ForeColor = System.Drawing.Color.Black; + this.txtBoxRecherche.Icon = ((System.Drawing.Image)(resources.GetObject("txtBoxRecherche.Icon"))); + this.txtBoxRecherche.Location = new System.Drawing.Point(20, 3); + this.txtBoxRecherche.Name = "txtBoxRecherche"; + this.txtBoxRecherche.Size = new System.Drawing.Size(664, 42); + this.txtBoxRecherche.TabIndex = 10; + this.txtBoxRecherche.text = ""; + this.txtBoxRecherche.KeyUp += new System.EventHandler(this.txtBoxRecherche_KeyUp); + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.DataPropertyName = "idArt"; + this.dataGridViewTextBoxColumn1.HeaderText = "idArt"; + this.dataGridViewTextBoxColumn1.MinimumWidth = 230; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.ReadOnly = true; + this.dataGridViewTextBoxColumn1.Visible = false; + this.dataGridViewTextBoxColumn1.Width = 230; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.DataPropertyName = "NomArticle"; + this.dataGridViewTextBoxColumn2.HeaderText = "Nom de l\'artilce"; + this.dataGridViewTextBoxColumn2.MinimumWidth = 20; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.ReadOnly = true; + this.dataGridViewTextBoxColumn2.Width = 520; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.DataPropertyName = "Valeur"; + this.dataGridViewTextBoxColumn3.HeaderText = "Valeur"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + this.dataGridViewTextBoxColumn3.ReadOnly = true; + this.dataGridViewTextBoxColumn3.Width = 70; + // + // Stock + // + this.Stock.DataPropertyName = "Stock"; + this.Stock.HeaderText = "Stock"; + this.Stock.Name = "Stock"; + this.Stock.ReadOnly = true; + this.Stock.Width = 68; + // + // GestionStock + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.Controls.Add(this.bunifuFlatButton1); + this.Controls.Add(this.txtBoxRecherche); + this.Controls.Add(this.dgvArticle); + this.Name = "GestionStock"; + this.Size = new System.Drawing.Size(697, 477); + ((System.ComponentModel.ISupportInitialize)(this.dgvArticle)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + private System.Windows.Forms.DataGridView dgvArticle; + private Bunifu.Framework.UI.BunifuTextbox txtBoxRecherche; + private Bunifu.Framework.UI.BunifuFlatButton bunifuFlatButton1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + private System.Windows.Forms.DataGridViewTextBoxColumn Stock; + } +} diff --git a/Gestion de commerce Informatique/GestionStock.cs b/Gestion de commerce Informatique/GestionStock.cs new file mode 100644 index 0000000..d026d81 --- /dev/null +++ b/Gestion de commerce Informatique/GestionStock.cs @@ -0,0 +1,84 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using GestionDeCommerceInfoClasseBDDNCouches.DataLayer; +using GestionDeCommerceInfoClasseBDDNCouches; + +namespace Gestion_de_commerce_Informatique +{ + public partial class GestionStock : UserControl + { + BDDAccesArticle bddArticle = new BDDAccesArticle(Settings1.Default.ChaineDeConnection); + private DataTable dtArticle; + private BindingSource bsArticle; + public GestionStock() + { + InitializeComponent(); + this.BackColor = Color.Transparent; + bsArticle = new BindingSource(); + RemplirDVG(dgvArticle); + } + + private void dgvUser_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + + } + + private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + + } + + private void RemplirDVG(DataGridView dgv) + { + dtArticle = new DataTable(); + dtArticle.Columns.Add(new DataColumn("idArt", System.Type.GetType("System.Int32"))); + dtArticle.Columns.Add("NomArticle"); + dtArticle.Columns.Add("Valeur"); + dtArticle.Columns.Add("Stock"); + List
larticles; + larticles = bddArticle.ListArticles(); + foreach (Article Tmp in larticles) + dtArticle.Rows.Add(Tmp.ID, Tmp.Designation, $"{Math.Round(Tmp.PrixHTVA,2)}€", Tmp.Stock); + + bsArticle.DataSource = dtArticle; + dgv.DataSource = bsArticle; + } + public void RemplirDVG() + { + RemplirDVG(dgvArticle); + } + + private void txtBoxRecherche_KeyUp(object sender, EventArgs e) + { + string rowFilter = string.Format("[{0}] LIKE '%{1}%'", "NomArticle", txtBoxRecherche.text);//https://10tec.com/articles/datagridview-filter.aspx + dtArticle.DefaultView.RowFilter = rowFilter; + } + + private void bunifuFlatButton1_Click(object sender, EventArgs e) + { + ConfigurationStock win = new ConfigurationStock(bddArticle); + win.ShowDialog(); + dtArticle.Rows.Add(win.article.ID, win.article.Designation, $"{Math.Round(win.article.PrixHTVA, 2)}€"); + } + + private void dgvArticle_DoubleClick(object sender, EventArgs e) + { + if (dgvArticle.SelectedRows.Count > 0) + { + ConfigurationStock win = new ConfigurationStock(bddArticle.LireArticle(int.Parse(dgvArticle.SelectedRows[0].Cells[0].Value.ToString())), bddArticle); + win.ShowDialog(); + dgvArticle.SelectedRows[0].Cells[1].Value = win.article.Designation; + dgvArticle.SelectedRows[0].Cells[2].Value = $"{Math.Round(win.article.PrixHTVA,2)}€"; + dgvArticle.SelectedRows[0].Cells[3].Value = win.article.Stock; + } + + } + } +} diff --git a/Gestion de commerce Informatique/GestionStock.resx b/Gestion de commerce Informatique/GestionStock.resx new file mode 100644 index 0000000..936bdab --- /dev/null +++ b/Gestion de commerce Informatique/GestionStock.resx @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + True + + + True + + + True + + + + + iVBORw0KGgoAAAANSUhEUgAAAwAAAAB/CAYAAABYHaUHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAATjSURBVHhe7dbRihuHFkTR/P9P3wuBMh1le5xJbI8OrAX7 + 5ajV0mP98ZP8T5IkSdIv70vVH5IkSZL0e/pt6sclSZIkfU2/TP2YJEmSpPfop6ofkCRJkvRe/RT1YkmS + JEnv2b9WL5MkSZJ0o0+rl3w2AADg82pbf7ZPqRf8KAAA4NepDf6j/pH64kcBAAC/T23yj/pQfeGjAACA + r1H7/Ht9Vz1cAQAAX6+2epXqwQoAAHgftdmrv6mHXgMAAN5PbffX/qIeqAAAgPdU+/21b+rD1wAAgPdV + G/61b+rDZwAAwPurLf/sT/XBawAAwPurLf9aHp8BAAB31KZ/lsdnAADAHbXpn+XxGQAAcEdt+md5fAYA + ANxRm/5ZHp8BAAB31KZ/lscFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237l + cQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237 + lccFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD21 + 7VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237lccFAADcU9t+5XEBAAD3 + 1LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA + 3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237lccFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcA + AHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lc + AADAPbXtVx4XAABwT237lccFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237l + cQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237 + lccFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD21 + 7VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237lccFAADcU9t+5XEBAAD3 + 1LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA + 3FPbfuXxGQAAcEdt+md5fAYAANxRm/5ZHp8BAAB31KZ/lsdnAADAHbXpn+XxGQAAcEdt+md5fA0AAHh/ + teVf+1N98AwAAHh/teWffVMfvgYAALyv2vCvfVMfvgYAALyv2vCv/UU98BoAAPB+aru/9jf1UAUAALyP + 2uxVqgcrAADg69VWr76rHv5eAADA16mN/r0+VF/4KAAA4PepTf5R/0h98UcBAAC/Tm3wH/Up9YLPBgAA + fF5t68/2afUSSZIkSTf61+plkiRJkt6zn6JeLEmSJOm9+qnqByRJkiS9R79M/ZgkSZKkr+m3qR+XJEmS + 9Hv6UvWHJEmSJP3c/qM//vg/YzmHDpKLD1cAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJDSURBVHhe7dBJjuRADEPRuv+lu1ELAULgK6cK26STD/ib + HpxU/ERERERERER84t8fiw/QQ+4onqBHO6JY0COd0dejR7mir0QPcWVfg45X6tbo4Fd7F33j1W6JDn3W + LvTtZ90KHfioo9BvPeoW6LCps9BvT9mjo6iz0QbKGh1EXYW2UJboEOpqtImyQ0esqaBta1bogDU1tHHN + Bo3vqaKtPQs0vKeONvfk0eieOtrck0aDey5oe08Wje25oO09WTS2ckM3VJJoaM8N3dCTQyMrR3RHTw6N + rFzRLZUcGlm5olsqOTSyckW3VHJoZOWKbqnk0MjKFd1SyaGRlSu6pZJDIytXdEslh0ZWruiWSg6NrFzR + LZUcGlm5olsqOTSyckW3VHJoZOWKbqnk0MieG7qhJ4dG9tzQDT1JNLRyQzdUsmhszwVt78misT0XtL0n + jQb31NHmnjwa3VNHm3sWaHhPFW3t2aDxa2po45oVOmBNBW1bs0NHrKmgbWuW6BDqKrSFskYHUWejDZQ1 + OuhRZ6HfnrJFx7zaUei3HmWLjvmkXejbz7JFx+zoXfSNV7NFxxxZob/7NFt0zNQv+vMrs0YHTXX091dk + jQ6amtC/PSN7dNTUK+j/HdEt0GFT76Jv7Og26Lipv6JvvtPt0JFTsRk98lRsRo88FZvRI0/FZvTIU7EZ + PfJUbEaPPBWb0SNPxWb0yFOxGT3yVGxGjzwVm9EjT8Vm9MhTcRB67LU4GD16FSfJ4wvI4wvI40dERERE + RISbn5//IBHAhgWniRYAAAAASUVORK5CYII= + + + \ No newline at end of file diff --git a/Gestion de commerce Informatique/GestionUtilisateurs.Designer.cs b/Gestion de commerce Informatique/GestionUtilisateurs.Designer.cs index fc0975e..44d26b3 100644 --- a/Gestion de commerce Informatique/GestionUtilisateurs.Designer.cs +++ b/Gestion de commerce Informatique/GestionUtilisateurs.Designer.cs @@ -30,10 +30,10 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GestionUtilisateurs)); this.dgvUser = new System.Windows.Forms.DataGridView(); - this.userId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Nom = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.txtBoxRecherche = new Bunifu.Framework.UI.BunifuTextbox(); this.lblAddUser = new Bunifu.Framework.UI.BunifuFlatButton(); + this.id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Nom = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).BeginInit(); this.SuspendLayout(); // @@ -43,9 +43,9 @@ this.dgvUser.AllowUserToDeleteRows = false; this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.userId, + this.id, this.Nom}); - this.dgvUser.Location = new System.Drawing.Point(13, 62); + this.dgvUser.Location = new System.Drawing.Point(19, 51); this.dgvUser.Name = "dgvUser"; this.dgvUser.ReadOnly = true; this.dgvUser.RowHeadersVisible = false; @@ -54,25 +54,6 @@ this.dgvUser.TabIndex = 4; this.dgvUser.DoubleClick += new System.EventHandler(this.dgvUser_CellContentClick_1); // - // userId - // - this.userId.DataPropertyName = "userId"; - this.userId.HeaderText = "userId"; - this.userId.MinimumWidth = 664; - this.userId.Name = "userId"; - this.userId.ReadOnly = true; - this.userId.Visible = false; - this.userId.Width = 664; - // - // Nom - // - this.Nom.DataPropertyName = "Nom"; - this.Nom.HeaderText = "Nom"; - this.Nom.MinimumWidth = 20; - this.Nom.Name = "Nom"; - this.Nom.ReadOnly = true; - this.Nom.Width = 660; - // // txtBoxRecherche // this.txtBoxRecherche.BackColor = System.Drawing.Color.Silver; @@ -80,13 +61,17 @@ this.txtBoxRecherche.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.txtBoxRecherche.ForeColor = System.Drawing.Color.Black; this.txtBoxRecherche.Icon = ((System.Drawing.Image)(resources.GetObject("txtBoxRecherche.Icon"))); - this.txtBoxRecherche.Location = new System.Drawing.Point(13, 14); + this.txtBoxRecherche.Location = new System.Drawing.Point(19, 3); this.txtBoxRecherche.Name = "txtBoxRecherche"; this.txtBoxRecherche.Size = new System.Drawing.Size(664, 42); this.txtBoxRecherche.TabIndex = 9; - this.txtBoxRecherche.text = "Recherche"; + this.txtBoxRecherche.text = ""; + this.txtBoxRecherche.OnTextChange += new System.EventHandler(this.txtBoxRecherche_OnTextChange_1); this.txtBoxRecherche.KeyUp += new System.EventHandler(this.txtBoxRecherche_KeyUp); + this.txtBoxRecherche.CursorChanged += new System.EventHandler(this.txtBoxRecherche_Click); this.txtBoxRecherche.Click += new System.EventHandler(this.txtBoxRecherche_Click); + this.txtBoxRecherche.MouseClick += new System.Windows.Forms.MouseEventHandler(this.txtBoxRecherche_Click); + this.txtBoxRecherche.MouseUp += new System.Windows.Forms.MouseEventHandler(this.txtBoxRecherche_Click); // // lblAddUser // @@ -110,7 +95,7 @@ this.lblAddUser.IconVisible = true; this.lblAddUser.IconZoom = 90D; this.lblAddUser.IsTab = false; - this.lblAddUser.Location = new System.Drawing.Point(183, 407); + this.lblAddUser.Location = new System.Drawing.Point(185, 399); this.lblAddUser.Name = "lblAddUser"; this.lblAddUser.Normalcolor = System.Drawing.Color.Transparent; this.lblAddUser.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); @@ -124,6 +109,25 @@ this.lblAddUser.TextFont = new System.Drawing.Font("Stencil", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblAddUser.Click += new System.EventHandler(this.lblAddUser_Click); // + // id + // + this.id.DataPropertyName = "id"; + this.id.HeaderText = "id"; + this.id.MinimumWidth = 664; + this.id.Name = "id"; + this.id.ReadOnly = true; + this.id.Visible = false; + this.id.Width = 664; + // + // Nom + // + this.Nom.DataPropertyName = "Nom"; + this.Nom.HeaderText = "Nom"; + this.Nom.MinimumWidth = 20; + this.Nom.Name = "Nom"; + this.Nom.ReadOnly = true; + this.Nom.Width = 660; + // // GestionUtilisateurs // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -141,9 +145,9 @@ #endregion private System.Windows.Forms.DataGridView dgvUser; - private System.Windows.Forms.DataGridViewTextBoxColumn userId; - private System.Windows.Forms.DataGridViewTextBoxColumn Nom; private Bunifu.Framework.UI.BunifuFlatButton lblAddUser; private Bunifu.Framework.UI.BunifuTextbox txtBoxRecherche; + private System.Windows.Forms.DataGridViewTextBoxColumn id; + private System.Windows.Forms.DataGridViewTextBoxColumn Nom; } } diff --git a/Gestion de commerce Informatique/GestionUtilisateurs.cs b/Gestion de commerce Informatique/GestionUtilisateurs.cs index ac1a8c1..bbb77ab 100644 --- a/Gestion de commerce Informatique/GestionUtilisateurs.cs +++ b/Gestion de commerce Informatique/GestionUtilisateurs.cs @@ -27,7 +27,8 @@ namespace Gestion_de_commerce_Informatique } private DataTable dtPersonne; private BindingSource bsPersonne; - BDDAccesUtilisateur bddUser = new BDDAccesUtilisateur(@"Data Source=(localdb)\MSSQLLOcalDB;Initial Catalog=GestionCommerceInfo;Integrated Security=True"); + BDDAccesUtilisateur bddUser = new BDDAccesUtilisateur(Settings1.Default.ChaineDeConnection); + public GestionUtilisateurs() { InitializeComponent(); @@ -45,11 +46,6 @@ namespace Gestion_de_commerce_Informatique Console.WriteLine(); } - private void txtBoxRecherche_OnTextChange(object sender, EventArgs e) - { - - } - private void lblAddUser_Click(object sender, EventArgs e) { ConfigurationUtilisateur ajoutUtilisateur = new ConfigurationUtilisateur(bddUser); @@ -74,8 +70,14 @@ namespace Gestion_de_commerce_Informatique bsPersonne.DataSource = dtPersonne; dgv.DataSource = bsPersonne; + dgv.Columns["userId"].Visible = false; } + public void RemplirDVG() + { + bsPersonne = new BindingSource(); + RemplirDVG(dgvUser); + } private void txtBoxRecherche_KeyUp(object sender, EventArgs e) { @@ -94,5 +96,16 @@ namespace Gestion_de_commerce_Informatique dgvUser.SelectedRows[0].Cells["Nom"].Value = $"{win.user.Prenom} {win.user.Nom}"; } } + + private void txtBoxRecherche_OnTextChange_1(object sender, EventArgs e) + { + + } + + private void txtBoxRecherche_Click(object sender, MouseEventArgs e) + { + if (txtBoxRecherche.text == "Recherche") + txtBoxRecherche.text = ""; + } } } diff --git a/Gestion de commerce Informatique/Program.cs b/Gestion de commerce Informatique/Program.cs index 58a58f9..2fc267d 100644 --- a/Gestion de commerce Informatique/Program.cs +++ b/Gestion de commerce Informatique/Program.cs @@ -20,7 +20,7 @@ namespace Gestion_de_commerce_Informatique List lusers; List lusersTN; List lusersTP; - BDDAccesUtilisateur b = new BDDAccesUtilisateur(@"Data Source=(localdb)\MSSQLLOcalDB;Initial Catalog=GestionCommerceInfo;Integrated Security=True"); + BDDAccesUtilisateur b = new BDDAccesUtilisateur(Settings1.Default.ChaineDeConnection); //b.AjouterUtilisateur(new Utilisateur("Nom 1", "pre 1", "Rue du bout du monde 50 4607 dalhem", "BE54165314", "sildjfghlsidh@yopmail.com", Utilisateur.Type_E.Client)); //b.AjouterUtilisateur(new Utilisateur("Nom 2", "pre 2", "Rue du bout du monde 52 4607 dalhem", "BE54165315", "sildjfgh3sidh@yopmail.com", Utilisateur.Type_E.Commercant)); diff --git a/Gestion de commerce Informatique/Properties/Resources.Designer.cs b/Gestion de commerce Informatique/Properties/Resources.Designer.cs index 280c836..39a279b 100644 --- a/Gestion de commerce Informatique/Properties/Resources.Designer.cs +++ b/Gestion de commerce Informatique/Properties/Resources.Designer.cs @@ -110,6 +110,26 @@ namespace Gestion_de_commerce_Informatique.Properties { } } + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap moin { + get { + object obj = ResourceManager.GetObject("moin", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap plus { + get { + object obj = ResourceManager.GetObject("plus", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Recherche une ressource localisée de type System.Drawing.Bitmap. /// diff --git a/Gestion de commerce Informatique/Properties/Resources.resx b/Gestion de commerce Informatique/Properties/Resources.resx index fc3bfef..1f83429 100644 --- a/Gestion de commerce Informatique/Properties/Resources.resx +++ b/Gestion de commerce Informatique/Properties/Resources.resx @@ -127,6 +127,9 @@ ..\Resources\exit2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\-.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\stock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -136,10 +139,13 @@ ..\Resources\commande.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\canvas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\+.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/Gestion de commerce Informatique/Resources/+.png b/Gestion de commerce Informatique/Resources/+.png new file mode 100644 index 0000000000000000000000000000000000000000..f23a13365b752e84e158d29e2603ea6c81ccb33a GIT binary patch literal 2782 zcmeAS@N?(olHy`uVBq!ia0y~yU~*t!V0^&A1{CqlyW|QK_*oSaQ4*9`u24{vpO%@E zs!&o{kgAYck(tK8P;u++^xQsaMV_|*#a(iYwi$D)e{wP z`lrIT&C8f}-(!oo@$K=wcWdVH`bB5h-}qcL)A;j5$@7<@i>srK5-;`e$ zUDj=1$KRG<(mHR$V?7l))$@@oavqbKtmdiudq?E<8+p`Om%Y1H!x4A+wb1*d=cnH( zeqUH%_m1zQqT6l1UkUp;&T;Jh(vf%NogB|s@%eE_^LnNod-430S4T%kNp;|Kfpub5 zavV$7BnsaA5V$4xY0sPuN4S!BP57U@(hyd@)y!n7WwK)ZuAtWLMr-M;XQwvhc=i~F zTM8;%PMEB7wo%ZV)wFTu`h6E>nXmt;)#vcJ_rhe(q!z*To2pO$m{}t#m7Ev5Nb<}w z?XVBs&*!yCPrjpbk=r5T&5T!F?@zt!`Z`T5g3&QH(Jvz5<8jSGjl18b>709{e*eLr zN|O_}#2h*dwjYud68JFDMRSsQnzECO@DGuSb3#8D7=xa=5 z%O%6P9W?lQ8GWZQMJQ@~>u+tb4GA%^2<^?9Ws=<~DE*-5GRw4L%cpa^4=!Q7#JZTfYD&=uMR$uY9qqC&Pq?qVVP_h$c4L&U z>GexHJP&`&-#9aS<pM#=HB)y0!MM=S(7ZmTr#o}E0?UxdlOX!6YSJ;k|lo}ybch-o`{o(-z z^2)1nHcu5)8mJ2jme#1`wkL6n?0tqlFeBOOOmeH3t^lNCwQ#jA1G>sQTOb zqk3lf4E~lx<|A3V%)VYWkY<)&bl_iO%DM-A9a`_7?D?1UU-qo^8D1V19wUb5VoN`B z^js~;m5O0ym|~Ki!p&l_Sz{irfc(zd!=Jxw{lQqa^I+5r`vuEx<_j=doL(`JR{$K* zi#D4*k(O&_JZHEng_(sxBmG3eXJ(7@D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q z0EK}JVz`(>H0A#W#Ff@ehnf09OKO6HI z!=O!!ObjaN7AL;38=Uqy&Bg&$V{wd2>OywG1c_u=ZJM7s^<0&}o)i zF_Xde7Z(<>WTZ573ori2*|Xzt$g5w94>&9j+~l70uTk1!`<{oO03MzRXw+Ar5V&xO X`%IUbZ^jJYW)RoY)z4*}Q$iB}YZ4M5 literal 0 HcmV?d00001 diff --git a/Gestion de commerce Informatique/Resources/moin.png b/Gestion de commerce Informatique/Resources/moin.png new file mode 100644 index 0000000000000000000000000000000000000000..c11b3e872dc7ad20d85abf2a2bda7f9502a6e1aa GIT binary patch literal 2222 zcmeAS@N?(olHy`uVBq!ia0y~yU~*t!V0^&A1{CqlyW|QKcvuw@Q4*9`u24{vpO%@E zs!&o{kgAYck(tK8P;u++bni{liaf5**C=^A2sv$#*%x}#aoT+D-nTd2tA_sMF)9eo z+YlA=KrUnY-5=jdcj@oYs4R2TJu0*KxMJkt;CrZT(*hFojq*c?Qs)4<1k6&%Ew)wyISsk+j08T?=#lr`TJ&E|GMvp`uiG7 z$xk`0pFgS`5%2e#^F_5zIEL@9g>qFub(O)<`_H}{+-+Gst2k!0w&J0cFU~E>6MH8n zq`hX!UEM_zc3s=vP6`y7cEe#!bDC>rpON96c_J%<7kVaN@0D66QL$lRTAq&ev?CV9 zlernWe9cZ?l9kwK5+L02(@y-><7c*UhXr5k6E>Qu;P&FVw`n6|YwCauS%{k(+Ul0C# zoiX97GDEk)wj?7Jg$K%=K`QxY+*ss=e~6r!qgueq81&RHuc`NeiiCPx^5XuB=Te_) z_k?phXz=wi`c7ktP}KO=-`Zju5@KQz+M6}YB)e0{`HIBiqhI^9)Wm#rXGLzxQT62V z4EC88bZTYFxu)wSi5XicIFK`U6b66k>0x7 zFYWX`{_*|B*{@eVk7MJ_St{7pXOXjHqWjDn*}-WutR8QfnKtjK-`jxNWp4UU>U?|o zwz}%Pv8fJlzVSxQ@pb8|H(?D8gCb5n0T@pr;JNj1^1m%YcIHC7!;n?2p*kco-D;*^_@VFtGZ0x;Taa^TTaJ zzGed+)_@fgirQoL-kGY$BYUf>N%ZKGy(>41-n3Vns|M6R3WjG0NL*RNVzR-qzTuyP zznquDjYO@lJIy!0bq{9#VXp8}yJhl*%)-gV{}^hU*XejUEIP){pjgAC{LWzNu2oD7 zk`byxXT#VHHoy3PX&uWPD~o*odEf6J;=k~u>Fd(}4JN+3-B=Q)P5h*^o`s=-frX)< z_*z@cLt}}AzKN4~1sD`84>OwCH&nW1nK^*v6&M&9I2?c_xB!ELR@~X*sr4<4X%a7Q z0EK}JVz`(>H0A#W#Ff@ehnf09OKO6HI z!=O!!ObjaN7AL;38=Uqy&Bg&$V{wd2>OywG1c_u=ZJM7s^<0&}o)i zF_Xde7Z(<>WTZ573ori2*|Xzt$g5w94>&9j+~l70uTk1!`<{oO03MzRXw+Ar5V&xO X`%IUbZ^jJYW)RoY)z4*}Q$iB}YZ4M5 literal 0 HcmV?d00001 diff --git a/Gestion de commerce Informatique/Resources/plus.png b/Gestion de commerce Informatique/Resources/plus.png new file mode 100644 index 0000000000000000000000000000000000000000..f23a13365b752e84e158d29e2603ea6c81ccb33a GIT binary patch literal 2782 zcmeAS@N?(olHy`uVBq!ia0y~yU~*t!V0^&A1{CqlyW|QK_*oSaQ4*9`u24{vpO%@E zs!&o{kgAYck(tK8P;u++^xQsaMV_|*#a(iYwi$D)e{wP z`lrIT&C8f}-(!oo@$K=wcWdVH`bB5h-}qcL)A;j5$@7<@i>srK5-;`e$ zUDj=1$KRG<(mHR$V?7l))$@@oavqbKtmdiudq?E<8+p`Om%Y1H!x4A+wb1*d=cnH( zeqUH%_m1zQqT6l1UkUp;&T;Jh(vf%NogB|s@%eE_^LnNod-430S4T%kNp;|Kfpub5 zavV$7BnsaA5V$4xY0sPuN4S!BP57U@(hyd@)y!n7WwK)ZuAtWLMr-M;XQwvhc=i~F zTM8;%PMEB7wo%ZV)wFTu`h6E>nXmt;)#vcJ_rhe(q!z*To2pO$m{}t#m7Ev5Nb<}w z?XVBs&*!yCPrjpbk=r5T&5T!F?@zt!`Z`T5g3&QH(Jvz5<8jSGjl18b>709{e*eLr zN|O_}#2h*dwjYud68JFDMRSsQnzECO@DGuSb3#8D7=xa=5 z%O%6P9W?lQ8GWZQMJQ@~>u+tb4GA%^2<^?9Ws=<~DE*-5GRw4L%cpa^4=!Q7#JZTfYD&=uMR$uY9qqC&Pq?qVVP_h$c4L&U z>GexHJP&`&-#9aS<pM#=HB)y0!MM=S(7ZmTr#o}E0?UxdlOX!6YSJ;k|lo}ybch-o`{o(-z z^2)1nHcu5)8mJ2jme#1`wkL6n?0tqlFeBOOOmeH3t^lNCwQ#jA1G>sQTOb zqk3lf4E~lx<|A3V%)VYWkY<)&bl_iO%DM-A9a`_7?D?1UU-qo^8D1V19wUb5VoN`B z^js~;m5O0ym|~Ki!p&l_Sz{irfc(zd!=Jxw{lQqa^I+5r`vuEx<_j=doL(`JR{$K* zi#D4*k(O&_JZHEng_(sxBmG3eXJ(7@D`r9Ekz5w~ab4xUr^1O1#yziYP?97LaGK~b z%1gvD9jJ6Wn*)p_XrhDKwW6#1>}THjY|L|#Lr$`BFa(^NaPk{_!L&eKcsf0i%*s2% zv_i2k>Yg;zqpM%uy0V+AL0adENtlPY7UGt@U@WW17^2qih@}E^S>Yp5Y+!ZdyY| zVd6SQeNf@~L15!m#<1st5)+nYUp5f7aL +// Ce code a été généré par un outil. +// Version du runtime :4.0.30319.42000 +// +// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si +// le code est régénéré. +// +//------------------------------------------------------------------------------ + +namespace Gestion_de_commerce_Informatique { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.7.0.0")] + internal sealed partial class Settings1 : global::System.Configuration.ApplicationSettingsBase { + + private static Settings1 defaultInstance = ((Settings1)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings1()))); + + public static Settings1 Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("5")] + public int AlerteStock { + get { + return ((int)(this["AlerteStock"])); + } + set { + this["AlerteStock"] = value; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=(localdb)\\MSSQLLOcalDB;Initial Catalog=GestionCommerceInfo;Integrated" + + " Security=True")] + public string ChaineDeConnection { + get { + return ((string)(this["ChaineDeConnection"])); + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("50")] + public int StockIdeal { + get { + return ((int)(this["StockIdeal"])); + } + set { + this["StockIdeal"] = value; + } + } + } +} diff --git a/Gestion de commerce Informatique/Settings1.settings b/Gestion de commerce Informatique/Settings1.settings new file mode 100644 index 0000000..9dcec6b --- /dev/null +++ b/Gestion de commerce Informatique/Settings1.settings @@ -0,0 +1,15 @@ + + + + + + 5 + + + Data Source=(localdb)\MSSQLLOcalDB;Initial Catalog=GestionCommerceInfo;Integrated Security=True + + + 50 + + + \ No newline at end of file diff --git a/icon/moin.png b/icon/moin.png new file mode 100644 index 0000000000000000000000000000000000000000..c11b3e872dc7ad20d85abf2a2bda7f9502a6e1aa GIT binary patch literal 2222 zcmeAS@N?(olHy`uVBq!ia0y~yU~*t!V0^&A1{CqlyW|QKcvuw@Q4*9`u24{vpO%@E zs!&o{kgAYck(tK8P;u++bni{liaf5**C=^A2sv$#*%x}#aoT+D-nTd2tA_sMF)9eo z+YlA=KrUnY-5=jdcj@oYs4R2TJu0*KxMJkt;CrZT(*hFojq*c?Qs)4<1k6&%Ew)wyISsk+j08T?=#lr`TJ&E|GMvp`uiG7 z$xk`0pFgS`5%2e#^F_5zIEL@9g>qFub(O)<`_H}{+-+Gst2k!0w&J0cFU~E>6MH8n zq`hX!UEM_zc3s=vP6`y7cEe#!bDC>rpON96c_J%<7kVaN@0D66QL$lRTAq&ev?CV9 zlernWe9cZ?l9kwK5+L02(@y-><7c*UhXr5k6E>Qu;P&FVw`n6|YwCauS%{k(+Ul0C# zoiX97GDEk)wj?7Jg$K%=K`QxY+*ss=e~6r!qgueq81&RHuc`NeiiCPx^5XuB=Te_) z_k?phXz=wi`c7ktP}KO=-`Zju5@KQz+M6}YB)e0{`HIBiqhI^9)Wm#rXGLzxQT62V z4EC88bZTYFxu)wSi5XicIFK`U6b66k>0x7 zFYWX`{_*|B*{@eVk7MJ_St{7pXOXjHqWjDn*}-WutR8QfnKtjK-`jxNWp4UU>U?|o zwz}%Pv8fJlzVSxQ@pb8|H(?D8gCb5n0T@pr;JNj1^1m%YcIHC7!;n?2p*kco-D;*^_@VFtGZ0x;Taa^TTaJ zzGed+)_@fgirQoL-kGY$BYUf>N%ZKGy(>41-n3Vns|M6R3WjG0NL*RNVzR-qzTuyP zznquDjYO@lJIy!0bq{9#VXp8}yJhl*%)-gV{}^hU*XejUEIP){pjgAC{LWzNu2oD7 zk`byxXT#VHHoy3PX&uWPD~o*odEf6J;=k~u>Fd(}4JN+3-B=Q)P5h*^o`s=-frX)< z_*z@cLt}}AzKN4~1sD`84>OwCH&nW1nK^*v6&M&9I2?c_xB!ELR@~X*sr4<4X%a7Q z0EK}JVz`(>H0A#W#Ff@ehnf09OKO6HI z!=O!!ObjaN7AL;38=Uqy&Bg&$V{wd2>OywG1c_u=ZJM7s^<0&}o)i zF_Xde7Z(<>WTZ573ori2*|Xzt$g5w94>&9j+~l70uTk1!`<{oO03MzRXw+Ar5V&xO X`%IUbZ^jJYW)RoY)z4*}Q$iB}YZ4M5 literal 0 HcmV?d00001 diff --git a/icon/plus.png b/icon/plus.png new file mode 100644 index 0000000000000000000000000000000000000000..f23a13365b752e84e158d29e2603ea6c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