Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | c4654fc97b | 
| @@ -143,6 +143,7 @@ | ||||
|             this.bunifuFlatButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             this.bunifuFlatButton1.Textcolor = System.Drawing.Color.Black; | ||||
|             this.bunifuFlatButton1.TextFont = new System.Drawing.Font("Stencil", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.bunifuFlatButton1.Click += new System.EventHandler(this.bunifuFlatButton1_Click); | ||||
|             //  | ||||
|             // Commande | ||||
|             //  | ||||
|   | ||||
| @@ -17,5 +17,11 @@ namespace Gestion_de_commerce_Informatique | ||||
|             InitializeComponent(); | ||||
|             this.BackColor = Color.Transparent; | ||||
|         } | ||||
|  | ||||
|         private void bunifuFlatButton1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             ConfigCommande win = new ConfigCommande(); | ||||
|             win.ShowDialog(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -29,20 +29,37 @@ | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             VisualPlus.Structure.TextStyle textStyle3 = new VisualPlus.Structure.TextStyle(); | ||||
|             VisualPlus.Structure.TextStyle textStyle2 = new VisualPlus.Structure.TextStyle(); | ||||
|             VisualPlus.Structure.TextStyle textStyle1 = new VisualPlus.Structure.TextStyle(); | ||||
|             VisualPlus.Structure.TextStyle textStyle5 = 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.dgvLSTArt = 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.cbUser = new VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox(); | ||||
|             this.lblUserName = new Bunifu.Framework.UI.BunifuCustomLabel(); | ||||
|             this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components); | ||||
|             this.lblTypeCommande = new Bunifu.Framework.UI.BunifuCustomLabel(); | ||||
|             this.cbTypeCommande = new VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox(); | ||||
|             this.cbStatus = new VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox(); | ||||
|             this.lblStatus = new Bunifu.Framework.UI.BunifuCustomLabel(); | ||||
|             this.idLSTART = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.Designation = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.prixHTVAPc = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.Quantitee = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.PrixTotHTVA = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.pictureBox2 = new System.Windows.Forms.PictureBox(); | ||||
|             this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton(); | ||||
|             this.pbAdd = new System.Windows.Forms.PictureBox(); | ||||
|             this.bunifuFlatButton2 = new Bunifu.Framework.UI.BunifuFlatButton(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); | ||||
|             this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton(); | ||||
|             this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dgvLSTArt)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pbAdd)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // bunifuElipse1 | ||||
| @@ -50,13 +67,23 @@ | ||||
|             this.bunifuElipse1.ElipseRadius = 5; | ||||
|             this.bunifuElipse1.TargetControl = this; | ||||
|             //  | ||||
|             // dataGridView1 | ||||
|             // dgvLSTArt | ||||
|             //  | ||||
|             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; | ||||
|             this.dgvLSTArt.AllowUserToAddRows = false; | ||||
|             this.dgvLSTArt.AllowUserToDeleteRows = false; | ||||
|             this.dgvLSTArt.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||
|             this.dgvLSTArt.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.idLSTART, | ||||
|             this.Designation, | ||||
|             this.prixHTVAPc, | ||||
|             this.Quantitee, | ||||
|             this.PrixTotHTVA}); | ||||
|             this.dgvLSTArt.Location = new System.Drawing.Point(13, 45); | ||||
|             this.dgvLSTArt.Name = "dgvLSTArt"; | ||||
|             this.dgvLSTArt.ReadOnly = true; | ||||
|             this.dgvLSTArt.RowHeadersVisible = false; | ||||
|             this.dgvLSTArt.Size = new System.Drawing.Size(867, 436); | ||||
|             this.dgvLSTArt.TabIndex = 0; | ||||
|             //  | ||||
|             // lblComande | ||||
|             //  | ||||
| @@ -110,78 +137,286 @@ | ||||
|             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.Location = new System.Drawing.Point(143, 17); | ||||
|             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.Size = new System.Drawing.Size(192, 25); | ||||
|             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.TextBoxWidth = 182; | ||||
|             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.vtbNomCommande.TextStyle = textStyle3; | ||||
|             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 | ||||
|             // cbUser | ||||
|             //  | ||||
|             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; | ||||
|             this.cbUser.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); | ||||
|             this.cbUser.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226))))); | ||||
|             this.cbUser.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); | ||||
|             this.cbUser.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); | ||||
|             this.cbUser.Border.HoverVisible = true; | ||||
|             this.cbUser.Border.Rounding = 6; | ||||
|             this.cbUser.Border.Thickness = 1; | ||||
|             this.cbUser.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; | ||||
|             this.cbUser.Border.Visible = true; | ||||
|             this.cbUser.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(119)))), ((int)(((byte)(118))))); | ||||
|             this.cbUser.ButtonImage = null; | ||||
|             this.cbUser.ButtonStyle = VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox.ButtonStyles.Arrow; | ||||
|             this.cbUser.ButtonWidth = 30; | ||||
|             this.cbUser.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; | ||||
|             this.cbUser.DropDownHeight = 100; | ||||
|             this.cbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cbUser.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.cbUser.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.cbUser.FormattingEnabled = true; | ||||
|             this.cbUser.ImageList = null; | ||||
|             this.cbUser.ImageVisible = false; | ||||
|             this.cbUser.Index = 0; | ||||
|             this.cbUser.IntegralHeight = false; | ||||
|             this.cbUser.ItemHeight = 24; | ||||
|             this.cbUser.ItemImageVisible = true; | ||||
|             this.cbUser.Location = new System.Drawing.Point(637, 12); | ||||
|             this.cbUser.MenuItemHover = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); | ||||
|             this.cbUser.MenuItemNormal = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); | ||||
|             this.cbUser.MenuTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.cbUser.MouseState = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.cbUser.Name = "cbUser"; | ||||
|             this.cbUser.SeparatorColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(222)))), ((int)(((byte)(220))))); | ||||
|             this.cbUser.Size = new System.Drawing.Size(243, 30); | ||||
|             this.cbUser.State = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.cbUser.TabIndex = 14; | ||||
|             this.cbUser.TextAlignment = System.Drawing.StringAlignment.Center; | ||||
|             this.cbUser.TextDisabledColor = System.Drawing.Color.Empty; | ||||
|             this.cbUser.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; | ||||
|             this.cbUser.TextLineAlignment = System.Drawing.StringAlignment.Center; | ||||
|             this.cbUser.TextRendering = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; | ||||
|             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.cbUser.TextStyle = textStyle2; | ||||
|             this.cbUser.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); | ||||
|             this.cbUser.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.cbUser.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); | ||||
|             this.cbUser.Watermark.Text = "Watermark text"; | ||||
|             this.cbUser.Watermark.Visible = false; | ||||
|             this.cbUser.SelectedIndexChanged += new System.EventHandler(this.visualComboBox1_SelectedIndexChanged); | ||||
|             //  | ||||
|             // lblUserName | ||||
|             //  | ||||
|             this.lblUserName.AutoSize = true; | ||||
|             this.lblUserName.BackColor = System.Drawing.Color.Transparent; | ||||
|             this.lblUserName.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.lblUserName.Location = new System.Drawing.Point(485, 17); | ||||
|             this.lblUserName.Name = "lblUserName"; | ||||
|             this.lblUserName.Size = new System.Drawing.Size(155, 25); | ||||
|             this.lblUserName.TabIndex = 15; | ||||
|             this.lblUserName.Text = "Utilisateur :"; | ||||
|             //  | ||||
|             // bunifuDragControl1 | ||||
|             //  | ||||
|             this.bunifuDragControl1.Fixed = true; | ||||
|             this.bunifuDragControl1.Horizontal = true; | ||||
|             this.bunifuDragControl1.TargetControl = this; | ||||
|             this.bunifuDragControl1.Vertical = true; | ||||
|             //  | ||||
|             // lblTypeCommande | ||||
|             //  | ||||
|             this.lblTypeCommande.AutoSize = true; | ||||
|             this.lblTypeCommande.BackColor = System.Drawing.Color.Transparent; | ||||
|             this.lblTypeCommande.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.lblTypeCommande.Location = new System.Drawing.Point(12, 487); | ||||
|             this.lblTypeCommande.Name = "lblTypeCommande"; | ||||
|             this.lblTypeCommande.Size = new System.Drawing.Size(74, 25); | ||||
|             this.lblTypeCommande.TabIndex = 18; | ||||
|             this.lblTypeCommande.Text = "Type :"; | ||||
|             //  | ||||
|             // cbTypeCommande | ||||
|             //  | ||||
|             this.cbTypeCommande.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); | ||||
|             this.cbTypeCommande.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226))))); | ||||
|             this.cbTypeCommande.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); | ||||
|             this.cbTypeCommande.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); | ||||
|             this.cbTypeCommande.Border.HoverVisible = true; | ||||
|             this.cbTypeCommande.Border.Rounding = 6; | ||||
|             this.cbTypeCommande.Border.Thickness = 1; | ||||
|             this.cbTypeCommande.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; | ||||
|             this.cbTypeCommande.Border.Visible = true; | ||||
|             this.cbTypeCommande.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(119)))), ((int)(((byte)(118))))); | ||||
|             this.cbTypeCommande.ButtonImage = null; | ||||
|             this.cbTypeCommande.ButtonStyle = VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox.ButtonStyles.Arrow; | ||||
|             this.cbTypeCommande.ButtonWidth = 30; | ||||
|             this.cbTypeCommande.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; | ||||
|             this.cbTypeCommande.DropDownHeight = 100; | ||||
|             this.cbTypeCommande.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cbTypeCommande.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.cbTypeCommande.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.cbTypeCommande.FormattingEnabled = true; | ||||
|             this.cbTypeCommande.ImageList = null; | ||||
|             this.cbTypeCommande.ImageVisible = false; | ||||
|             this.cbTypeCommande.Index = 0; | ||||
|             this.cbTypeCommande.IntegralHeight = false; | ||||
|             this.cbTypeCommande.ItemHeight = 24; | ||||
|             this.cbTypeCommande.ItemImageVisible = true; | ||||
|             this.cbTypeCommande.Location = new System.Drawing.Point(82, 482); | ||||
|             this.cbTypeCommande.MenuItemHover = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); | ||||
|             this.cbTypeCommande.MenuItemNormal = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); | ||||
|             this.cbTypeCommande.MenuTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.cbTypeCommande.MouseState = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.cbTypeCommande.Name = "cbTypeCommande"; | ||||
|             this.cbTypeCommande.SeparatorColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(222)))), ((int)(((byte)(220))))); | ||||
|             this.cbTypeCommande.Size = new System.Drawing.Size(243, 30); | ||||
|             this.cbTypeCommande.State = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.cbTypeCommande.TabIndex = 19; | ||||
|             this.cbTypeCommande.TextAlignment = System.Drawing.StringAlignment.Center; | ||||
|             this.cbTypeCommande.TextDisabledColor = System.Drawing.Color.Empty; | ||||
|             this.cbTypeCommande.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; | ||||
|             this.cbTypeCommande.TextLineAlignment = System.Drawing.StringAlignment.Center; | ||||
|             this.cbTypeCommande.TextRendering = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; | ||||
|             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.cbTypeCommande.TextStyle = textStyle1; | ||||
|             this.cbTypeCommande.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); | ||||
|             this.cbTypeCommande.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.cbTypeCommande.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); | ||||
|             this.cbTypeCommande.Watermark.Text = "Watermark text"; | ||||
|             this.cbTypeCommande.Watermark.Visible = false; | ||||
|             //  | ||||
|             // cbStatus | ||||
|             //  | ||||
|             this.cbStatus.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); | ||||
|             this.cbStatus.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226))))); | ||||
|             this.cbStatus.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); | ||||
|             this.cbStatus.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); | ||||
|             this.cbStatus.Border.HoverVisible = true; | ||||
|             this.cbStatus.Border.Rounding = 6; | ||||
|             this.cbStatus.Border.Thickness = 1; | ||||
|             this.cbStatus.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; | ||||
|             this.cbStatus.Border.Visible = true; | ||||
|             this.cbStatus.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(119)))), ((int)(((byte)(118))))); | ||||
|             this.cbStatus.ButtonImage = null; | ||||
|             this.cbStatus.ButtonStyle = VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox.ButtonStyles.Arrow; | ||||
|             this.cbStatus.ButtonWidth = 30; | ||||
|             this.cbStatus.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; | ||||
|             this.cbStatus.DropDownHeight = 100; | ||||
|             this.cbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | ||||
|             this.cbStatus.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.cbStatus.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.cbStatus.FormattingEnabled = true; | ||||
|             this.cbStatus.ImageList = null; | ||||
|             this.cbStatus.ImageVisible = false; | ||||
|             this.cbStatus.Index = 0; | ||||
|             this.cbStatus.IntegralHeight = false; | ||||
|             this.cbStatus.ItemHeight = 24; | ||||
|             this.cbStatus.ItemImageVisible = true; | ||||
|             this.cbStatus.Location = new System.Drawing.Point(555, 482); | ||||
|             this.cbStatus.MenuItemHover = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); | ||||
|             this.cbStatus.MenuItemNormal = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); | ||||
|             this.cbStatus.MenuTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.cbStatus.MouseState = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.cbStatus.Name = "cbStatus"; | ||||
|             this.cbStatus.SeparatorColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(222)))), ((int)(((byte)(220))))); | ||||
|             this.cbStatus.Size = new System.Drawing.Size(243, 30); | ||||
|             this.cbStatus.State = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.cbStatus.TabIndex = 21; | ||||
|             this.cbStatus.TextAlignment = System.Drawing.StringAlignment.Center; | ||||
|             this.cbStatus.TextDisabledColor = System.Drawing.Color.Empty; | ||||
|             this.cbStatus.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; | ||||
|             this.cbStatus.TextLineAlignment = System.Drawing.StringAlignment.Center; | ||||
|             this.cbStatus.TextRendering = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; | ||||
|             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.cbStatus.TextStyle = textStyle5; | ||||
|             this.cbStatus.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); | ||||
|             this.cbStatus.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.cbStatus.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); | ||||
|             this.cbStatus.Watermark.Text = "Watermark text"; | ||||
|             this.cbStatus.Watermark.Visible = false; | ||||
|             //  | ||||
|             // lblStatus | ||||
|             //  | ||||
|             this.lblStatus.AutoSize = true; | ||||
|             this.lblStatus.BackColor = System.Drawing.Color.Transparent; | ||||
|             this.lblStatus.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.lblStatus.Location = new System.Drawing.Point(485, 487); | ||||
|             this.lblStatus.Name = "lblStatus"; | ||||
|             this.lblStatus.Size = new System.Drawing.Size(74, 25); | ||||
|             this.lblStatus.TabIndex = 20; | ||||
|             this.lblStatus.Text = "Type :"; | ||||
|             //  | ||||
|             // idLSTART | ||||
|             //  | ||||
|             this.idLSTART.DataPropertyName = "idLSTART"; | ||||
|             this.idLSTART.HeaderText = "idLSTART"; | ||||
|             this.idLSTART.Name = "idLSTART"; | ||||
|             this.idLSTART.ReadOnly = true; | ||||
|             this.idLSTART.Visible = false; | ||||
|             //  | ||||
|             // Designation | ||||
|             //  | ||||
|             this.Designation.DataPropertyName = "Designation"; | ||||
|             this.Designation.HeaderText = "Designation"; | ||||
|             this.Designation.Name = "Designation"; | ||||
|             this.Designation.ReadOnly = true; | ||||
|             this.Designation.Width = 600; | ||||
|             //  | ||||
|             // prixHTVAPc | ||||
|             //  | ||||
|             this.prixHTVAPc.DataPropertyName = "prixHTVAPc"; | ||||
|             this.prixHTVAPc.HeaderText = "prixHTVA/Pc"; | ||||
|             this.prixHTVAPc.Name = "prixHTVAPc"; | ||||
|             this.prixHTVAPc.ReadOnly = true; | ||||
|             //  | ||||
|             // Quantitee | ||||
|             //  | ||||
|             this.Quantitee.DataPropertyName = "Quantitee"; | ||||
|             this.Quantitee.HeaderText = "Quantitee"; | ||||
|             this.Quantitee.Name = "Quantitee"; | ||||
|             this.Quantitee.ReadOnly = true; | ||||
|             this.Quantitee.Width = 60; | ||||
|             //  | ||||
|             // PrixTotHTVA | ||||
|             //  | ||||
|             this.PrixTotHTVA.DataPropertyName = "PrixTotHTVA"; | ||||
|             this.PrixTotHTVA.HeaderText = "Prix totale HTVA"; | ||||
|             this.PrixTotHTVA.Name = "PrixTotHTVA"; | ||||
|             this.PrixTotHTVA.ReadOnly = true; | ||||
|             //  | ||||
|             // pictureBox2 | ||||
|             //  | ||||
|             this.pictureBox2.Image = global::Gestion_de_commerce_Informatique.Properties.Resources.plus; | ||||
|             this.pictureBox2.Location = new System.Drawing.Point(675, 376); | ||||
|             this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.pictureBox2.Image = global::Gestion_de_commerce_Informatique.Properties.Resources.moins; | ||||
|             this.pictureBox2.Location = new System.Drawing.Point(812, 483); | ||||
|             this.pictureBox2.Name = "pictureBox2"; | ||||
|             this.pictureBox2.Size = new System.Drawing.Size(30, 30); | ||||
|             this.pictureBox2.Size = new System.Drawing.Size(31, 29); | ||||
|             this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; | ||||
|             this.pictureBox2.TabIndex = 11; | ||||
|             this.pictureBox2.TabIndex = 17; | ||||
|             this.pictureBox2.TabStop = false; | ||||
|             //  | ||||
|             // bunifuFlatButton1 | ||||
|             // pbAdd | ||||
|             //  | ||||
|             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))); | ||||
|             this.pbAdd.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.pbAdd.Image = global::Gestion_de_commerce_Informatique.Properties.Resources.plus; | ||||
|             this.pbAdd.Location = new System.Drawing.Point(850, 483); | ||||
|             this.pbAdd.Name = "pbAdd"; | ||||
|             this.pbAdd.Size = new System.Drawing.Size(31, 29); | ||||
|             this.pbAdd.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; | ||||
|             this.pbAdd.TabIndex = 16; | ||||
|             this.pbAdd.TabStop = false; | ||||
|             this.pbAdd.Click += new System.EventHandler(this.pbAdd_Click); | ||||
|             //  | ||||
|             // bunifuFlatButton2 | ||||
|             //  | ||||
| @@ -189,7 +424,7 @@ | ||||
|             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.ButtonText = "Creer Panier"; | ||||
|             this.bunifuFlatButton2.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.bunifuFlatButton2.DisabledColor = System.Drawing.Color.Gray; | ||||
|             this.bunifuFlatButton2.Iconcolor = System.Drawing.Color.Transparent; | ||||
| @@ -204,7 +439,7 @@ | ||||
|             this.bunifuFlatButton2.IconVisible = true; | ||||
|             this.bunifuFlatButton2.IconZoom = 90D; | ||||
|             this.bunifuFlatButton2.IsTab = false; | ||||
|             this.bunifuFlatButton2.Location = new System.Drawing.Point(464, 443); | ||||
|             this.bunifuFlatButton2.Location = new System.Drawing.Point(639, 522); | ||||
|             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))))); | ||||
| @@ -212,30 +447,72 @@ | ||||
|             this.bunifuFlatButton2.selected = false; | ||||
|             this.bunifuFlatButton2.Size = new System.Drawing.Size(241, 48); | ||||
|             this.bunifuFlatButton2.TabIndex = 13; | ||||
|             this.bunifuFlatButton2.Text = "bunifuFlatButton2"; | ||||
|             this.bunifuFlatButton2.Text = "Creer Panier"; | ||||
|             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))); | ||||
|             //  | ||||
|             // 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 = "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(13, 523); | ||||
|             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 = "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); | ||||
|             //  | ||||
|             // 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.ClientSize = new System.Drawing.Size(893, 583); | ||||
|             this.Controls.Add(this.cbStatus); | ||||
|             this.Controls.Add(this.lblStatus); | ||||
|             this.Controls.Add(this.cbTypeCommande); | ||||
|             this.Controls.Add(this.lblTypeCommande); | ||||
|             this.Controls.Add(this.pictureBox2); | ||||
|             this.Controls.Add(this.pbAdd); | ||||
|             this.Controls.Add(this.cbUser); | ||||
|             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.Controls.Add(this.dgvLSTArt); | ||||
|             this.Controls.Add(this.lblUserName); | ||||
|             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.dgvLSTArt)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.pbAdd)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
| @@ -244,13 +521,26 @@ | ||||
|         #endregion | ||||
|  | ||||
|         private Bunifu.Framework.UI.BunifuElipse bunifuElipse1; | ||||
|         private System.Windows.Forms.DataGridView dataGridView1; | ||||
|         private System.Windows.Forms.DataGridView dgvLSTArt; | ||||
|         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; | ||||
|         private VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox cbUser; | ||||
|         private Bunifu.Framework.UI.BunifuCustomLabel lblUserName; | ||||
|         private Bunifu.Framework.UI.BunifuDragControl bunifuDragControl1; | ||||
|         private System.Windows.Forms.PictureBox pictureBox2; | ||||
|         private System.Windows.Forms.PictureBox pbAdd; | ||||
|         private VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox cbTypeCommande; | ||||
|         private Bunifu.Framework.UI.BunifuCustomLabel lblTypeCommande; | ||||
|         private System.Windows.Forms.BindingSource bindingSource1; | ||||
|         private VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox cbStatus; | ||||
|         private Bunifu.Framework.UI.BunifuCustomLabel lblStatus; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn idLSTART; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn Designation; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn prixHTVAPc; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn Quantitee; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn PrixTotHTVA; | ||||
|     } | ||||
| } | ||||
| @@ -7,14 +7,80 @@ 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 ConfigCommande : Form | ||||
|     { | ||||
|         BDDAccesArticle bbdArt = new BDDAccesArticle(Settings1.Default.ChaineDeConnection); | ||||
|         BDDAccesPanier bddPanier = new BDDAccesPanier(Settings1.Default.ChaineDeConnection); | ||||
|         BDDAccesUtilisateur bddUser = new BDDAccesUtilisateur(Settings1.Default.ChaineDeConnection); | ||||
|  | ||||
|         private DataTable dtLSTArticle; | ||||
|         private BindingSource bsLSTArticle; | ||||
|         Panier panier; | ||||
|         public ConfigCommande() | ||||
|         { | ||||
|             panier = new Panier(); | ||||
|             InitializeComponent(); | ||||
|             List<Utilisateur> users = bddUser.ListUtilisateurs(Utilisateur.Tri_E.NONE); | ||||
|             foreach(Utilisateur user in users) | ||||
|             { | ||||
|                 cbUser.Items.Add(user); | ||||
|             } | ||||
|             cbTypeCommande.Items.Add(Panier.Type_E.Vente); | ||||
|             cbTypeCommande.Items.Add(Panier.Type_E.Achat); | ||||
|             cbStatus.Items.Add(Panier.Status_E.NULL); | ||||
|             cbStatus.Items.Add(Panier.Status_E.Commander); | ||||
|             cbStatus.Items.Add(Panier.Status_E.Envoyer); | ||||
|             cbStatus.Items.Add(Panier.Status_E.Recu); | ||||
|             bsLSTArticle = new BindingSource(); | ||||
|             dtLSTArticle = new DataTable(); | ||||
|             dtLSTArticle.Columns.Add(new DataColumn("idLSTART", System.Type.GetType("System.Int32"))); | ||||
|             dtLSTArticle.Columns.Add("Designation", typeof(Panier.LSTArticle)); | ||||
|             dtLSTArticle.Columns.Add("prixHTVAPc"); | ||||
|             dtLSTArticle.Columns.Add("Quantitee"); | ||||
|             dtLSTArticle.Columns.Add("PrixTotHTVA"); | ||||
|         } | ||||
|  | ||||
|         private void visualComboBox1_SelectedIndexChanged(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void bunifuFlatButton1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Close(); | ||||
|         } | ||||
|         private void RemplirDVG(DataGridView dgv) | ||||
|         { | ||||
|             dtLSTArticle = new DataTable(); | ||||
|             dtLSTArticle.Columns.Add(new DataColumn("idLSTART", System.Type.GetType("System.Int32"))); | ||||
|             dtLSTArticle.Columns.Add("Designation", typeof(Panier.LSTArticle)); | ||||
|             dtLSTArticle.Columns.Add("prixHTVAPc"); | ||||
|             dtLSTArticle.Columns.Add("Quantitee"); | ||||
|             dtLSTArticle.Columns.Add("PrixTotHTVA"); | ||||
|             List<Panier.LSTArticle> larticles; | ||||
|             larticles = bddPanier.listeArticlePanier(panier.idPanier); | ||||
|             foreach (Panier.LSTArticle Tmp in larticles) | ||||
|                 dtLSTArticle.Rows.Add(Tmp.id, Tmp, $"{Math.Round(Tmp.prixHTVAPC, 2)}€",Tmp.quantitee, Tmp.prixHTVATot); | ||||
|  | ||||
|             bsLSTArticle.DataSource = dtLSTArticle; | ||||
|             dgv.DataSource = bsLSTArticle; | ||||
|         } | ||||
|         public void RemplirDVG() | ||||
|         { | ||||
|             RemplirDVG(dgvLSTArt); | ||||
|         } | ||||
|  | ||||
|         private void pbAdd_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             ConfigLSTArt win = new ConfigLSTArt(dtLSTArticle); | ||||
|             bsLSTArticle.DataSource = dtLSTArticle; | ||||
|             dgvLSTArt.DataSource = bsLSTArticle; | ||||
|             win.ShowDialog(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -247,4 +247,40 @@ | ||||
|         Vu+NkQAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="idLSTART.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="Designation.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="prixHTVAPc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="Quantitee.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="PrixTotHTVA.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="bunifuDragControl1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>141, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="idLSTART.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="Designation.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="prixHTVAPc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="Quantitee.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="PrixTotHTVA.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>301, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										349
									
								
								Gestion de commerce Informatique/ConfigLSTArt.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										349
									
								
								Gestion de commerce Informatique/ConfigLSTArt.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,349 @@ | ||||
| namespace Gestion_de_commerce_Informatique | ||||
| { | ||||
|     partial class ConfigLSTArt | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// Required designer variable. | ||||
|         /// </summary> | ||||
|         private System.ComponentModel.IContainer components = null; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Clean up any resources being used. | ||||
|         /// </summary> | ||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||
|         protected override void Dispose(bool disposing) | ||||
|         { | ||||
|             if (disposing && (components != null)) | ||||
|             { | ||||
|                 components.Dispose(); | ||||
|             } | ||||
|             base.Dispose(disposing); | ||||
|         } | ||||
|  | ||||
|         #region Windows Form Designer generated code | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Required method for Designer support - do not modify | ||||
|         /// the contents of this method with the code editor. | ||||
|         /// </summary> | ||||
|         private void InitializeComponent() | ||||
|         { | ||||
|             this.components = new System.ComponentModel.Container(); | ||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigLSTArt)); | ||||
|             VisualPlus.Structure.TextStyle textStyle3 = new VisualPlus.Structure.TextStyle(); | ||||
|             VisualPlus.Structure.TextStyle textStyle2 = new VisualPlus.Structure.TextStyle(); | ||||
|             VisualPlus.Structure.TextStyle textStyle1 = new VisualPlus.Structure.TextStyle(); | ||||
|             this.bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); | ||||
|             this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components); | ||||
|             this.txtBoxRecherche = new Bunifu.Framework.UI.BunifuTextbox(); | ||||
|             this.dgvArticle = new System.Windows.Forms.DataGridView(); | ||||
|             this.btnAddPanier = new Bunifu.Framework.UI.BunifuFlatButton(); | ||||
|             this.btnAnnuler = new Bunifu.Framework.UI.BunifuFlatButton(); | ||||
|             this.Quantitee = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); | ||||
|             this.vtbQuant = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); | ||||
|             this.lblPrixTot = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); | ||||
|             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.NomArticle = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.Valeur = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             this.Stock = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dgvArticle)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // 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; | ||||
|             //  | ||||
|             // txtBoxRecherche | ||||
|             //  | ||||
|             this.txtBoxRecherche.BackColor = System.Drawing.SystemColors.Control; | ||||
|             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(12, 12); | ||||
|             this.txtBoxRecherche.Name = "txtBoxRecherche"; | ||||
|             this.txtBoxRecherche.Size = new System.Drawing.Size(664, 42); | ||||
|             this.txtBoxRecherche.TabIndex = 12; | ||||
|             this.txtBoxRecherche.text = ""; | ||||
|             this.txtBoxRecherche.KeyUp += new System.EventHandler(this.txtBoxRecherche_KeyUp); | ||||
|             //  | ||||
|             // dgvArticle | ||||
|             //  | ||||
|             this.dgvArticle.AllowUserToAddRows = false; | ||||
|             this.dgvArticle.AllowUserToDeleteRows = false; | ||||
|             this.dgvArticle.BackgroundColor = System.Drawing.SystemColors.Control; | ||||
|             this.dgvArticle.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||
|             this.dgvArticle.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||
|             this.dataGridViewTextBoxColumn1, | ||||
|             this.NomArticle, | ||||
|             this.Valeur, | ||||
|             this.Stock}); | ||||
|             this.dgvArticle.Location = new System.Drawing.Point(12, 60); | ||||
|             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 = 11; | ||||
|             //  | ||||
|             // btnAddPanier | ||||
|             //  | ||||
|             this.btnAddPanier.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.btnAddPanier.BackColor = System.Drawing.Color.Transparent; | ||||
|             this.btnAddPanier.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; | ||||
|             this.btnAddPanier.BorderRadius = 0; | ||||
|             this.btnAddPanier.ButtonText = "Ajouter au panier"; | ||||
|             this.btnAddPanier.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.btnAddPanier.DisabledColor = System.Drawing.Color.Gray; | ||||
|             this.btnAddPanier.Font = new System.Drawing.Font("Stencil", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.btnAddPanier.Iconcolor = System.Drawing.Color.Transparent; | ||||
|             this.btnAddPanier.Iconimage = global::Gestion_de_commerce_Informatique.Properties.Resources.canvas; | ||||
|             this.btnAddPanier.Iconimage_right = null; | ||||
|             this.btnAddPanier.Iconimage_right_Selected = null; | ||||
|             this.btnAddPanier.Iconimage_Selected = null; | ||||
|             this.btnAddPanier.IconMarginLeft = 0; | ||||
|             this.btnAddPanier.IconMarginRight = 0; | ||||
|             this.btnAddPanier.IconRightVisible = true; | ||||
|             this.btnAddPanier.IconRightZoom = 0D; | ||||
|             this.btnAddPanier.IconVisible = true; | ||||
|             this.btnAddPanier.IconZoom = 90D; | ||||
|             this.btnAddPanier.IsTab = false; | ||||
|             this.btnAddPanier.Location = new System.Drawing.Point(424, 449); | ||||
|             this.btnAddPanier.Name = "btnAddPanier"; | ||||
|             this.btnAddPanier.Normalcolor = System.Drawing.Color.Transparent; | ||||
|             this.btnAddPanier.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.btnAddPanier.OnHoverTextColor = System.Drawing.Color.Black; | ||||
|             this.btnAddPanier.selected = false; | ||||
|             this.btnAddPanier.Size = new System.Drawing.Size(252, 43); | ||||
|             this.btnAddPanier.TabIndex = 13; | ||||
|             this.btnAddPanier.Text = "Ajouter au panier"; | ||||
|             this.btnAddPanier.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||
|             this.btnAddPanier.Textcolor = System.Drawing.Color.Black; | ||||
|             this.btnAddPanier.TextFont = new System.Drawing.Font("Stencil", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.btnAddPanier.Click += new System.EventHandler(this.btnAddPanier_Click); | ||||
|             //  | ||||
|             // btnAnnuler | ||||
|             //  | ||||
|             this.btnAnnuler.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.btnAnnuler.BackColor = System.Drawing.Color.Transparent; | ||||
|             this.btnAnnuler.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; | ||||
|             this.btnAnnuler.BorderRadius = 0; | ||||
|             this.btnAnnuler.ButtonText = "Annuler"; | ||||
|             this.btnAnnuler.Cursor = System.Windows.Forms.Cursors.Hand; | ||||
|             this.btnAnnuler.DisabledColor = System.Drawing.Color.Gray; | ||||
|             this.btnAnnuler.Font = new System.Drawing.Font("Stencil", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.btnAnnuler.Iconcolor = System.Drawing.Color.Transparent; | ||||
|             this.btnAnnuler.Iconimage = global::Gestion_de_commerce_Informatique.Properties.Resources.canvas; | ||||
|             this.btnAnnuler.Iconimage_right = null; | ||||
|             this.btnAnnuler.Iconimage_right_Selected = null; | ||||
|             this.btnAnnuler.Iconimage_Selected = null; | ||||
|             this.btnAnnuler.IconMarginLeft = 0; | ||||
|             this.btnAnnuler.IconMarginRight = 0; | ||||
|             this.btnAnnuler.IconRightVisible = true; | ||||
|             this.btnAnnuler.IconRightZoom = 0D; | ||||
|             this.btnAnnuler.IconVisible = true; | ||||
|             this.btnAnnuler.IconZoom = 90D; | ||||
|             this.btnAnnuler.IsTab = false; | ||||
|             this.btnAnnuler.Location = new System.Drawing.Point(12, 449); | ||||
|             this.btnAnnuler.Name = "btnAnnuler"; | ||||
|             this.btnAnnuler.Normalcolor = System.Drawing.Color.Transparent; | ||||
|             this.btnAnnuler.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.btnAnnuler.OnHoverTextColor = System.Drawing.Color.Black; | ||||
|             this.btnAnnuler.selected = false; | ||||
|             this.btnAnnuler.Size = new System.Drawing.Size(252, 43); | ||||
|             this.btnAnnuler.TabIndex = 14; | ||||
|             this.btnAnnuler.Text = "Annuler"; | ||||
|             this.btnAnnuler.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||
|             this.btnAnnuler.Textcolor = System.Drawing.Color.Black; | ||||
|             this.btnAnnuler.TextFont = new System.Drawing.Font("Stencil", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.btnAnnuler.Click += new System.EventHandler(this.btnAnnuler_Click); | ||||
|             //  | ||||
|             // Quantitee | ||||
|             //  | ||||
|             this.Quantitee.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.Quantitee.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.Quantitee.Location = new System.Drawing.Point(12, 411); | ||||
|             this.Quantitee.MouseState = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.Quantitee.Name = "Quantitee"; | ||||
|             this.Quantitee.Orientation = System.Windows.Forms.Orientation.Horizontal; | ||||
|             this.Quantitee.Outline = false; | ||||
|             this.Quantitee.OutlineColor = System.Drawing.Color.Red; | ||||
|             this.Quantitee.OutlineLocation = new System.Drawing.Point(0, 0); | ||||
|             this.Quantitee.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.Quantitee.ReflectionSpacing = 0; | ||||
|             this.Quantitee.ShadowColor = System.Drawing.Color.Black; | ||||
|             this.Quantitee.ShadowDirection = 315; | ||||
|             this.Quantitee.ShadowLocation = new System.Drawing.Point(0, 0); | ||||
|             this.Quantitee.ShadowOpacity = 100; | ||||
|             this.Quantitee.Size = new System.Drawing.Size(59, 23); | ||||
|             this.Quantitee.TabIndex = 16; | ||||
|             this.Quantitee.Text = "Qunatitée :"; | ||||
|             this.Quantitee.TextAlignment = System.Drawing.StringAlignment.Near; | ||||
|             this.Quantitee.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.Quantitee.TextStyle = textStyle3; | ||||
|             //  | ||||
|             // vtbQuant | ||||
|             //  | ||||
|             this.vtbQuant.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); | ||||
|             this.vtbQuant.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); | ||||
|             this.vtbQuant.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); | ||||
|             this.vtbQuant.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); | ||||
|             this.vtbQuant.Border.HoverVisible = true; | ||||
|             this.vtbQuant.Border.Rounding = 6; | ||||
|             this.vtbQuant.Border.Thickness = 1; | ||||
|             this.vtbQuant.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; | ||||
|             this.vtbQuant.Border.Visible = true; | ||||
|             this.vtbQuant.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); | ||||
|             this.vtbQuant.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); | ||||
|             this.vtbQuant.ButtonBorder.HoverVisible = true; | ||||
|             this.vtbQuant.ButtonBorder.Rounding = 6; | ||||
|             this.vtbQuant.ButtonBorder.Thickness = 1; | ||||
|             this.vtbQuant.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; | ||||
|             this.vtbQuant.ButtonBorder.Visible = true; | ||||
|             this.vtbQuant.ButtonColor.Disabled = System.Drawing.Color.Empty; | ||||
|             this.vtbQuant.ButtonColor.Enabled = System.Drawing.Color.Empty; | ||||
|             this.vtbQuant.ButtonColor.Hover = System.Drawing.Color.Empty; | ||||
|             this.vtbQuant.ButtonColor.Pressed = System.Drawing.Color.Empty; | ||||
|             this.vtbQuant.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||
|             this.vtbQuant.ButtonIndent = 3; | ||||
|             this.vtbQuant.ButtonText = "visualButton"; | ||||
|             this.vtbQuant.ButtonVisible = false; | ||||
|             this.vtbQuant.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.vtbQuant.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.vtbQuant.ImageSize = new System.Drawing.Size(16, 16); | ||||
|             this.vtbQuant.ImageVisible = false; | ||||
|             this.vtbQuant.ImageWidth = 35; | ||||
|             this.vtbQuant.Location = new System.Drawing.Point(77, 409); | ||||
|             this.vtbQuant.MaxLength = 49; | ||||
|             this.vtbQuant.MouseState = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.vtbQuant.Name = "vtbQuant"; | ||||
|             this.vtbQuant.PasswordChar = '\0'; | ||||
|             this.vtbQuant.ReadOnly = false; | ||||
|             this.vtbQuant.ScrollBars = System.Windows.Forms.ScrollBars.None; | ||||
|             this.vtbQuant.Size = new System.Drawing.Size(91, 25); | ||||
|             this.vtbQuant.TabIndex = 17; | ||||
|             this.vtbQuant.TextBoxWidth = 81; | ||||
|             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.vtbQuant.TextStyle = textStyle2; | ||||
|             this.vtbQuant.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); | ||||
|             this.vtbQuant.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.vtbQuant.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); | ||||
|             this.vtbQuant.Watermark.Text = "Watermark text"; | ||||
|             this.vtbQuant.Watermark.Visible = false; | ||||
|             //  | ||||
|             // lblPrixTot | ||||
|             //  | ||||
|             this.lblPrixTot.Font = new System.Drawing.Font("Segoe UI", 8.25F); | ||||
|             this.lblPrixTot.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.lblPrixTot.Location = new System.Drawing.Point(542, 409); | ||||
|             this.lblPrixTot.MouseState = VisualPlus.Enumerators.MouseStates.Normal; | ||||
|             this.lblPrixTot.Name = "lblPrixTot"; | ||||
|             this.lblPrixTot.Orientation = System.Windows.Forms.Orientation.Horizontal; | ||||
|             this.lblPrixTot.Outline = false; | ||||
|             this.lblPrixTot.OutlineColor = System.Drawing.Color.Red; | ||||
|             this.lblPrixTot.OutlineLocation = new System.Drawing.Point(0, 0); | ||||
|             this.lblPrixTot.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); | ||||
|             this.lblPrixTot.ReflectionSpacing = 0; | ||||
|             this.lblPrixTot.ShadowColor = System.Drawing.Color.Black; | ||||
|             this.lblPrixTot.ShadowDirection = 315; | ||||
|             this.lblPrixTot.ShadowLocation = new System.Drawing.Point(0, 0); | ||||
|             this.lblPrixTot.ShadowOpacity = 100; | ||||
|             this.lblPrixTot.Size = new System.Drawing.Size(111, 23); | ||||
|             this.lblPrixTot.TabIndex = 18; | ||||
|             this.lblPrixTot.Text = "Prix Totale : 0.0€"; | ||||
|             this.lblPrixTot.TextAlignment = System.Drawing.StringAlignment.Near; | ||||
|             this.lblPrixTot.TextLineAlignment = System.Drawing.StringAlignment.Center; | ||||
|             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.lblPrixTot.TextStyle = textStyle1; | ||||
|             //  | ||||
|             // 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; | ||||
|             //  | ||||
|             // NomArticle | ||||
|             //  | ||||
|             this.NomArticle.DataPropertyName = "NomArticle"; | ||||
|             this.NomArticle.HeaderText = "Nom de l\'artilce"; | ||||
|             this.NomArticle.MinimumWidth = 20; | ||||
|             this.NomArticle.Name = "NomArticle"; | ||||
|             this.NomArticle.ReadOnly = true; | ||||
|             this.NomArticle.Width = 520; | ||||
|             //  | ||||
|             // Valeur | ||||
|             //  | ||||
|             this.Valeur.DataPropertyName = "Valeur"; | ||||
|             this.Valeur.HeaderText = "Valeur"; | ||||
|             this.Valeur.Name = "Valeur"; | ||||
|             this.Valeur.ReadOnly = true; | ||||
|             this.Valeur.Width = 70; | ||||
|             //  | ||||
|             // Stock | ||||
|             //  | ||||
|             this.Stock.DataPropertyName = "Stock"; | ||||
|             this.Stock.HeaderText = "Stock"; | ||||
|             this.Stock.Name = "Stock"; | ||||
|             this.Stock.ReadOnly = true; | ||||
|             this.Stock.Width = 68; | ||||
|             //  | ||||
|             // ConfigLSTArt | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(688, 504); | ||||
|             this.Controls.Add(this.lblPrixTot); | ||||
|             this.Controls.Add(this.vtbQuant); | ||||
|             this.Controls.Add(this.Quantitee); | ||||
|             this.Controls.Add(this.btnAnnuler); | ||||
|             this.Controls.Add(this.btnAddPanier); | ||||
|             this.Controls.Add(this.txtBoxRecherche); | ||||
|             this.Controls.Add(this.dgvArticle); | ||||
|             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | ||||
|             this.Name = "ConfigLSTArt"; | ||||
|             this.Text = "ConfigLSTArt"; | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dgvArticle)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private Bunifu.Framework.UI.BunifuElipse bunifuElipse1; | ||||
|         private Bunifu.Framework.UI.BunifuDragControl bunifuDragControl1; | ||||
|         private Bunifu.Framework.UI.BunifuTextbox txtBoxRecherche; | ||||
|         private System.Windows.Forms.DataGridView dgvArticle; | ||||
|         private Bunifu.Framework.UI.BunifuFlatButton btnAnnuler; | ||||
|         private Bunifu.Framework.UI.BunifuFlatButton btnAddPanier; | ||||
|         private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel Quantitee; | ||||
|         private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblPrixTot; | ||||
|         private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbQuant; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn NomArticle; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn Valeur; | ||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn Stock; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										73
									
								
								Gestion de commerce Informatique/ConfigLSTArt.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										73
									
								
								Gestion de commerce Informatique/ConfigLSTArt.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,73 @@ | ||||
| using GestionDeCommerceInfoClasseBDDNCouches.DataLayer; | ||||
| using GestionDeCommerceInfoClasseBDDNCouches; | ||||
| 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 ConfigLSTArt : Form | ||||
|     { | ||||
|         BDDAccesArticle bddArticle = new BDDAccesArticle(Settings1.Default.ChaineDeConnection); | ||||
|         private DataTable dtArticle; | ||||
|         private DataTable dtLSTArt; | ||||
|         private BindingSource bsArticle; | ||||
|         private Panier.LSTArticle lstArt; | ||||
|         public ConfigLSTArt(DataTable dtLSTArt) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             bsArticle = new BindingSource(); | ||||
|             this.dtLSTArt = dtLSTArt; | ||||
|             RemplirDVG(); | ||||
|         } | ||||
|  | ||||
|         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 RemplirDVG(DataGridView dgv) | ||||
|         { | ||||
|             dtArticle = new DataTable(); | ||||
|             dtArticle.Columns.Add(new DataColumn("idArt", System.Type.GetType("System.Int32"))); | ||||
|             dtArticle.Columns.Add(new DataColumn("NomArticle", typeof(Article))); | ||||
|             dtArticle.Columns.Add("Valeur"); | ||||
|             dtArticle.Columns.Add("Stock"); | ||||
|             List<Article> larticles; | ||||
|             larticles = bddArticle.ListArticles(); | ||||
|             foreach (Article Tmp in larticles) | ||||
|                 dtArticle.Rows.Add(Tmp.ID, Tmp, $"{Math.Round(Tmp.PrixHTVA, 2)}€", Tmp.Stock); | ||||
|  | ||||
|             bsArticle.DataSource = dtArticle; | ||||
|             dgv.DataSource = bsArticle; | ||||
|         } | ||||
|         public void RemplirDVG() | ||||
|         { | ||||
|             RemplirDVG(dgvArticle); | ||||
|         } | ||||
|  | ||||
|         private void btnAnnuler_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Close(); | ||||
|         } | ||||
|  | ||||
|         private void btnAddPanier_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             int quant; | ||||
|             if (int.TryParse(vtbQuant.Text, out quant)) | ||||
|             { | ||||
|                 Article art = (Article)dgvArticle.SelectedRows[0].Cells["NomArticle"].Value; | ||||
|                 Panier.LSTArticle lstart = new Panier.LSTArticle(art, quant); | ||||
|                 dtLSTArt.Rows.Add(-1, lstart, $"{Math.Round(lstart.prixHTVAPC, 2)}€", lstart.quantitee, lstart.prixHTVATot); | ||||
|             } | ||||
|              | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										182
									
								
								Gestion de commerce Informatique/ConfigLSTArt.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										182
									
								
								Gestion de commerce Informatique/ConfigLSTArt.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,182 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="bunifuElipse1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="txtBoxRecherche.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         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= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="txtBoxRecherche.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         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= | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="NomArticle.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="Valeur.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="Stock.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </metadata> | ||||
|   <metadata name="bunifuDragControl1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>141, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
| @@ -59,6 +59,7 @@ | ||||
|             this.cbType = new VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox(); | ||||
|             this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton(); | ||||
|             this.btnConfirm = new Bunifu.Framework.UI.BunifuFlatButton(); | ||||
|             this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // vtbNom | ||||
| @@ -658,6 +659,11 @@ | ||||
|             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); | ||||
|             //  | ||||
|             // contextMenuStrip1 | ||||
|             //  | ||||
|             this.contextMenuStrip1.Name = "contextMenuStrip1"; | ||||
|             this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); | ||||
|             //  | ||||
|             // ConfigurationUtilisateur | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | ||||
| @@ -704,5 +710,6 @@ | ||||
|         private VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox cbType; | ||||
|         private Bunifu.Framework.UI.BunifuFlatButton btnConfirm; | ||||
|         private Bunifu.Framework.UI.BunifuFlatButton bunifuFlatButton1; | ||||
|         private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; | ||||
|     } | ||||
| } | ||||
| @@ -244,4 +244,7 @@ | ||||
|         Vu+NkQAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
| @@ -63,6 +63,12 @@ | ||||
|     <Compile Include="ConfigCommande.Designer.cs"> | ||||
|       <DependentUpon>ConfigCommande.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="ConfigLSTArt.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="ConfigLSTArt.Designer.cs"> | ||||
|       <DependentUpon>ConfigLSTArt.cs</DependentUpon> | ||||
|     </Compile> | ||||
|     <Compile Include="ConfigurationStock.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
| @@ -115,6 +121,9 @@ | ||||
|     <EmbeddedResource Include="ConfigCommande.resx"> | ||||
|       <DependentUpon>ConfigCommande.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="ConfigLSTArt.resx"> | ||||
|       <DependentUpon>ConfigLSTArt.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|     <EmbeddedResource Include="ConfigurationStock.resx"> | ||||
|       <DependentUpon>ConfigurationStock.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|   | ||||
| @@ -33,6 +33,7 @@ namespace Gestion_de_commerce_Informatique | ||||
|             lusersTN = b.ListUtilisateurs(Utilisateur.Tri_E.NOM); | ||||
|             lusersTP = b.ListUtilisateurs(Utilisateur.Tri_E.PRENOM); | ||||
|  | ||||
|             Panier.LSTArticle lst = new Panier.LSTArticle(new Article("Caca", 145.12, 50, true, true), 10); | ||||
|  | ||||
|             //Console.WriteLine(l.ToString()); | ||||
|             Application.EnableVisualStyles(); | ||||
|   | ||||
| @@ -113,9 +113,9 @@ namespace Gestion_de_commerce_Informatique.Properties { | ||||
|         /// <summary> | ||||
|         ///   Recherche une ressource localisée de type System.Drawing.Bitmap. | ||||
|         /// </summary> | ||||
|         internal static System.Drawing.Bitmap moin { | ||||
|         internal static System.Drawing.Bitmap moins { | ||||
|             get { | ||||
|                 object obj = ResourceManager.GetObject("moin", resourceCulture); | ||||
|                 object obj = ResourceManager.GetObject("moins", resourceCulture); | ||||
|                 return ((System.Drawing.Bitmap)(obj)); | ||||
|             } | ||||
|         } | ||||
|   | ||||
| @@ -127,7 +127,7 @@ | ||||
|   <data name="exit2" type="System.Resources.ResXFileRef, System.Windows.Forms"> | ||||
|     <value>..\Resources\exit2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> | ||||
|   </data> | ||||
|   <data name="-" type="System.Resources.ResXFileRef, System.Windows.Forms"> | ||||
|   <data name="moins" type="System.Resources.ResXFileRef, System.Windows.Forms"> | ||||
|     <value>..\Resources\-.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> | ||||
|   </data> | ||||
|   <data name="stock" type="System.Resources.ResXFileRef, System.Windows.Forms"> | ||||
| @@ -145,7 +145,7 @@ | ||||
|   <data name="logo" type="System.Resources.ResXFileRef, System.Windows.Forms"> | ||||
|     <value>..\Resources\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> | ||||
|   </data> | ||||
|   <data name="+" type="System.Resources.ResXFileRef, System.Windows.Forms"> | ||||
|   <data name="plus" type="System.Resources.ResXFileRef, System.Windows.Forms"> | ||||
|     <value>..\Resources\+.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> | ||||
|   </data> | ||||
| </root> | ||||
		Reference in New Issue
	
	Block a user