diff --git a/Gestion de commerce Informatique/ConfigurationUtilisateur.Designer.cs b/Gestion de commerce Informatique/ConfigurationUtilisateur.Designer.cs new file mode 100644 index 0000000..112ff4f --- /dev/null +++ b/Gestion de commerce Informatique/ConfigurationUtilisateur.Designer.cs @@ -0,0 +1,708 @@ +namespace Gestion_de_commerce_Informatique +{ + partial class ConfigurationUtilisateur + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + VisualPlus.Structure.TextStyle textStyle1 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle2 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle3 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle4 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle5 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle6 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle7 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle8 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle9 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle10 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle11 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle12 = new VisualPlus.Structure.TextStyle(); + VisualPlus.Structure.TextStyle textStyle13 = new VisualPlus.Structure.TextStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigurationUtilisateur)); + this.vtbNom = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.lblNom = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.lblPrenom = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.vtbPrenom = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.lblAdresse = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.vtbAdresse = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.lblNCompte = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.vtbNCompte = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.datepickAnnif = new Bunifu.Framework.UI.BunifuDatepicker(); + this.visualLabel1 = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.lblEmail = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.vtbEmail = new VisualPlus.Toolkit.Controls.Editors.VisualTextBox(); + this.lblType = new VisualPlus.Toolkit.Controls.Interactivity.VisualLabel(); + this.cbType = new VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox(); + this.btnConfirm = new Bunifu.Framework.UI.BunifuFlatButton(); + this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton(); + this.SuspendLayout(); + // + // vtbNom + // + this.vtbNom.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbNom.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbNom.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbNom.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbNom.Border.HoverVisible = true; + this.vtbNom.Border.Rounding = 6; + this.vtbNom.Border.Thickness = 1; + this.vtbNom.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbNom.Border.Visible = true; + this.vtbNom.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbNom.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbNom.ButtonBorder.HoverVisible = true; + this.vtbNom.ButtonBorder.Rounding = 6; + this.vtbNom.ButtonBorder.Thickness = 1; + this.vtbNom.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbNom.ButtonBorder.Visible = true; + this.vtbNom.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbNom.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbNom.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbNom.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbNom.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbNom.ButtonIndent = 3; + this.vtbNom.ButtonText = "visualButton"; + this.vtbNom.ButtonVisible = false; + this.vtbNom.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbNom.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbNom.ImageSize = new System.Drawing.Size(16, 16); + this.vtbNom.ImageVisible = false; + this.vtbNom.ImageWidth = 35; + this.vtbNom.Location = new System.Drawing.Point(93, 41); + this.vtbNom.MaxLength = 49; + this.vtbNom.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbNom.Name = "vtbNom"; + this.vtbNom.PasswordChar = '\0'; + this.vtbNom.ReadOnly = false; + this.vtbNom.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbNom.Size = new System.Drawing.Size(273, 25); + this.vtbNom.TabIndex = 1; + this.vtbNom.TextBoxWidth = 263; + textStyle1.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle1.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle1.Hover = System.Drawing.Color.Empty; + textStyle1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbNom.TextStyle = textStyle1; + this.vtbNom.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbNom.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbNom.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbNom.Watermark.Text = "Watermark text"; + this.vtbNom.Watermark.Visible = false; + // + // lblNom + // + this.lblNom.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblNom.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblNom.Location = new System.Drawing.Point(12, 43); + this.lblNom.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblNom.Name = "lblNom"; + this.lblNom.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblNom.Outline = false; + this.lblNom.OutlineColor = System.Drawing.Color.Red; + this.lblNom.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblNom.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblNom.ReflectionSpacing = 0; + this.lblNom.ShadowColor = System.Drawing.Color.Black; + this.lblNom.ShadowDirection = 315; + this.lblNom.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblNom.ShadowOpacity = 100; + this.lblNom.Size = new System.Drawing.Size(75, 23); + this.lblNom.TabIndex = 14; + this.lblNom.Text = "Nom"; + this.lblNom.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblNom.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle2.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle2.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle2.Hover = System.Drawing.Color.Empty; + textStyle2.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.lblNom.TextStyle = textStyle2; + // + // lblPrenom + // + this.lblPrenom.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblPrenom.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblPrenom.Location = new System.Drawing.Point(12, 74); + this.lblPrenom.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblPrenom.Name = "lblPrenom"; + this.lblPrenom.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblPrenom.Outline = false; + this.lblPrenom.OutlineColor = System.Drawing.Color.Red; + this.lblPrenom.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblPrenom.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblPrenom.ReflectionSpacing = 0; + this.lblPrenom.ShadowColor = System.Drawing.Color.Black; + this.lblPrenom.ShadowDirection = 315; + this.lblPrenom.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblPrenom.ShadowOpacity = 100; + this.lblPrenom.Size = new System.Drawing.Size(75, 23); + this.lblPrenom.TabIndex = 13; + this.lblPrenom.Text = "Prenom"; + this.lblPrenom.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblPrenom.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.lblPrenom.TextStyle = textStyle3; + // + // vtbPrenom + // + this.vtbPrenom.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbPrenom.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbPrenom.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbPrenom.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbPrenom.Border.HoverVisible = true; + this.vtbPrenom.Border.Rounding = 6; + this.vtbPrenom.Border.Thickness = 1; + this.vtbPrenom.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbPrenom.Border.Visible = true; + this.vtbPrenom.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbPrenom.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbPrenom.ButtonBorder.HoverVisible = true; + this.vtbPrenom.ButtonBorder.Rounding = 6; + this.vtbPrenom.ButtonBorder.Thickness = 1; + this.vtbPrenom.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbPrenom.ButtonBorder.Visible = true; + this.vtbPrenom.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbPrenom.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbPrenom.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbPrenom.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbPrenom.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbPrenom.ButtonIndent = 3; + this.vtbPrenom.ButtonText = "visualButton"; + this.vtbPrenom.ButtonVisible = false; + this.vtbPrenom.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbPrenom.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbPrenom.ImageSize = new System.Drawing.Size(16, 16); + this.vtbPrenom.ImageVisible = false; + this.vtbPrenom.ImageWidth = 35; + this.vtbPrenom.Location = new System.Drawing.Point(93, 72); + this.vtbPrenom.MaxLength = 49; + this.vtbPrenom.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbPrenom.Name = "vtbPrenom"; + this.vtbPrenom.PasswordChar = '\0'; + this.vtbPrenom.ReadOnly = false; + this.vtbPrenom.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbPrenom.Size = new System.Drawing.Size(273, 25); + this.vtbPrenom.TabIndex = 2; + this.vtbPrenom.TextBoxWidth = 263; + textStyle4.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle4.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle4.Hover = System.Drawing.Color.Empty; + textStyle4.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbPrenom.TextStyle = textStyle4; + this.vtbPrenom.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbPrenom.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbPrenom.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbPrenom.Watermark.Text = "Watermark text"; + this.vtbPrenom.Watermark.Visible = false; + // + // lblAdresse + // + this.lblAdresse.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblAdresse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblAdresse.Location = new System.Drawing.Point(12, 105); + this.lblAdresse.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblAdresse.Name = "lblAdresse"; + this.lblAdresse.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblAdresse.Outline = false; + this.lblAdresse.OutlineColor = System.Drawing.Color.Red; + this.lblAdresse.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblAdresse.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblAdresse.ReflectionSpacing = 0; + this.lblAdresse.ShadowColor = System.Drawing.Color.Black; + this.lblAdresse.ShadowDirection = 315; + this.lblAdresse.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblAdresse.ShadowOpacity = 100; + this.lblAdresse.Size = new System.Drawing.Size(75, 23); + this.lblAdresse.TabIndex = 12; + this.lblAdresse.Text = "Adresse"; + this.lblAdresse.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblAdresse.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle5.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle5.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle5.Hover = System.Drawing.Color.Empty; + textStyle5.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.lblAdresse.TextStyle = textStyle5; + // + // vtbAdresse + // + this.vtbAdresse.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbAdresse.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbAdresse.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbAdresse.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbAdresse.Border.HoverVisible = true; + this.vtbAdresse.Border.Rounding = 6; + this.vtbAdresse.Border.Thickness = 1; + this.vtbAdresse.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbAdresse.Border.Visible = true; + this.vtbAdresse.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbAdresse.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbAdresse.ButtonBorder.HoverVisible = true; + this.vtbAdresse.ButtonBorder.Rounding = 6; + this.vtbAdresse.ButtonBorder.Thickness = 1; + this.vtbAdresse.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbAdresse.ButtonBorder.Visible = true; + this.vtbAdresse.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbAdresse.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbAdresse.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbAdresse.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbAdresse.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbAdresse.ButtonIndent = 3; + this.vtbAdresse.ButtonText = "visualButton"; + this.vtbAdresse.ButtonVisible = false; + this.vtbAdresse.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbAdresse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbAdresse.ImageSize = new System.Drawing.Size(16, 16); + this.vtbAdresse.ImageVisible = false; + this.vtbAdresse.ImageWidth = 35; + this.vtbAdresse.Location = new System.Drawing.Point(93, 103); + this.vtbAdresse.MaxLength = 49; + this.vtbAdresse.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbAdresse.Name = "vtbAdresse"; + this.vtbAdresse.PasswordChar = '\0'; + this.vtbAdresse.ReadOnly = false; + this.vtbAdresse.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbAdresse.Size = new System.Drawing.Size(273, 25); + this.vtbAdresse.TabIndex = 3; + this.vtbAdresse.TextBoxWidth = 263; + textStyle6.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle6.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle6.Hover = System.Drawing.Color.Empty; + textStyle6.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbAdresse.TextStyle = textStyle6; + this.vtbAdresse.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbAdresse.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbAdresse.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbAdresse.Watermark.Text = "Watermark text"; + this.vtbAdresse.Watermark.Visible = false; + // + // lblNCompte + // + this.lblNCompte.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblNCompte.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblNCompte.Location = new System.Drawing.Point(12, 136); + this.lblNCompte.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblNCompte.Name = "lblNCompte"; + this.lblNCompte.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblNCompte.Outline = false; + this.lblNCompte.OutlineColor = System.Drawing.Color.Red; + this.lblNCompte.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblNCompte.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblNCompte.ReflectionSpacing = 0; + this.lblNCompte.ShadowColor = System.Drawing.Color.Black; + this.lblNCompte.ShadowDirection = 315; + this.lblNCompte.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblNCompte.ShadowOpacity = 100; + this.lblNCompte.Size = new System.Drawing.Size(75, 23); + this.lblNCompte.TabIndex = 11; + this.lblNCompte.Text = "N° de compte"; + this.lblNCompte.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblNCompte.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle7.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle7.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle7.Hover = System.Drawing.Color.Empty; + textStyle7.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.lblNCompte.TextStyle = textStyle7; + // + // vtbNCompte + // + this.vtbNCompte.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbNCompte.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbNCompte.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbNCompte.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbNCompte.Border.HoverVisible = true; + this.vtbNCompte.Border.Rounding = 6; + this.vtbNCompte.Border.Thickness = 1; + this.vtbNCompte.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbNCompte.Border.Visible = true; + this.vtbNCompte.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbNCompte.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbNCompte.ButtonBorder.HoverVisible = true; + this.vtbNCompte.ButtonBorder.Rounding = 6; + this.vtbNCompte.ButtonBorder.Thickness = 1; + this.vtbNCompte.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbNCompte.ButtonBorder.Visible = true; + this.vtbNCompte.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbNCompte.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbNCompte.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbNCompte.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbNCompte.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbNCompte.ButtonIndent = 3; + this.vtbNCompte.ButtonText = "visualButton"; + this.vtbNCompte.ButtonVisible = false; + this.vtbNCompte.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbNCompte.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbNCompte.ImageSize = new System.Drawing.Size(16, 16); + this.vtbNCompte.ImageVisible = false; + this.vtbNCompte.ImageWidth = 35; + this.vtbNCompte.Location = new System.Drawing.Point(93, 134); + this.vtbNCompte.MaxLength = 50; + this.vtbNCompte.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbNCompte.Name = "vtbNCompte"; + this.vtbNCompte.PasswordChar = '\0'; + this.vtbNCompte.ReadOnly = false; + this.vtbNCompte.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbNCompte.Size = new System.Drawing.Size(273, 25); + this.vtbNCompte.TabIndex = 4; + this.vtbNCompte.TextBoxWidth = 263; + textStyle8.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle8.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle8.Hover = System.Drawing.Color.Empty; + textStyle8.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbNCompte.TextStyle = textStyle8; + this.vtbNCompte.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbNCompte.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbNCompte.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbNCompte.Watermark.Text = "Watermark text"; + this.vtbNCompte.Watermark.Visible = false; + // + // datepickAnnif + // + this.datepickAnnif.BackColor = System.Drawing.Color.SeaGreen; + this.datepickAnnif.BorderRadius = 0; + this.datepickAnnif.ForeColor = System.Drawing.Color.White; + this.datepickAnnif.Format = System.Windows.Forms.DateTimePickerFormat.Long; + this.datepickAnnif.FormatCustom = null; + this.datepickAnnif.Location = new System.Drawing.Point(93, 166); + this.datepickAnnif.Name = "datepickAnnif"; + this.datepickAnnif.Size = new System.Drawing.Size(273, 31); + this.datepickAnnif.TabIndex = 5; + this.datepickAnnif.Value = new System.DateTime(2018, 6, 5, 14, 41, 0, 0); + // + // visualLabel1 + // + this.visualLabel1.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.visualLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.visualLabel1.Location = new System.Drawing.Point(12, 174); + this.visualLabel1.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.visualLabel1.Name = "visualLabel1"; + this.visualLabel1.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.visualLabel1.Outline = false; + this.visualLabel1.OutlineColor = System.Drawing.Color.Red; + this.visualLabel1.OutlineLocation = new System.Drawing.Point(0, 0); + this.visualLabel1.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.visualLabel1.ReflectionSpacing = 0; + this.visualLabel1.ShadowColor = System.Drawing.Color.Black; + this.visualLabel1.ShadowDirection = 315; + this.visualLabel1.ShadowLocation = new System.Drawing.Point(0, 0); + this.visualLabel1.ShadowOpacity = 100; + this.visualLabel1.Size = new System.Drawing.Size(75, 23); + this.visualLabel1.TabIndex = 10; + this.visualLabel1.Text = "Anniversaire"; + this.visualLabel1.TextAlignment = System.Drawing.StringAlignment.Near; + this.visualLabel1.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle9.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle9.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle9.Hover = System.Drawing.Color.Empty; + textStyle9.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.visualLabel1.TextStyle = textStyle9; + // + // lblEmail + // + this.lblEmail.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblEmail.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblEmail.Location = new System.Drawing.Point(12, 14); + this.lblEmail.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblEmail.Name = "lblEmail"; + this.lblEmail.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblEmail.Outline = false; + this.lblEmail.OutlineColor = System.Drawing.Color.Red; + this.lblEmail.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblEmail.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblEmail.ReflectionSpacing = 0; + this.lblEmail.ShadowColor = System.Drawing.Color.Black; + this.lblEmail.ShadowDirection = 315; + this.lblEmail.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblEmail.ShadowOpacity = 100; + this.lblEmail.Size = new System.Drawing.Size(75, 23); + this.lblEmail.TabIndex = 15; + this.lblEmail.Text = "Email"; + this.lblEmail.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblEmail.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle10.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle10.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle10.Hover = System.Drawing.Color.Empty; + textStyle10.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.lblEmail.TextStyle = textStyle10; + // + // vtbEmail + // + this.vtbEmail.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.vtbEmail.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(244)))), ((int)(((byte)(249))))); + this.vtbEmail.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbEmail.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbEmail.Border.HoverVisible = true; + this.vtbEmail.Border.Rounding = 6; + this.vtbEmail.Border.Thickness = 1; + this.vtbEmail.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbEmail.Border.Visible = true; + this.vtbEmail.ButtonBorder.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.vtbEmail.ButtonBorder.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.vtbEmail.ButtonBorder.HoverVisible = true; + this.vtbEmail.ButtonBorder.Rounding = 6; + this.vtbEmail.ButtonBorder.Thickness = 1; + this.vtbEmail.ButtonBorder.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.vtbEmail.ButtonBorder.Visible = true; + this.vtbEmail.ButtonColor.Disabled = System.Drawing.Color.Empty; + this.vtbEmail.ButtonColor.Enabled = System.Drawing.Color.Empty; + this.vtbEmail.ButtonColor.Hover = System.Drawing.Color.Empty; + this.vtbEmail.ButtonColor.Pressed = System.Drawing.Color.Empty; + this.vtbEmail.ButtonFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.vtbEmail.ButtonIndent = 3; + this.vtbEmail.ButtonText = "visualButton"; + this.vtbEmail.ButtonVisible = false; + this.vtbEmail.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbEmail.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.vtbEmail.ImageSize = new System.Drawing.Size(16, 16); + this.vtbEmail.ImageVisible = false; + this.vtbEmail.ImageWidth = 35; + this.vtbEmail.Location = new System.Drawing.Point(93, 12); + this.vtbEmail.MaxLength = 49; + this.vtbEmail.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.vtbEmail.Name = "vtbEmail"; + this.vtbEmail.PasswordChar = '\0'; + this.vtbEmail.ReadOnly = false; + this.vtbEmail.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.vtbEmail.Size = new System.Drawing.Size(273, 25); + this.vtbEmail.TabIndex = 0; + this.vtbEmail.TextBoxWidth = 263; + textStyle11.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle11.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle11.Hover = System.Drawing.Color.Empty; + textStyle11.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.vtbEmail.TextStyle = textStyle11; + this.vtbEmail.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.vtbEmail.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.vtbEmail.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.vtbEmail.Watermark.Text = "Watermark text"; + this.vtbEmail.Watermark.Visible = false; + // + // lblType + // + this.lblType.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.lblType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblType.Location = new System.Drawing.Point(12, 210); + this.lblType.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.lblType.Name = "lblType"; + this.lblType.Orientation = System.Windows.Forms.Orientation.Horizontal; + this.lblType.Outline = false; + this.lblType.OutlineColor = System.Drawing.Color.Red; + this.lblType.OutlineLocation = new System.Drawing.Point(0, 0); + this.lblType.ReflectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblType.ReflectionSpacing = 0; + this.lblType.ShadowColor = System.Drawing.Color.Black; + this.lblType.ShadowDirection = 315; + this.lblType.ShadowLocation = new System.Drawing.Point(0, 0); + this.lblType.ShadowOpacity = 100; + this.lblType.Size = new System.Drawing.Size(75, 23); + this.lblType.TabIndex = 9; + this.lblType.Text = "Type"; + this.lblType.TextAlignment = System.Drawing.StringAlignment.Near; + this.lblType.TextLineAlignment = System.Drawing.StringAlignment.Center; + textStyle12.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle12.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle12.Hover = System.Drawing.Color.Empty; + textStyle12.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.lblType.TextStyle = textStyle12; + // + // cbType + // + this.cbType.BackColorState.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); + this.cbType.BackColorState.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226))))); + this.cbType.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); + this.cbType.Border.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.cbType.Border.HoverVisible = true; + this.cbType.Border.Rounding = 6; + this.cbType.Border.Thickness = 1; + this.cbType.Border.Type = VisualPlus.Enumerators.ShapeType.Rounded; + this.cbType.Border.Visible = true; + this.cbType.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(119)))), ((int)(((byte)(118))))); + this.cbType.ButtonImage = null; + this.cbType.ButtonStyle = VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox.ButtonStyles.Arrow; + this.cbType.ButtonWidth = 30; + this.cbType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; + this.cbType.DropDownHeight = 100; + this.cbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbType.DropDownWidth = 87; + this.cbType.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.cbType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.cbType.FormattingEnabled = true; + this.cbType.ImageList = null; + this.cbType.ImageVisible = false; + this.cbType.Index = 0; + this.cbType.IntegralHeight = false; + this.cbType.ItemHeight = 24; + this.cbType.ItemImageVisible = true; + this.cbType.Items.AddRange(new object[] { + "Commerçant", + "Client", + "Fournisseur"}); + this.cbType.Location = new System.Drawing.Point(93, 203); + this.cbType.MenuItemHover = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(183)))), ((int)(((byte)(230))))); + this.cbType.MenuItemNormal = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.cbType.MenuTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.cbType.MouseState = VisualPlus.Enumerators.MouseStates.Normal; + this.cbType.Name = "cbType"; + this.cbType.SeparatorColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(222)))), ((int)(((byte)(220))))); + this.cbType.Size = new System.Drawing.Size(273, 30); + this.cbType.State = VisualPlus.Enumerators.MouseStates.Normal; + this.cbType.TabIndex = 6; + this.cbType.TextAlignment = System.Drawing.StringAlignment.Center; + this.cbType.TextDisabledColor = System.Drawing.Color.Empty; + this.cbType.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.cbType.TextLineAlignment = System.Drawing.StringAlignment.Center; + this.cbType.TextRendering = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + textStyle13.Disabled = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(129)))), ((int)(((byte)(129))))); + textStyle13.Enabled = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + textStyle13.Hover = System.Drawing.Color.Empty; + textStyle13.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; + this.cbType.TextStyle = textStyle13; + this.cbType.Watermark.ActiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); + this.cbType.Watermark.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.cbType.Watermark.InactiveColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(211)))), ((int)(((byte)(211))))); + this.cbType.Watermark.Text = "Watermark text"; + this.cbType.Watermark.Visible = false; + // + // btnConfirm + // + this.btnConfirm.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.btnConfirm.BorderRadius = 0; + this.btnConfirm.ButtonText = "Ajouter l\'utilisateur"; + this.btnConfirm.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnConfirm.DisabledColor = System.Drawing.Color.Gray; + this.btnConfirm.Iconcolor = System.Drawing.Color.Transparent; + this.btnConfirm.Iconimage = ((System.Drawing.Image)(resources.GetObject("btnConfirm.Iconimage"))); + this.btnConfirm.Iconimage_right = null; + this.btnConfirm.Iconimage_right_Selected = null; + this.btnConfirm.Iconimage_Selected = null; + this.btnConfirm.IconMarginLeft = 0; + this.btnConfirm.IconMarginRight = 0; + this.btnConfirm.IconRightVisible = true; + this.btnConfirm.IconRightZoom = 0D; + this.btnConfirm.IconVisible = true; + this.btnConfirm.IconZoom = 90D; + this.btnConfirm.IsTab = false; + this.btnConfirm.Location = new System.Drawing.Point(213, 254); + this.btnConfirm.Name = "btnConfirm"; + this.btnConfirm.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.btnConfirm.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.btnConfirm.OnHoverTextColor = System.Drawing.Color.White; + this.btnConfirm.selected = false; + this.btnConfirm.Size = new System.Drawing.Size(153, 48); + this.btnConfirm.TabIndex = 7; + this.btnConfirm.Text = "Ajouter l\'utilisateur"; + this.btnConfirm.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnConfirm.Textcolor = System.Drawing.Color.White; + this.btnConfirm.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnConfirm.Click += new System.EventHandler(this.btnConfirm_Click); + // + // bunifuFlatButton1 + // + this.bunifuFlatButton1.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); + this.bunifuFlatButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.bunifuFlatButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.bunifuFlatButton1.BorderRadius = 0; + this.bunifuFlatButton1.ButtonText = "Annuler"; + this.bunifuFlatButton1.Cursor = System.Windows.Forms.Cursors.Hand; + this.bunifuFlatButton1.DisabledColor = System.Drawing.Color.Gray; + this.bunifuFlatButton1.Iconcolor = System.Drawing.Color.Transparent; + this.bunifuFlatButton1.Iconimage = ((System.Drawing.Image)(resources.GetObject("bunifuFlatButton1.Iconimage"))); + this.bunifuFlatButton1.Iconimage_right = null; + this.bunifuFlatButton1.Iconimage_right_Selected = null; + this.bunifuFlatButton1.Iconimage_Selected = null; + this.bunifuFlatButton1.IconMarginLeft = 0; + this.bunifuFlatButton1.IconMarginRight = 0; + this.bunifuFlatButton1.IconRightVisible = true; + this.bunifuFlatButton1.IconRightZoom = 0D; + this.bunifuFlatButton1.IconVisible = true; + this.bunifuFlatButton1.IconZoom = 90D; + this.bunifuFlatButton1.IsTab = false; + this.bunifuFlatButton1.Location = new System.Drawing.Point(12, 254); + this.bunifuFlatButton1.Name = "bunifuFlatButton1"; + this.bunifuFlatButton1.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.bunifuFlatButton1.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); + this.bunifuFlatButton1.OnHoverTextColor = System.Drawing.Color.White; + this.bunifuFlatButton1.selected = false; + this.bunifuFlatButton1.Size = new System.Drawing.Size(153, 48); + this.bunifuFlatButton1.TabIndex = 8; + this.bunifuFlatButton1.Text = "Annuler"; + this.bunifuFlatButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.bunifuFlatButton1.Textcolor = System.Drawing.Color.White; + this.bunifuFlatButton1.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.bunifuFlatButton1.Click += new System.EventHandler(this.bunifuFlatButton1_Click); + // + // ConfigurationUtilisateur + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(378, 314); + this.Controls.Add(this.bunifuFlatButton1); + this.Controls.Add(this.btnConfirm); + this.Controls.Add(this.cbType); + this.Controls.Add(this.lblType); + this.Controls.Add(this.lblEmail); + this.Controls.Add(this.vtbEmail); + this.Controls.Add(this.visualLabel1); + this.Controls.Add(this.datepickAnnif); + this.Controls.Add(this.lblNCompte); + this.Controls.Add(this.vtbNCompte); + this.Controls.Add(this.lblAdresse); + this.Controls.Add(this.vtbAdresse); + this.Controls.Add(this.lblPrenom); + this.Controls.Add(this.vtbPrenom); + this.Controls.Add(this.lblNom); + this.Controls.Add(this.vtbNom); + this.Name = "ConfigurationUtilisateur"; + this.Text = "AjoutUtilisateur"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbNom; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblNom; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblPrenom; + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbPrenom; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblAdresse; + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbAdresse; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblNCompte; + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbNCompte; + private Bunifu.Framework.UI.BunifuDatepicker datepickAnnif; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel visualLabel1; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblEmail; + private VisualPlus.Toolkit.Controls.Editors.VisualTextBox vtbEmail; + private VisualPlus.Toolkit.Controls.Interactivity.VisualLabel lblType; + private VisualPlus.Toolkit.Controls.Interactivity.VisualComboBox cbType; + private Bunifu.Framework.UI.BunifuFlatButton btnConfirm; + private Bunifu.Framework.UI.BunifuFlatButton bunifuFlatButton1; + } +} \ No newline at end of file diff --git a/Gestion de commerce Informatique/ConfigurationUtilisateur.cs b/Gestion de commerce Informatique/ConfigurationUtilisateur.cs new file mode 100644 index 0000000..466e18b --- /dev/null +++ b/Gestion de commerce Informatique/ConfigurationUtilisateur.cs @@ -0,0 +1,72 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using GestionDeCommerceInfoClasseBDDNCouches; +using GestionDeCommerceInfoClasseBDDNCouches.DataLayer; + +namespace Gestion_de_commerce_Informatique +{ + public partial class ConfigurationUtilisateur : Form + { + public Utilisateur user; + BDDAccesUtilisateur bddUser; + bool Modif; + public ConfigurationUtilisateur(BDDAccesUtilisateur bddUser) + { + InitializeComponent(); + this.bddUser = bddUser; + Modif = false; + } + public ConfigurationUtilisateur(Utilisateur user, BDDAccesUtilisateur bddUser) + { + InitializeComponent(); + this.bddUser = bddUser; + this.user = user; + vtbAdresse.Text = this.user.Adresse; + vtbEmail.Text = this.user.Email; + vtbNCompte.Text = this.user.NCompte; + vtbNom.Text = this.user.Nom; + vtbPrenom.Text = this.user.Prenom; + datepickAnnif.Value = (this.user.DateDeNaisance == null)?DateTime.Now:user.DateDeNaisance.Value; + cbType.SelectedIndex = (int)this.user.TypeUtilisateur; + btnConfirm.Text = "Editer l'utilisateur"; + this.Text = $"Editer l'utilisateur : {user.Nom} {user.Prenom}"; + Modif = true; + } + + private void bunifuFlatButton1_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void btnConfirm_Click(object sender, EventArgs e) + { + if (Modif) + { + this.user.Adresse = vtbAdresse.Text; + this.user.Email = vtbEmail.Text; + this.user.NCompte = vtbNCompte.Text; + this.user.Nom = vtbNom.Text; + this.user.Prenom = vtbPrenom.Text; + this.user.DateDeNaisance = datepickAnnif.Value; + this.user.TypeUtilisateur = (Utilisateur.Type_E)cbType.SelectedIndex; + + bddUser.ModifUtilisateur(this.user); + + } + else + { + user = new Utilisateur(vtbNom.Text, vtbPrenom.Text, vtbAdresse.Text, vtbNCompte.Text, vtbEmail.Text, (Utilisateur.Type_E)cbType.SelectedIndex); + this.user.DateDeNaisance = datepickAnnif.Value; + bddUser.AjouterUtilisateur(user); + } + this.Close(); + } + } +} diff --git a/Gestion de commerce Informatique/ConfigurationUtilisateur.resx b/Gestion de commerce Informatique/ConfigurationUtilisateur.resx new file mode 100644 index 0000000..d71f5b5 --- /dev/null +++ b/Gestion de commerce Informatique/ConfigurationUtilisateur.resx @@ -0,0 +1,247 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAANJElEQVR4Xu3d + a+hsZRUGcC/lDUKzMFOzrJPKMeKIwqkvoeSH/GAgplkfNEhKyIikkqORhrdMEyGiAikIsoI0S0u6qZRm + ec8isdLKboplalB28/SsWWvgz5ln73n3zN6zZ708D/zgsM563/0Oc/aZy77MTtu3bxeRBrQoIo4WRcTR + oog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKI + OFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDha + FBFHiyLiaFFEHC2KiK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rhhz0lmtJiZMm7Yc5IZ + LWamjBv2nGRGi5kp44Y9J5nRYmbKuGHPSWa0mJkybthzkhktZqaMG/acZEaLIuJoUUQcLYqIo0URcbQo + Io4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZFxNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKO + FkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URcbQoIo4WRcTRoog4WhQRR4si4mhRRBwtioijRRFxtCgijhZF + xNGiiDhaFBFHiyLiaFFEHC2KiKNFEXG0KCKOFkXE0aKIOFoUEUeLIuJoUUQcLYqIo0URMdt3+j81Kgk9 + Vu+NkQAAAABJRU5ErkJggg== + + + \ No newline at end of file diff --git a/Gestion de commerce Informatique/DashBoard.Designer.cs b/Gestion de commerce Informatique/DashBoard.Designer.cs index 62d183b..9ef1a20 100644 --- a/Gestion de commerce Informatique/DashBoard.Designer.cs +++ b/Gestion de commerce Informatique/DashBoard.Designer.cs @@ -29,43 +29,27 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DashBoard)); - this.bunifuGauge1 = new Bunifu.Framework.UI.BunifuGauge(); - this.labelStock = new Bunifu.Framework.UI.BunifuCustomLabel(); this.bunifuCustomLabel1 = new Bunifu.Framework.UI.BunifuCustomLabel(); this.bunifuGauge2 = new Bunifu.Framework.UI.BunifuGauge(); + this.lblAlertStock = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.dgvUser = new System.Windows.Forms.DataGridView(); + this.id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Nom = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Quantité = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.lblComandeEnCours = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // - // bunifuGauge1 - // - this.bunifuGauge1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGauge1.BackgroundImage"))); - this.bunifuGauge1.Font = new System.Drawing.Font("Century Gothic", 15.75F); - this.bunifuGauge1.Location = new System.Drawing.Point(3, 36); - this.bunifuGauge1.Margin = new System.Windows.Forms.Padding(6); - this.bunifuGauge1.Name = "bunifuGauge1"; - this.bunifuGauge1.ProgressBgColor = System.Drawing.Color.Gray; - this.bunifuGauge1.ProgressColor1 = System.Drawing.Color.Red; - this.bunifuGauge1.ProgressColor2 = System.Drawing.Color.Green; - this.bunifuGauge1.Size = new System.Drawing.Size(174, 117); - this.bunifuGauge1.Suffix = ""; - this.bunifuGauge1.TabIndex = 0; - this.bunifuGauge1.Thickness = 30; - this.bunifuGauge1.Value = 100; - // - // labelStock - // - this.labelStock.AutoSize = true; - this.labelStock.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.labelStock.Location = new System.Drawing.Point(53, 24); - this.labelStock.Name = "labelStock"; - this.labelStock.Size = new System.Drawing.Size(76, 25); - this.labelStock.TabIndex = 1; - this.labelStock.Text = "Stock"; - // // bunifuCustomLabel1 // this.bunifuCustomLabel1.AutoSize = true; this.bunifuCustomLabel1.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.bunifuCustomLabel1.Location = new System.Drawing.Point(498, 24); + this.bunifuCustomLabel1.Location = new System.Drawing.Point(428, 5); this.bunifuCustomLabel1.Name = "bunifuCustomLabel1"; this.bunifuCustomLabel1.Size = new System.Drawing.Size(196, 25); this.bunifuCustomLabel1.TabIndex = 3; @@ -75,39 +59,158 @@ // this.bunifuGauge2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGauge2.BackgroundImage"))); this.bunifuGauge2.Font = new System.Drawing.Font("Century Gothic", 15.75F); - this.bunifuGauge2.Location = new System.Drawing.Point(503, 36); + this.bunifuGauge2.Location = new System.Drawing.Point(443, 36); this.bunifuGauge2.Margin = new System.Windows.Forms.Padding(6); this.bunifuGauge2.Name = "bunifuGauge2"; this.bunifuGauge2.ProgressBgColor = System.Drawing.Color.Gray; this.bunifuGauge2.ProgressColor1 = System.Drawing.Color.Red; this.bunifuGauge2.ProgressColor2 = System.Drawing.Color.Green; - this.bunifuGauge2.Size = new System.Drawing.Size(174, 117); + this.bunifuGauge2.Size = new System.Drawing.Size(171, 102); this.bunifuGauge2.Suffix = ""; this.bunifuGauge2.TabIndex = 2; this.bunifuGauge2.Thickness = 30; this.bunifuGauge2.Value = 100; // + // lblAlertStock + // + this.lblAlertStock.AutoSize = true; + this.lblAlertStock.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblAlertStock.Location = new System.Drawing.Point(458, 144); + this.lblAlertStock.Name = "lblAlertStock"; + this.lblAlertStock.Size = new System.Drawing.Size(156, 25); + this.lblAlertStock.TabIndex = 4; + this.lblAlertStock.Text = "Alerte stock"; + // + // dgvUser + // + this.dgvUser.AllowUserToAddRows = false; + this.dgvUser.AllowUserToDeleteRows = false; + this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.id, + this.Nom, + this.Quantité}); + this.dgvUser.Location = new System.Drawing.Point(364, 172); + this.dgvUser.Name = "dgvUser"; + this.dgvUser.ReadOnly = true; + this.dgvUser.RowHeadersVisible = false; + this.dgvUser.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dgvUser.Size = new System.Drawing.Size(330, 302); + this.dgvUser.TabIndex = 5; + // + // id + // + this.id.DataPropertyName = "id"; + this.id.HeaderText = "id"; + this.id.MinimumWidth = 230; + this.id.Name = "id"; + this.id.ReadOnly = true; + this.id.Visible = false; + this.id.Width = 230; + // + // Nom + // + this.Nom.DataPropertyName = "Article"; + this.Nom.HeaderText = "Article"; + this.Nom.MinimumWidth = 20; + this.Nom.Name = "Nom"; + this.Nom.ReadOnly = true; + this.Nom.Width = 250; + // + // Quantité + // + this.Quantité.DataPropertyName = "Quantite"; + this.Quantité.HeaderText = "Quantité"; + this.Quantité.Name = "Quantité"; + this.Quantité.ReadOnly = true; + this.Quantité.Width = 75; + // + // lblComandeEnCours + // + this.lblComandeEnCours.AutoSize = true; + this.lblComandeEnCours.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblComandeEnCours.Location = new System.Drawing.Point(57, 0); + this.lblComandeEnCours.Name = "lblComandeEnCours"; + this.lblComandeEnCours.Size = new System.Drawing.Size(224, 25); + this.lblComandeEnCours.TabIndex = 6; + this.lblComandeEnCours.Text = "Commande En Cours"; + // + // dataGridView1 + // + this.dataGridView1.AllowUserToAddRows = false; + this.dataGridView1.AllowUserToDeleteRows = false; + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn1, + this.dataGridViewTextBoxColumn2, + this.dataGridViewTextBoxColumn3}); + this.dataGridView1.Location = new System.Drawing.Point(3, 28); + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.ReadOnly = true; + this.dataGridView1.RowHeadersVisible = false; + this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dataGridView1.Size = new System.Drawing.Size(330, 446); + this.dataGridView1.TabIndex = 7; + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.DataPropertyName = "id"; + this.dataGridViewTextBoxColumn1.HeaderText = "id"; + this.dataGridViewTextBoxColumn1.MinimumWidth = 230; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.ReadOnly = true; + this.dataGridViewTextBoxColumn1.Visible = false; + this.dataGridViewTextBoxColumn1.Width = 230; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.DataPropertyName = "NomCommande"; + this.dataGridViewTextBoxColumn2.HeaderText = "Nom de la commande"; + this.dataGridViewTextBoxColumn2.MinimumWidth = 20; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.ReadOnly = true; + this.dataGridViewTextBoxColumn2.Width = 250; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.DataPropertyName = "Valeur"; + this.dataGridViewTextBoxColumn3.HeaderText = "Valeur"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + this.dataGridViewTextBoxColumn3.ReadOnly = true; + this.dataGridViewTextBoxColumn3.Width = 75; + // // DashBoard // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.Controls.Add(this.dataGridView1); + this.Controls.Add(this.lblComandeEnCours); + this.Controls.Add(this.dgvUser); + this.Controls.Add(this.lblAlertStock); this.Controls.Add(this.bunifuCustomLabel1); this.Controls.Add(this.bunifuGauge2); - this.Controls.Add(this.labelStock); - this.Controls.Add(this.bunifuGauge1); this.Name = "DashBoard"; this.Size = new System.Drawing.Size(697, 477); + ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion - - private Bunifu.Framework.UI.BunifuGauge bunifuGauge1; - private Bunifu.Framework.UI.BunifuCustomLabel labelStock; private Bunifu.Framework.UI.BunifuCustomLabel bunifuCustomLabel1; private Bunifu.Framework.UI.BunifuGauge bunifuGauge2; + private Bunifu.Framework.UI.BunifuCustomLabel lblAlertStock; + private System.Windows.Forms.DataGridView dgvUser; + private System.Windows.Forms.DataGridViewTextBoxColumn id; + private System.Windows.Forms.DataGridViewTextBoxColumn Nom; + private System.Windows.Forms.DataGridViewTextBoxColumn Quantité; + private Bunifu.Framework.UI.BunifuCustomLabel lblComandeEnCours; + private System.Windows.Forms.DataGridView dataGridView1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; } } diff --git a/Gestion de commerce Informatique/DashBoard.cs b/Gestion de commerce Informatique/DashBoard.cs index ffcfd8a..5b56a3c 100644 --- a/Gestion de commerce Informatique/DashBoard.cs +++ b/Gestion de commerce Informatique/DashBoard.cs @@ -19,5 +19,10 @@ namespace Gestion_de_commerce_Informatique InitializeComponent(); this.BackColor = Color.Transparent; } + + private void dgvUser_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + + } } } diff --git a/Gestion de commerce Informatique/DashBoard.resx b/Gestion de commerce Informatique/DashBoard.resx index 570148e..3bc252e 100644 --- a/Gestion de commerce Informatique/DashBoard.resx +++ b/Gestion de commerce Informatique/DashBoard.resx @@ -118,64 +118,52 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - iVBORw0KGgoAAAANSUhEUgAAAK4AAAB1CAYAAADX9doCAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwA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q4bNhxSAUgRoOHVoRCFG+UOIjgcIV1tCIcP1WVq81IBPs1hTCjoaPHeyUX4YEOTLLdjb4aUuGq2SLE + Vnlu/G8imAPhwofeL6uE9zwd8Y7QhIvMeHufEQunoyDTSCaS1W9DSDt7mFLMdE/JaORQSjcR4FS8C17C + 3IJNlfZGA4cSu+rZKN7pabuGqcTyDFmFDI0EhXE6wjNrVUx1TwC8kzbudmtqgNGwIaRjbcxp1S54bizu + V4nSfXGjYUMIx+r8eDpaqUjcE88q9VG9E9oTyRk1+nIIuTtZngFnTIBueJkC7okbr9dWiAJ0xysqkBaJ + J16Zq2LvpwfAMy7uW2hkNGgIYa92x9NudUvgeKZZq3m1zoG0uxl9OoTcCuM9J2tpb1RFw6uwxa2M0+s4 + 0SMKuQnQEa8Hi93MN6/0HZGA2fGKCLglBrwm65ivWfeFV7G8260BrxAItwJmxyvt6jZZlUFSUa0aMC1N + Ju1+x+o7FpuOMJiJ9Eq10bddJYdtesylk/NCm9uQf1CkN2RCTEsfMv1hSuOe/PhjD5bJOjvHp6Iq1072 + s0yE6bFQGebJ8eIWMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAJCaT30GQtWjP3kG8AAAAAElFTkSu + QmCC + + True + + + True + + + True + + + True + + + True + + + True + \ No newline at end of file diff --git a/Gestion de commerce Informatique/Form1.cs b/Gestion de commerce Informatique/Form1.cs index cc362bb..d35c342 100644 --- a/Gestion de commerce Informatique/Form1.cs +++ b/Gestion de commerce Informatique/Form1.cs @@ -16,15 +16,21 @@ namespace Gestion_de_commerce_Informatique public partial class Form1 : Form { Object panRightControl; - BDDAccesUtilisateur bddUser = new BDDAccesUtilisateur(@"Data Source=(localdb)\MSSQLLOcalDB;Initial Catalog=GestionCommerceInfo;Integrated Security=True"); + + DashBoard dashBoard; + GestionUtilisateurs gestionUtilisateur; + Commande commande; - private DataTable dtPersonne; - private BindingSource bsPersonne; + public Form1() { InitializeComponent(); - panRightControl = new DashBoard(); + dashBoard = new DashBoard(); + gestionUtilisateur = new GestionUtilisateurs(); + commande = new Commande(); ; + panRightControl = dashBoard; this.panRight.Controls.Add((Control)panRightControl); + } private void btnExit_Click(object sender, EventArgs e) @@ -45,13 +51,13 @@ namespace Gestion_de_commerce_Informatique { case "DashBoard": this.panRight.Controls.Remove((Control)panRightControl); - panRightControl = new DashBoard(); + panRightControl = dashBoard; this.panRight.Controls.Add((Control)panRightControl); break; case "Commande": this.panRight.Controls.Remove((Control)panRightControl); - panRightControl = new Commande(); + panRightControl = commande; this.panRight.Controls.Add((Control)panRightControl); break; case "Stock": @@ -60,28 +66,12 @@ namespace Gestion_de_commerce_Informatique break; case "Gestion utilisateurs": this.panRight.Controls.Remove((Control)panRightControl); - panRightControl = new GestionUtilisateurs(); + panRightControl = gestionUtilisateur; this.panRight.Controls.Add((Control)panRightControl); - DataGridView dgvUser = ((GestionUtilisateurs)panRightControl).DgvUser; - RemplirDVG(dgvUser); - break; } } - private void RemplirDVG(DataGridView dgv) - { - dtPersonne = new DataTable(); - dtPersonne.Columns.Add(new DataColumn("userId", System.Type.GetType("System.Int32"))); - dtPersonne.Columns.Add("Nom"); - List lusers; - lusers = bddUser.ListUtilisateurs(Utilisateur.Tri_E.NONE); - foreach (Utilisateur Tmp in lusers) - dtPersonne.Rows.Add(Tmp.ID, $"{Tmp.Prenom} {Tmp.Nom}"); - bsPersonne = new BindingSource(); - bsPersonne.DataSource = dtPersonne; - dgv.DataSource = bsPersonne; - - } + } } diff --git a/Gestion de commerce Informatique/Gestion de commerce Informatique.csproj b/Gestion de commerce Informatique/Gestion de commerce Informatique.csproj index ccc5b25..2a44298 100644 --- a/Gestion de commerce Informatique/Gestion de commerce Informatique.csproj +++ b/Gestion de commerce Informatique/Gestion de commerce Informatique.csproj @@ -57,6 +57,12 @@ + + Form + + + ConfigurationUtilisateur.cs + UserControl @@ -83,6 +89,9 @@ DashBoard.cs + + ConfigurationUtilisateur.cs + Commande.cs @@ -121,6 +130,7 @@ + diff --git a/Gestion de commerce Informatique/GestionUtilisateurs.Designer.cs b/Gestion de commerce Informatique/GestionUtilisateurs.Designer.cs index 4992f70..fc0975e 100644 --- a/Gestion de commerce Informatique/GestionUtilisateurs.Designer.cs +++ b/Gestion de commerce Informatique/GestionUtilisateurs.Designer.cs @@ -29,68 +29,14 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GestionUtilisateurs)); - this.labelStock = new Bunifu.Framework.UI.BunifuCustomLabel(); - this.bunifuCustomLabel1 = new Bunifu.Framework.UI.BunifuCustomLabel(); - this.bunifuGauge2 = new Bunifu.Framework.UI.BunifuGauge(); - this.bunifuGauge1 = new Bunifu.Framework.UI.BunifuGauge(); this.dgvUser = new System.Windows.Forms.DataGridView(); this.userId = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Nom = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.txtBoxRecherche = new Bunifu.Framework.UI.BunifuTextbox(); + this.lblAddUser = new Bunifu.Framework.UI.BunifuFlatButton(); ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).BeginInit(); this.SuspendLayout(); // - // labelStock - // - this.labelStock.AutoSize = true; - this.labelStock.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.labelStock.Location = new System.Drawing.Point(53, 24); - this.labelStock.Name = "labelStock"; - this.labelStock.Size = new System.Drawing.Size(65, 25); - this.labelStock.TabIndex = 1; - this.labelStock.Text = "user"; - // - // bunifuCustomLabel1 - // - this.bunifuCustomLabel1.AutoSize = true; - this.bunifuCustomLabel1.Font = new System.Drawing.Font("Stencil", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.bunifuCustomLabel1.Location = new System.Drawing.Point(498, 24); - this.bunifuCustomLabel1.Name = "bunifuCustomLabel1"; - this.bunifuCustomLabel1.Size = new System.Drawing.Size(196, 25); - this.bunifuCustomLabel1.TabIndex = 3; - this.bunifuCustomLabel1.Text = "Chiffre d\'afaire"; - // - // bunifuGauge2 - // - this.bunifuGauge2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGauge2.BackgroundImage"))); - this.bunifuGauge2.Font = new System.Drawing.Font("Century Gothic", 15.75F); - this.bunifuGauge2.Location = new System.Drawing.Point(503, 36); - this.bunifuGauge2.Margin = new System.Windows.Forms.Padding(6); - this.bunifuGauge2.Name = "bunifuGauge2"; - this.bunifuGauge2.ProgressBgColor = System.Drawing.Color.Gray; - this.bunifuGauge2.ProgressColor1 = System.Drawing.Color.Red; - this.bunifuGauge2.ProgressColor2 = System.Drawing.Color.Green; - this.bunifuGauge2.Size = new System.Drawing.Size(174, 117); - this.bunifuGauge2.Suffix = ""; - this.bunifuGauge2.TabIndex = 2; - this.bunifuGauge2.Thickness = 30; - this.bunifuGauge2.Value = 100; - // - // bunifuGauge1 - // - this.bunifuGauge1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGauge1.BackgroundImage"))); - this.bunifuGauge1.Font = new System.Drawing.Font("Century Gothic", 15.75F); - this.bunifuGauge1.Location = new System.Drawing.Point(3, 36); - this.bunifuGauge1.Margin = new System.Windows.Forms.Padding(6); - this.bunifuGauge1.Name = "bunifuGauge1"; - this.bunifuGauge1.ProgressBgColor = System.Drawing.Color.Gray; - this.bunifuGauge1.ProgressColor1 = System.Drawing.Color.Red; - this.bunifuGauge1.ProgressColor2 = System.Drawing.Color.Green; - this.bunifuGauge1.Size = new System.Drawing.Size(174, 117); - this.bunifuGauge1.Suffix = ""; - this.bunifuGauge1.TabIndex = 0; - this.bunifuGauge1.Thickness = 30; - this.bunifuGauge1.Value = 100; - // // dgvUser // this.dgvUser.AllowUserToAddRows = false; @@ -99,14 +45,14 @@ this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.userId, this.Nom}); - this.dgvUser.Location = new System.Drawing.Point(13, 177); + this.dgvUser.Location = new System.Drawing.Point(13, 62); this.dgvUser.Name = "dgvUser"; this.dgvUser.ReadOnly = true; this.dgvUser.RowHeadersVisible = false; this.dgvUser.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvUser.Size = new System.Drawing.Size(664, 214); + this.dgvUser.Size = new System.Drawing.Size(664, 339); this.dgvUser.TabIndex = 4; - this.dgvUser.DoubleClick += new System.EventHandler(this.dgvUser_CellContentClick); + this.dgvUser.DoubleClick += new System.EventHandler(this.dgvUser_CellContentClick_1); // // userId // @@ -127,32 +73,77 @@ this.Nom.ReadOnly = true; this.Nom.Width = 660; // + // txtBoxRecherche + // + this.txtBoxRecherche.BackColor = System.Drawing.Color.Silver; + this.txtBoxRecherche.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtBoxRecherche.BackgroundImage"))); + this.txtBoxRecherche.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.txtBoxRecherche.ForeColor = System.Drawing.Color.Black; + this.txtBoxRecherche.Icon = ((System.Drawing.Image)(resources.GetObject("txtBoxRecherche.Icon"))); + this.txtBoxRecherche.Location = new System.Drawing.Point(13, 14); + this.txtBoxRecherche.Name = "txtBoxRecherche"; + this.txtBoxRecherche.Size = new System.Drawing.Size(664, 42); + this.txtBoxRecherche.TabIndex = 9; + this.txtBoxRecherche.text = "Recherche"; + this.txtBoxRecherche.KeyUp += new System.EventHandler(this.txtBoxRecherche_KeyUp); + this.txtBoxRecherche.Click += new System.EventHandler(this.txtBoxRecherche_Click); + // + // lblAddUser + // + this.lblAddUser.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblAddUser.BackColor = System.Drawing.Color.Transparent; + this.lblAddUser.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.lblAddUser.BorderRadius = 0; + this.lblAddUser.ButtonText = "Ajouter un utilisateur"; + this.lblAddUser.Cursor = System.Windows.Forms.Cursors.Hand; + this.lblAddUser.DisabledColor = System.Drawing.Color.Gray; + this.lblAddUser.Font = new System.Drawing.Font("Stencil", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblAddUser.Iconcolor = System.Drawing.Color.Transparent; + this.lblAddUser.Iconimage = global::Gestion_de_commerce_Informatique.Properties.Resources.canvas; + this.lblAddUser.Iconimage_right = null; + this.lblAddUser.Iconimage_right_Selected = null; + this.lblAddUser.Iconimage_Selected = null; + this.lblAddUser.IconMarginLeft = 0; + this.lblAddUser.IconMarginRight = 0; + this.lblAddUser.IconRightVisible = true; + this.lblAddUser.IconRightZoom = 0D; + this.lblAddUser.IconVisible = true; + this.lblAddUser.IconZoom = 90D; + this.lblAddUser.IsTab = false; + this.lblAddUser.Location = new System.Drawing.Point(183, 407); + this.lblAddUser.Name = "lblAddUser"; + this.lblAddUser.Normalcolor = System.Drawing.Color.Transparent; + this.lblAddUser.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.lblAddUser.OnHoverTextColor = System.Drawing.Color.Black; + this.lblAddUser.selected = false; + this.lblAddUser.Size = new System.Drawing.Size(320, 67); + this.lblAddUser.TabIndex = 8; + this.lblAddUser.Text = "Ajouter un utilisateur"; + this.lblAddUser.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.lblAddUser.Textcolor = System.Drawing.Color.Black; + this.lblAddUser.TextFont = new System.Drawing.Font("Stencil", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblAddUser.Click += new System.EventHandler(this.lblAddUser_Click); + // // GestionUtilisateurs // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.Controls.Add(this.txtBoxRecherche); + this.Controls.Add(this.lblAddUser); this.Controls.Add(this.dgvUser); - this.Controls.Add(this.bunifuCustomLabel1); - this.Controls.Add(this.bunifuGauge2); - this.Controls.Add(this.labelStock); - this.Controls.Add(this.bunifuGauge1); this.Name = "GestionUtilisateurs"; this.Size = new System.Drawing.Size(697, 477); ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).EndInit(); this.ResumeLayout(false); - this.PerformLayout(); } #endregion - - private Bunifu.Framework.UI.BunifuGauge bunifuGauge1; - private Bunifu.Framework.UI.BunifuCustomLabel labelStock; - private Bunifu.Framework.UI.BunifuCustomLabel bunifuCustomLabel1; - private Bunifu.Framework.UI.BunifuGauge bunifuGauge2; private System.Windows.Forms.DataGridView dgvUser; private System.Windows.Forms.DataGridViewTextBoxColumn userId; private System.Windows.Forms.DataGridViewTextBoxColumn Nom; + private Bunifu.Framework.UI.BunifuFlatButton lblAddUser; + private Bunifu.Framework.UI.BunifuTextbox txtBoxRecherche; } } diff --git a/Gestion de commerce Informatique/GestionUtilisateurs.cs b/Gestion de commerce Informatique/GestionUtilisateurs.cs index 7fd7412..5528422 100644 --- a/Gestion de commerce Informatique/GestionUtilisateurs.cs +++ b/Gestion de commerce Informatique/GestionUtilisateurs.cs @@ -7,6 +7,8 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; +using GestionDeCommerceInfoClasseBDDNCouches; +using GestionDeCommerceInfoClasseBDDNCouches.DataLayer; namespace Gestion_de_commerce_Informatique { @@ -23,14 +25,16 @@ namespace Gestion_de_commerce_Informatique this.dgvUser = value; } } + private DataTable dtPersonne; + private BindingSource bsPersonne; + BDDAccesUtilisateur bddUser = new BDDAccesUtilisateur(@"Data Source=(localdb)\MSSQLLOcalDB;Initial Catalog=GestionCommerceInfo;Integrated Security=True"); public GestionUtilisateurs() { InitializeComponent(); + bsPersonne = new BindingSource(); this.BackColor = Color.Transparent; - } + RemplirDVG(dgvUser); - private void dgvUser_CellContentClick(object sender, DataGridViewCellEventArgs e) - { } private void dgvUser_CellContentClick(object sender, EventArgs e) @@ -40,5 +44,48 @@ namespace Gestion_de_commerce_Informatique Console.WriteLine(); } + + private void txtBoxRecherche_OnTextChange(object sender, EventArgs e) + { + + } + + private void lblAddUser_Click(object sender, EventArgs e) + { + ConfigurationUtilisateur ajoutUtilisateur = new ConfigurationUtilisateur(bddUser); + ajoutUtilisateur.ShowDialog(); + dtPersonne.Rows.Add(ajoutUtilisateur.user.ID, $"{ajoutUtilisateur.user.Prenom} {ajoutUtilisateur.user.Nom}"); + } + + private void txtBoxRecherche_Click(object sender, EventArgs e) + { + if (txtBoxRecherche.text == "Recherche") + txtBoxRecherche.text = ""; + } + private void RemplirDVG(DataGridView dgv) + { + dtPersonne = new DataTable(); + dtPersonne.Columns.Add(new DataColumn("userId", System.Type.GetType("System.Int32"))); + dtPersonne.Columns.Add("Nom"); + List lusers; + lusers = bddUser.ListUtilisateurs(Utilisateur.Tri_E.NONE); + foreach (Utilisateur Tmp in lusers) + dtPersonne.Rows.Add(Tmp.ID, $"{Tmp.Prenom} {Tmp.Nom}"); + + bsPersonne.DataSource = dtPersonne; + dgv.DataSource = bsPersonne; + + } + + private void txtBoxRecherche_KeyUp(object sender, EventArgs e) + { + string rowFilter = string.Format("[{0}] LIKE '%{1}%'", "Nom", txtBoxRecherche.text);//https://10tec.com/articles/datagridview-filter.aspx + dtPersonne.DefaultView.RowFilter = rowFilter; + } + + private void dgvUser_CellContentClick_1(object sender, EventArgs e) + { + + } } } diff --git a/Gestion de commerce Informatique/GestionUtilisateurs.resx b/Gestion de commerce Informatique/GestionUtilisateurs.resx index 8f2c480..dfdb86c 100644 --- a/Gestion de commerce Informatique/GestionUtilisateurs.resx +++ b/Gestion de commerce Informatique/GestionUtilisateurs.resx @@ -117,71 +117,54 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - iVBORw0KGgoAAAANSUhEUgAAAK4AAAB1CAYAAADX9doCAAAAAXNSR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nv2b9WL5MkSZJ0o0+rl3w2AADg82pbf7ZPqRf8KAAA4NepDf6j/pH64kcBAAC/T23yj/pQfeGjAACA + r1H7/Ht9Vz1cAQAAX6+2epXqwQoAAHgftdmrv6mHXgMAAN5PbffX/qIeqAAAgPdU+/21b+rD1wAAgPdV + G/61b+rDZwAAwPurLf/sT/XBawAAwPurLf9aHp8BAAB31KZ/lsdnAADAHbXpn+XxGQAAcEdt+md5fAYA + ANxRm/5ZHp8BAAB31KZ/lscFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237l + cQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237 + lccFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD21 + 7VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237lccFAADcU9t+5XEBAAD3 + 1LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA + 3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237lccFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcA + AHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lc + AADAPbXtVx4XAABwT237lccFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237l + cQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237 + lccFAADcU9t+5XEBAAD31LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD21 + 7VceFwAAcE9t+5XHBQAA3FPbfuVxAQAA99S2X3lcAADAPbXtVx4XAABwT237lccFAADcU9t+5XEBAAD3 + 1LZfeVwAAMA9te1XHhcAAHBPbfuVxwUAANxT237lcQEAAPfUtl95XAAAwD217VceFwAAcE9t+5XHBQAA + 3FPbfuXxGQAAcEdt+md5fAYAANxRm/5ZHp8BAAB31KZ/lsdnAADAHbXpn+XxGQAAcEdt+md5fA0AAHh/ + teVf+1N98AwAAHh/teWffVMfvgYAALyv2vCvfVMfvgYAALyv2vCv/UU98BoAAPB+aru/9jf1UAUAALyP + 2uxVqgcrAADg69VWr76rHv5eAADA16mN/r0+VF/4KAAA4PepTf5R/0h98UcBAAC/Tm3wH/Up9YLPBgAA + fF5t68/2afUSSZIkSTf61+plkiRJkt6zn6JeLEmSJOm9+qnqByRJkiS9R79M/ZgkSZKkr+m3qR+XJEmS + 9Hv6UvWHJEmSJP3c/qM//vg/YzmHDpKLD1cAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJDSURBVHhe7dBJjuRADEPRuv+lu1ELAULgK6cK26STD/ib + HpxU/ERERERERER84t8fiw/QQ+4onqBHO6JY0COd0dejR7mir0QPcWVfg45X6tbo4Fd7F33j1W6JDn3W + LvTtZ90KHfioo9BvPeoW6LCps9BvT9mjo6iz0QbKGh1EXYW2UJboEOpqtImyQ0esqaBta1bogDU1tHHN + Bo3vqaKtPQs0vKeONvfk0eieOtrck0aDey5oe08Wje25oO09WTS2ckM3VJJoaM8N3dCTQyMrR3RHTw6N + rFzRLZUcGlm5olsqOTSyckW3VHJoZOWKbqnk0MjKFd1SyaGRlSu6pZJDIytXdEslh0ZWruiWSg6NrFzR + LZUcGlm5olsqOTSyckW3VHJoZOWKbqnk0MieG7qhJ4dG9tzQDT1JNLRyQzdUsmhszwVt78misT0XtL0n + jQb31NHmnjwa3VNHm3sWaHhPFW3t2aDxa2po45oVOmBNBW1bs0NHrKmgbWuW6BDqKrSFskYHUWejDZQ1 + OuhRZ6HfnrJFx7zaUei3HmWLjvmkXejbz7JFx+zoXfSNV7NFxxxZob/7NFt0zNQv+vMrs0YHTXX091dk + jQ6amtC/PSN7dNTUK+j/HdEt0GFT76Jv7Og26Lipv6JvvtPt0JFTsRk98lRsRo88FZvRI0/FZvTIU7EZ + PfJUbEaPPBWb0SNPxWb0yFOxGT3yVGxGjzwVm9EjT8Vm9MhTcRB67LU4GD16FSfJ4wvI4wvI40dERERE + RISbn5//IBHAhgWniRYAAAAASUVORK5CYII= + + \ No newline at end of file diff --git a/Gestion de commerce Informatique/Properties/Resources.Designer.cs b/Gestion de commerce Informatique/Properties/Resources.Designer.cs index 6a9a173..280c836 100644 --- a/Gestion de commerce Informatique/Properties/Resources.Designer.cs +++ b/Gestion de commerce Informatique/Properties/Resources.Designer.cs @@ -60,6 +60,16 @@ namespace Gestion_de_commerce_Informatique.Properties { } } + /// + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap canvas { + get { + object obj = ResourceManager.GetObject("canvas", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Recherche une ressource localisée de type System.Drawing.Bitmap. /// diff --git a/Gestion de commerce Informatique/Properties/Resources.resx b/Gestion de commerce Informatique/Properties/Resources.resx index 0568be8..fc3bfef 100644 --- a/Gestion de commerce Informatique/Properties/Resources.resx +++ b/Gestion de commerce Informatique/Properties/Resources.resx @@ -121,6 +121,9 @@ ..\Resources\exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\usercfg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\exit2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -136,7 +139,7 @@ ..\Resources\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\usercfg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\canvas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/Gestion de commerce Informatique/Resources/canvas.png b/Gestion de commerce Informatique/Resources/canvas.png new file mode 100644 index 0000000..dcd8cfd Binary files /dev/null and b/Gestion de commerce Informatique/Resources/canvas.png differ diff --git a/icon/canvas.png b/icon/canvas.png new file mode 100644 index 0000000..dcd8cfd Binary files /dev/null and b/icon/canvas.png differ