From 3e1954a97cd66c05a44d1b0b3766e1e99c1642df Mon Sep 17 00:00:00 2001 From: xdatomic-the-codeur Date: Tue, 27 May 2025 11:07:13 +0200 Subject: [PATCH] =?UTF-8?q?Cr=C3=A9ation=20des=20vues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- projet/View/AddPersonnel.Designer.cs | 237 +++++++++++++ projet/View/AddPersonnel.cs | 20 ++ projet/View/AddPersonnel.resx | 120 +++++++ projet/View/Admin.Designer.cs | 169 ++++++++++ projet/View/Admin.cs | 20 ++ projet/View/Admin.resx | 120 +++++++ .../View/ConfirmeModifierAbsence.Designer.cs | 119 +++++++ projet/View/ConfirmeModifierAbsence.cs | 20 ++ projet/View/ConfirmeModifierAbsence.resx | 120 +++++++ .../ConfirmeModifierPersonnel.Designer.cs | 119 +++++++ projet/View/ConfirmeModifierPersonnel.cs | 20 ++ projet/View/ConfirmeModifierPersonnel.resx | 120 +++++++ .../View/ConfirmeSupprimerAbsence.Designer.cs | 119 +++++++ projet/View/ConfirmeSupprimerAbsence.cs | 20 ++ projet/View/ConfirmeSupprimerAbsence.resx | 120 +++++++ .../ConfirmeSupressionPersonnel.Designer.cs | 119 +++++++ projet/View/ConfirmeSupressionPersonnel.cs | 20 ++ projet/View/ConfirmeSupressionPersonnel.resx | 120 +++++++ projet/View/GestionAbsence.Designer.cs | 311 ++++++++++++++++++ projet/View/GestionAbsence.cs | 25 ++ projet/View/GestionAbsence.resx | 120 +++++++ projet/View/ModifierAbsence.Designer.cs | 221 +++++++++++++ projet/View/ModifierAbsence.cs | 22 ++ projet/View/ModifierAbsence.resx | 120 +++++++ projet/View/ModifierPersonne.Designer.cs | 277 ++++++++++++++++ projet/View/ModifierPersonne.cs | 20 ++ projet/View/ModifierPersonne.resx | 120 +++++++ projet/View/PageConnexion.Designer.cs | 159 +++++++++ projet/View/PageConnexion.cs | 25 ++ projet/View/PageConnexion.resx | 120 +++++++ projet/projet.csproj | 5 + 31 files changed, 3267 insertions(+) create mode 100644 projet/View/AddPersonnel.Designer.cs create mode 100644 projet/View/AddPersonnel.cs create mode 100644 projet/View/AddPersonnel.resx create mode 100644 projet/View/Admin.Designer.cs create mode 100644 projet/View/Admin.cs create mode 100644 projet/View/Admin.resx create mode 100644 projet/View/ConfirmeModifierAbsence.Designer.cs create mode 100644 projet/View/ConfirmeModifierAbsence.cs create mode 100644 projet/View/ConfirmeModifierAbsence.resx create mode 100644 projet/View/ConfirmeModifierPersonnel.Designer.cs create mode 100644 projet/View/ConfirmeModifierPersonnel.cs create mode 100644 projet/View/ConfirmeModifierPersonnel.resx create mode 100644 projet/View/ConfirmeSupprimerAbsence.Designer.cs create mode 100644 projet/View/ConfirmeSupprimerAbsence.cs create mode 100644 projet/View/ConfirmeSupprimerAbsence.resx create mode 100644 projet/View/ConfirmeSupressionPersonnel.Designer.cs create mode 100644 projet/View/ConfirmeSupressionPersonnel.cs create mode 100644 projet/View/ConfirmeSupressionPersonnel.resx create mode 100644 projet/View/GestionAbsence.Designer.cs create mode 100644 projet/View/GestionAbsence.cs create mode 100644 projet/View/GestionAbsence.resx create mode 100644 projet/View/ModifierAbsence.Designer.cs create mode 100644 projet/View/ModifierAbsence.cs create mode 100644 projet/View/ModifierAbsence.resx create mode 100644 projet/View/ModifierPersonne.Designer.cs create mode 100644 projet/View/ModifierPersonne.cs create mode 100644 projet/View/ModifierPersonne.resx create mode 100644 projet/View/PageConnexion.Designer.cs create mode 100644 projet/View/PageConnexion.cs create mode 100644 projet/View/PageConnexion.resx diff --git a/projet/View/AddPersonnel.Designer.cs b/projet/View/AddPersonnel.Designer.cs new file mode 100644 index 0000000..eccc4ca --- /dev/null +++ b/projet/View/AddPersonnel.Designer.cs @@ -0,0 +1,237 @@ +namespace projet.View +{ + partial class AddPersonnel + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel; + private System.Windows.Forms.Label labelNom; + private System.Windows.Forms.TextBox textBoxNom; + private System.Windows.Forms.Label labelPrenom; + private System.Windows.Forms.TextBox textBoxPrenom; + private System.Windows.Forms.Label labelTel; + private System.Windows.Forms.TextBox textBoxTel; + private System.Windows.Forms.Label labelMail; + private System.Windows.Forms.TextBox textBoxMail; + private System.Windows.Forms.Label labelService; + private System.Windows.Forms.ComboBox comboBoxService; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanelButtons; + private System.Windows.Forms.Button buttonAjouter; + private System.Windows.Forms.Button buttonAnnuler; + + /// + /// 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(); + this.pictureBoxTop = new System.Windows.Forms.PictureBox(); + this.pictureBoxBottom = new System.Windows.Forms.PictureBox(); + this.labelTitle = new System.Windows.Forms.Label(); + this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); + this.labelNom = new System.Windows.Forms.Label(); + this.textBoxNom = new System.Windows.Forms.TextBox(); + this.labelPrenom = new System.Windows.Forms.Label(); + this.textBoxPrenom = new System.Windows.Forms.TextBox(); + this.labelTel = new System.Windows.Forms.Label(); + this.textBoxTel = new System.Windows.Forms.TextBox(); + this.labelMail = new System.Windows.Forms.Label(); + this.textBoxMail = new System.Windows.Forms.TextBox(); + this.labelService = new System.Windows.Forms.Label(); + this.comboBoxService = new System.Windows.Forms.ComboBox(); + this.flowLayoutPanelButtons = new System.Windows.Forms.FlowLayoutPanel(); + this.buttonAjouter = new System.Windows.Forms.Button(); + this.buttonAnnuler = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).BeginInit(); + this.tableLayoutPanel.SuspendLayout(); + this.flowLayoutPanelButtons.SuspendLayout(); + this.SuspendLayout(); + // + // pictureBoxTop + // + this.pictureBoxTop.Dock = System.Windows.Forms.DockStyle.Top; + // this.pictureBoxTop.Image = global::projet.Properties.Resources.BlueHeader; // Désactivé car ressource manquante + this.pictureBoxTop.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxTop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxTop.Location = new System.Drawing.Point(0, 0); + this.pictureBoxTop.Name = "pictureBoxTop"; + this.pictureBoxTop.Size = new System.Drawing.Size(800, 180); + this.pictureBoxTop.TabIndex = 0; + this.pictureBoxTop.TabStop = false; + // + // pictureBoxBottom + // + this.pictureBoxBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + // this.pictureBoxBottom.Image = global::projet.Properties.Resources.BlueFooter; // Désactivé car ressource manquante + this.pictureBoxBottom.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxBottom.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxBottom.Location = new System.Drawing.Point(0, 500); + this.pictureBoxBottom.Name = "pictureBoxBottom"; + this.pictureBoxBottom.Size = new System.Drawing.Size(800, 100); + this.pictureBoxBottom.TabIndex = 1; + this.pictureBoxBottom.TabStop = false; + // + // labelTitle + // + this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 28F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.labelTitle.Location = new System.Drawing.Point(0, 180); + this.labelTitle.Name = "labelTitle"; + this.labelTitle.Size = new System.Drawing.Size(800, 60); + this.labelTitle.TabIndex = 2; + this.labelTitle.Text = "Ajouter une personne"; + this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // tableLayoutPanel + // + this.tableLayoutPanel.ColumnCount = 2; + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F)); + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F)); + this.tableLayoutPanel.RowCount = 6; + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F)); + this.tableLayoutPanel.Controls.Add(this.labelNom, 0, 0); + this.tableLayoutPanel.Controls.Add(this.textBoxNom, 1, 0); + this.tableLayoutPanel.Controls.Add(this.labelPrenom, 0, 1); + this.tableLayoutPanel.Controls.Add(this.textBoxPrenom, 1, 1); + this.tableLayoutPanel.Controls.Add(this.labelTel, 0, 2); + this.tableLayoutPanel.Controls.Add(this.textBoxTel, 1, 2); + this.tableLayoutPanel.Controls.Add(this.labelMail, 0, 3); + this.tableLayoutPanel.Controls.Add(this.textBoxMail, 1, 3); + this.tableLayoutPanel.Controls.Add(this.labelService, 0, 4); + this.tableLayoutPanel.Controls.Add(this.comboBoxService, 1, 4); + this.tableLayoutPanel.Controls.Add(this.flowLayoutPanelButtons, 1, 5); + this.tableLayoutPanel.Location = new System.Drawing.Point(120, 260); + this.tableLayoutPanel.Name = "tableLayoutPanel"; + this.tableLayoutPanel.Size = new System.Drawing.Size(560, 250); + this.tableLayoutPanel.TabIndex = 3; + // + // labelNom + // + this.labelNom.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.labelNom.AutoSize = true; + this.labelNom.Font = new System.Drawing.Font("Segoe UI", 16F); + this.labelNom.Text = "Nom :"; + // + // textBoxNom + // + this.textBoxNom.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.textBoxNom.Width = 250; + this.textBoxNom.PlaceholderText = "Nom"; + // + // labelPrenom + // + this.labelPrenom.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.labelPrenom.AutoSize = true; + this.labelPrenom.Font = new System.Drawing.Font("Segoe UI", 16F); + this.labelPrenom.Text = "Prénom :"; + // + // textBoxPrenom + // + this.textBoxPrenom.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.textBoxPrenom.Width = 250; + this.textBoxPrenom.PlaceholderText = "Prénom"; + // + // labelTel + // + this.labelTel.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.labelTel.AutoSize = true; + this.labelTel.Font = new System.Drawing.Font("Segoe UI", 16F); + this.labelTel.Text = "Tél :"; + // + // textBoxTel + // + this.textBoxTel.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.textBoxTel.Width = 250; + this.textBoxTel.PlaceholderText = "Numéro de téléphone"; + // + // labelMail + // + this.labelMail.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.labelMail.AutoSize = true; + this.labelMail.Font = new System.Drawing.Font("Segoe UI", 16F); + this.labelMail.Text = "Mail :"; + // + // textBoxMail + // + this.textBoxMail.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.textBoxMail.Width = 250; + this.textBoxMail.PlaceholderText = "Adresse mail"; + // + // labelService + // + this.labelService.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.labelService.AutoSize = true; + this.labelService.Font = new System.Drawing.Font("Segoe UI", 16F); + this.labelService.Text = "Service :"; + // + // comboBoxService + // + this.comboBoxService.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.comboBoxService.Width = 250; + this.comboBoxService.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + // this.comboBoxService.PlaceholderText = "Service d'affectation"; // Supprimé car non supporté + // + // flowLayoutPanelButtons + // + this.flowLayoutPanelButtons.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.flowLayoutPanelButtons.AutoSize = true; + this.flowLayoutPanelButtons.Controls.Add(this.buttonAjouter); + this.flowLayoutPanelButtons.Controls.Add(this.buttonAnnuler); + // + // buttonAjouter + // + this.buttonAjouter.Text = "Ajouter"; + this.buttonAjouter.Width = 100; + // + // buttonAnnuler + // + this.buttonAnnuler.Text = "Annuler"; + this.buttonAnnuler.Width = 100; + // + // AddPersonnel + // + this.ClientSize = new System.Drawing.Size(800, 600); + this.Controls.Add(this.pictureBoxTop); + this.Controls.Add(this.pictureBoxBottom); + this.Controls.Add(this.labelTitle); + this.Controls.Add(this.tableLayoutPanel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "AddPersonnel"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).EndInit(); + this.tableLayoutPanel.ResumeLayout(false); + this.tableLayoutPanel.PerformLayout(); + this.flowLayoutPanelButtons.ResumeLayout(false); + this.ResumeLayout(false); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/AddPersonnel.cs b/projet/View/AddPersonnel.cs new file mode 100644 index 0000000..91c6089 --- /dev/null +++ b/projet/View/AddPersonnel.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace projet.View +{ + public partial class AddPersonnel : Form + { + public AddPersonnel() + { + InitializeComponent(); + } + } +} diff --git a/projet/View/AddPersonnel.resx b/projet/View/AddPersonnel.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/projet/View/AddPersonnel.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/Admin.Designer.cs b/projet/View/Admin.Designer.cs new file mode 100644 index 0000000..546bff1 --- /dev/null +++ b/projet/View/Admin.Designer.cs @@ -0,0 +1,169 @@ +namespace projet.View +{ + partial class Admin + { + private System.ComponentModel.IContainer components = null; + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.Label labelList; + private System.Windows.Forms.Label labelSeparator; + private System.Windows.Forms.ComboBox comboBoxPersonnel; + private System.Windows.Forms.Button buttonAdd; + private System.Windows.Forms.Button buttonDelete; + private System.Windows.Forms.Button buttonEdit; + private System.Windows.Forms.Button buttonAbsence; + + /// + /// 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.pictureBoxTop = new System.Windows.Forms.PictureBox(); + this.pictureBoxBottom = new System.Windows.Forms.PictureBox(); + this.labelTitle = new System.Windows.Forms.Label(); + this.labelList = new System.Windows.Forms.Label(); + this.labelSeparator = new System.Windows.Forms.Label(); + this.comboBoxPersonnel = new System.Windows.Forms.ComboBox(); + this.buttonAdd = new System.Windows.Forms.Button(); + this.buttonDelete = new System.Windows.Forms.Button(); + this.buttonEdit = new System.Windows.Forms.Button(); + this.buttonAbsence = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).BeginInit(); + this.SuspendLayout(); + // + // pictureBoxTop + // + this.pictureBoxTop.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxTop.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBoxTop.Location = new System.Drawing.Point(0, 0); + this.pictureBoxTop.Name = "pictureBoxTop"; + this.pictureBoxTop.Size = new System.Drawing.Size(800, 180); + this.pictureBoxTop.TabIndex = 0; + this.pictureBoxTop.TabStop = false; + // + // pictureBoxBottom + // + this.pictureBoxBottom.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pictureBoxBottom.Location = new System.Drawing.Point(0, 600 - 60); + this.pictureBoxBottom.Name = "pictureBoxBottom"; + this.pictureBoxBottom.Size = new System.Drawing.Size(800, 60); + this.pictureBoxBottom.TabIndex = 1; + this.pictureBoxBottom.TabStop = false; + // + // labelTitle + // + this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 28F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.labelTitle.Location = new System.Drawing.Point(0, 200); + this.labelTitle.Name = "labelTitle"; + this.labelTitle.Size = new System.Drawing.Size(800, 60); + this.labelTitle.TabIndex = 2; + this.labelTitle.Text = "Gérer le personnel"; + this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // labelList + // + this.labelList.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.labelList.Location = new System.Drawing.Point(0, 260); + this.labelList.Name = "labelList"; + this.labelList.Size = new System.Drawing.Size(800, 40); + this.labelList.TabIndex = 3; + this.labelList.Text = "Liste du personnel"; + this.labelList.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // labelSeparator + // + this.labelSeparator.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.labelSeparator.Location = new System.Drawing.Point(300, 300); + this.labelSeparator.Name = "labelSeparator"; + this.labelSeparator.Size = new System.Drawing.Size(200, 2); + this.labelSeparator.TabIndex = 4; + // + // comboBoxPersonnel + // + this.comboBoxPersonnel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxPersonnel.Font = new System.Drawing.Font("Segoe UI", 10F); + this.comboBoxPersonnel.Location = new System.Drawing.Point(300, 320); + this.comboBoxPersonnel.Name = "comboBoxPersonnel"; + this.comboBoxPersonnel.Size = new System.Drawing.Size(200, 25); + this.comboBoxPersonnel.TabIndex = 5; + // + // buttonAdd + // + this.buttonAdd.Location = new System.Drawing.Point(220, 370); + this.buttonAdd.Name = "buttonAdd"; + this.buttonAdd.Size = new System.Drawing.Size(150, 30); + this.buttonAdd.TabIndex = 6; + this.buttonAdd.Text = "Ajouter une personne"; + // + // buttonAbsence + // + this.buttonAbsence.Location = new System.Drawing.Point(430, 370); + this.buttonAbsence.Name = "buttonAbsence"; + this.buttonAbsence.Size = new System.Drawing.Size(150, 30); + this.buttonAbsence.TabIndex = 7; + this.buttonAbsence.Text = "Gérer ses absences"; + // + // buttonDelete + // + this.buttonDelete.Location = new System.Drawing.Point(220, 410); + this.buttonDelete.Name = "buttonDelete"; + this.buttonDelete.Size = new System.Drawing.Size(150, 30); + this.buttonDelete.TabIndex = 8; + this.buttonDelete.Text = "Supprimer la personne"; + // + // buttonEdit + // + this.buttonEdit.Location = new System.Drawing.Point(430, 410); + this.buttonEdit.Name = "buttonEdit"; + this.buttonEdit.Size = new System.Drawing.Size(150, 30); + this.buttonEdit.TabIndex = 9; + this.buttonEdit.Text = "Modifier personne"; + // + // Admin + // + this.ClientSize = new System.Drawing.Size(800, 600); + this.Controls.Add(this.pictureBoxTop); + this.Controls.Add(this.pictureBoxBottom); + this.Controls.Add(this.labelTitle); + this.Controls.Add(this.labelList); + this.Controls.Add(this.labelSeparator); + this.Controls.Add(this.comboBoxPersonnel); + this.Controls.Add(this.buttonAdd); + this.Controls.Add(this.buttonAbsence); + this.Controls.Add(this.buttonDelete); + this.Controls.Add(this.buttonEdit); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "Admin"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).EndInit(); + this.ResumeLayout(false); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/Admin.cs b/projet/View/Admin.cs new file mode 100644 index 0000000..2351c64 --- /dev/null +++ b/projet/View/Admin.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace projet.View +{ + public partial class Admin : Form + { + public Admin() + { + InitializeComponent(); + } + } +} diff --git a/projet/View/Admin.resx b/projet/View/Admin.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/projet/View/Admin.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/ConfirmeModifierAbsence.Designer.cs b/projet/View/ConfirmeModifierAbsence.Designer.cs new file mode 100644 index 0000000..3645a3f --- /dev/null +++ b/projet/View/ConfirmeModifierAbsence.Designer.cs @@ -0,0 +1,119 @@ +namespace projet.View +{ + partial class ConfirmeModifierAbsence + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.Button buttonAnnuler; + private System.Windows.Forms.Button buttonConfirmer; + + /// + /// 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.pictureBoxTop = new System.Windows.Forms.PictureBox(); + this.pictureBoxBottom = new System.Windows.Forms.PictureBox(); + this.labelTitle = new System.Windows.Forms.Label(); + this.buttonAnnuler = new System.Windows.Forms.Button(); + this.buttonConfirmer = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).BeginInit(); + this.SuspendLayout(); + // + // pictureBoxTop + // + this.pictureBoxTop.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxTop.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBoxTop.Location = new System.Drawing.Point(0, 0); + this.pictureBoxTop.Name = "pictureBoxTop"; + this.pictureBoxTop.Size = new System.Drawing.Size(800, 180); + this.pictureBoxTop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxTop.TabIndex = 0; + this.pictureBoxTop.TabStop = false; + // + // pictureBoxBottom + // + this.pictureBoxBottom.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pictureBoxBottom.Location = new System.Drawing.Point(0, 520); + this.pictureBoxBottom.Name = "pictureBoxBottom"; + this.pictureBoxBottom.Size = new System.Drawing.Size(800, 140); + this.pictureBoxBottom.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxBottom.TabIndex = 1; + this.pictureBoxBottom.TabStop = false; + // + // labelTitle + // + this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 20F); + this.labelTitle.Location = new System.Drawing.Point(0, 180); + this.labelTitle.Name = "labelTitle"; + this.labelTitle.Size = new System.Drawing.Size(800, 50); + this.labelTitle.TabIndex = 2; + this.labelTitle.Text = "Voulez vous vraiment modifier l'absence : ABSENCE"; + this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // buttonAnnuler + // + this.buttonAnnuler.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonAnnuler.Location = new System.Drawing.Point(200, 260); + this.buttonAnnuler.Name = "buttonAnnuler"; + this.buttonAnnuler.Size = new System.Drawing.Size(100, 30); + this.buttonAnnuler.TabIndex = 3; + this.buttonAnnuler.Text = "Annuler"; + this.buttonAnnuler.UseVisualStyleBackColor = true; + // + // buttonConfirmer + // + this.buttonConfirmer.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonConfirmer.Location = new System.Drawing.Point(500, 260); + this.buttonConfirmer.Name = "buttonConfirmer"; + this.buttonConfirmer.Size = new System.Drawing.Size(100, 30); + this.buttonConfirmer.TabIndex = 4; + this.buttonConfirmer.Text = "Confirmer"; + this.buttonConfirmer.UseVisualStyleBackColor = true; + // + // ConfirmeModifierAbsence + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 660); + this.Controls.Add(this.pictureBoxTop); + this.Controls.Add(this.pictureBoxBottom); + this.Controls.Add(this.labelTitle); + this.Controls.Add(this.buttonAnnuler); + this.Controls.Add(this.buttonConfirmer); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "ConfirmeModifierAbsence"; + this.Text = "Confirmation modification absence"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).EndInit(); + this.ResumeLayout(false); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/ConfirmeModifierAbsence.cs b/projet/View/ConfirmeModifierAbsence.cs new file mode 100644 index 0000000..2db4aa8 --- /dev/null +++ b/projet/View/ConfirmeModifierAbsence.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace projet.View +{ + public partial class ConfirmeModifierAbsence : Form + { + public ConfirmeModifierAbsence() + { + InitializeComponent(); + } + } +} diff --git a/projet/View/ConfirmeModifierAbsence.resx b/projet/View/ConfirmeModifierAbsence.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/projet/View/ConfirmeModifierAbsence.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/ConfirmeModifierPersonnel.Designer.cs b/projet/View/ConfirmeModifierPersonnel.Designer.cs new file mode 100644 index 0000000..b50c768 --- /dev/null +++ b/projet/View/ConfirmeModifierPersonnel.Designer.cs @@ -0,0 +1,119 @@ +namespace projet.View +{ + partial class ConfirmeModifierPersonnel + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.Button buttonAnnuler; + private System.Windows.Forms.Button buttonConfirmer; + + /// + /// 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.pictureBoxTop = new System.Windows.Forms.PictureBox(); + this.pictureBoxBottom = new System.Windows.Forms.PictureBox(); + this.labelTitle = new System.Windows.Forms.Label(); + this.buttonAnnuler = new System.Windows.Forms.Button(); + this.buttonConfirmer = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).BeginInit(); + this.SuspendLayout(); + // + // pictureBoxTop + // + this.pictureBoxTop.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxTop.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBoxTop.Location = new System.Drawing.Point(0, 0); + this.pictureBoxTop.Name = "pictureBoxTop"; + this.pictureBoxTop.Size = new System.Drawing.Size(800, 180); + this.pictureBoxTop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxTop.TabIndex = 0; + this.pictureBoxTop.TabStop = false; + // + // pictureBoxBottom + // + this.pictureBoxBottom.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pictureBoxBottom.Location = new System.Drawing.Point(0, 520); + this.pictureBoxBottom.Name = "pictureBoxBottom"; + this.pictureBoxBottom.Size = new System.Drawing.Size(800, 140); + this.pictureBoxBottom.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxBottom.TabIndex = 1; + this.pictureBoxBottom.TabStop = false; + // + // labelTitle + // + this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 20F); + this.labelTitle.Location = new System.Drawing.Point(0, 180); + this.labelTitle.Name = "labelTitle"; + this.labelTitle.Size = new System.Drawing.Size(800, 50); + this.labelTitle.TabIndex = 2; + this.labelTitle.Text = "Confirmez vous les modifications pour : PRÉNOM ?"; + this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // buttonAnnuler + // + this.buttonAnnuler.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonAnnuler.Location = new System.Drawing.Point(200, 260); + this.buttonAnnuler.Name = "buttonAnnuler"; + this.buttonAnnuler.Size = new System.Drawing.Size(100, 30); + this.buttonAnnuler.TabIndex = 3; + this.buttonAnnuler.Text = "Annuler"; + this.buttonAnnuler.UseVisualStyleBackColor = true; + // + // buttonConfirmer + // + this.buttonConfirmer.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonConfirmer.Location = new System.Drawing.Point(500, 260); + this.buttonConfirmer.Name = "buttonConfirmer"; + this.buttonConfirmer.Size = new System.Drawing.Size(100, 30); + this.buttonConfirmer.TabIndex = 4; + this.buttonConfirmer.Text = "Confirmer"; + this.buttonConfirmer.UseVisualStyleBackColor = true; + // + // ConfirmeModifierPersonnel + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 660); + this.Controls.Add(this.pictureBoxTop); + this.Controls.Add(this.pictureBoxBottom); + this.Controls.Add(this.labelTitle); + this.Controls.Add(this.buttonAnnuler); + this.Controls.Add(this.buttonConfirmer); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "ConfirmeModifierPersonnel"; + this.Text = "Confirmation modification"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).EndInit(); + this.ResumeLayout(false); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/ConfirmeModifierPersonnel.cs b/projet/View/ConfirmeModifierPersonnel.cs new file mode 100644 index 0000000..60ab4c1 --- /dev/null +++ b/projet/View/ConfirmeModifierPersonnel.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace projet.View +{ + public partial class ConfirmeModifierPersonnel : Form + { + public ConfirmeModifierPersonnel() + { + InitializeComponent(); + } + } +} diff --git a/projet/View/ConfirmeModifierPersonnel.resx b/projet/View/ConfirmeModifierPersonnel.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/projet/View/ConfirmeModifierPersonnel.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/ConfirmeSupprimerAbsence.Designer.cs b/projet/View/ConfirmeSupprimerAbsence.Designer.cs new file mode 100644 index 0000000..1c03cab --- /dev/null +++ b/projet/View/ConfirmeSupprimerAbsence.Designer.cs @@ -0,0 +1,119 @@ +namespace projet.View +{ + partial class ConfirmeSupprimerAbsence + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.Button buttonAnnuler; + private System.Windows.Forms.Button buttonConfirmer; + + /// + /// 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.pictureBoxTop = new System.Windows.Forms.PictureBox(); + this.pictureBoxBottom = new System.Windows.Forms.PictureBox(); + this.labelTitle = new System.Windows.Forms.Label(); + this.buttonAnnuler = new System.Windows.Forms.Button(); + this.buttonConfirmer = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).BeginInit(); + this.SuspendLayout(); + // + // pictureBoxTop + // + this.pictureBoxTop.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxTop.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBoxTop.Location = new System.Drawing.Point(0, 0); + this.pictureBoxTop.Name = "pictureBoxTop"; + this.pictureBoxTop.Size = new System.Drawing.Size(800, 180); + this.pictureBoxTop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxTop.TabIndex = 0; + this.pictureBoxTop.TabStop = false; + // + // pictureBoxBottom + // + this.pictureBoxBottom.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pictureBoxBottom.Location = new System.Drawing.Point(0, 520); + this.pictureBoxBottom.Name = "pictureBoxBottom"; + this.pictureBoxBottom.Size = new System.Drawing.Size(800, 140); + this.pictureBoxBottom.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxBottom.TabIndex = 1; + this.pictureBoxBottom.TabStop = false; + // + // labelTitle + // + this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 20F); + this.labelTitle.Location = new System.Drawing.Point(0, 180); + this.labelTitle.Name = "labelTitle"; + this.labelTitle.Size = new System.Drawing.Size(800, 50); + this.labelTitle.TabIndex = 2; + this.labelTitle.Text = "Voulez vous vraiment supprimer l'absence : ABSENCE"; + this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // buttonAnnuler + // + this.buttonAnnuler.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonAnnuler.Location = new System.Drawing.Point(200, 260); + this.buttonAnnuler.Name = "buttonAnnuler"; + this.buttonAnnuler.Size = new System.Drawing.Size(100, 30); + this.buttonAnnuler.TabIndex = 3; + this.buttonAnnuler.Text = "Annuler"; + this.buttonAnnuler.UseVisualStyleBackColor = true; + // + // buttonConfirmer + // + this.buttonConfirmer.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonConfirmer.Location = new System.Drawing.Point(500, 260); + this.buttonConfirmer.Name = "buttonConfirmer"; + this.buttonConfirmer.Size = new System.Drawing.Size(100, 30); + this.buttonConfirmer.TabIndex = 4; + this.buttonConfirmer.Text = "Confirmer"; + this.buttonConfirmer.UseVisualStyleBackColor = true; + // + // ConfirmeSupprimerAbsence + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 660); + this.Controls.Add(this.pictureBoxTop); + this.Controls.Add(this.pictureBoxBottom); + this.Controls.Add(this.labelTitle); + this.Controls.Add(this.buttonAnnuler); + this.Controls.Add(this.buttonConfirmer); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "ConfirmeSupprimerAbsence"; + this.Text = "Confirmation suppression absence"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).EndInit(); + this.ResumeLayout(false); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/ConfirmeSupprimerAbsence.cs b/projet/View/ConfirmeSupprimerAbsence.cs new file mode 100644 index 0000000..a66361b --- /dev/null +++ b/projet/View/ConfirmeSupprimerAbsence.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace projet.View +{ + public partial class ConfirmeSupprimerAbsence : Form + { + public ConfirmeSupprimerAbsence() + { + InitializeComponent(); + } + } +} diff --git a/projet/View/ConfirmeSupprimerAbsence.resx b/projet/View/ConfirmeSupprimerAbsence.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/projet/View/ConfirmeSupprimerAbsence.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/ConfirmeSupressionPersonnel.Designer.cs b/projet/View/ConfirmeSupressionPersonnel.Designer.cs new file mode 100644 index 0000000..dc75950 --- /dev/null +++ b/projet/View/ConfirmeSupressionPersonnel.Designer.cs @@ -0,0 +1,119 @@ +namespace projet.View +{ + partial class ConfirmeSupressionPersonnel + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.Button buttonAnnuler; + private System.Windows.Forms.Button buttonConfirmer; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed. + 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.pictureBoxTop = new System.Windows.Forms.PictureBox(); + this.pictureBoxBottom = new System.Windows.Forms.PictureBox(); + this.labelTitle = new System.Windows.Forms.Label(); + this.buttonAnnuler = new System.Windows.Forms.Button(); + this.buttonConfirmer = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).BeginInit(); + this.SuspendLayout(); + // + // pictureBoxTop + // + this.pictureBoxTop.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxTop.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBoxTop.Location = new System.Drawing.Point(0, 0); + this.pictureBoxTop.Name = "pictureBoxTop"; + this.pictureBoxTop.Size = new System.Drawing.Size(800, 180); + this.pictureBoxTop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxTop.TabIndex = 0; + this.pictureBoxTop.TabStop = false; + // + // pictureBoxBottom + // + this.pictureBoxBottom.BackColor = System.Drawing.Color.SteelBlue; + this.pictureBoxBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pictureBoxBottom.Location = new System.Drawing.Point(0, 520); + this.pictureBoxBottom.Name = "pictureBoxBottom"; + this.pictureBoxBottom.Size = new System.Drawing.Size(800, 140); + this.pictureBoxBottom.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxBottom.TabIndex = 1; + this.pictureBoxBottom.TabStop = false; + // + // labelTitle + // + this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 20F); + this.labelTitle.Location = new System.Drawing.Point(0, 180); + this.labelTitle.Name = "labelTitle"; + this.labelTitle.Size = new System.Drawing.Size(800, 50); + this.labelTitle.TabIndex = 2; + this.labelTitle.Text = "Voulez vous vraiment supprimer : PRÉNOM"; + this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // buttonAnnuler + // + this.buttonAnnuler.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonAnnuler.Location = new System.Drawing.Point(200, 260); + this.buttonAnnuler.Name = "buttonAnnuler"; + this.buttonAnnuler.Size = new System.Drawing.Size(100, 30); + this.buttonAnnuler.TabIndex = 3; + this.buttonAnnuler.Text = "Annuler"; + this.buttonAnnuler.UseVisualStyleBackColor = true; + // + // buttonConfirmer + // + this.buttonConfirmer.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonConfirmer.Location = new System.Drawing.Point(500, 260); + this.buttonConfirmer.Name = "buttonConfirmer"; + this.buttonConfirmer.Size = new System.Drawing.Size(100, 30); + this.buttonConfirmer.TabIndex = 4; + this.buttonConfirmer.Text = "Confirmer"; + this.buttonConfirmer.UseVisualStyleBackColor = true; + // + // ConfirmeSupressionPersonnel + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 660); + this.Controls.Add(this.pictureBoxTop); + this.Controls.Add(this.pictureBoxBottom); + this.Controls.Add(this.labelTitle); + this.Controls.Add(this.buttonAnnuler); + this.Controls.Add(this.buttonConfirmer); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "ConfirmeSupressionPersonnel"; + this.Text = "Confirmation suppression"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).EndInit(); + this.ResumeLayout(false); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/ConfirmeSupressionPersonnel.cs b/projet/View/ConfirmeSupressionPersonnel.cs new file mode 100644 index 0000000..a42e38f --- /dev/null +++ b/projet/View/ConfirmeSupressionPersonnel.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace projet.View +{ + public partial class ConfirmeSupressionPersonnel : Form + { + public ConfirmeSupressionPersonnel() + { + InitializeComponent(); + } + } +} diff --git a/projet/View/ConfirmeSupressionPersonnel.resx b/projet/View/ConfirmeSupressionPersonnel.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/projet/View/ConfirmeSupressionPersonnel.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/GestionAbsence.Designer.cs b/projet/View/GestionAbsence.Designer.cs new file mode 100644 index 0000000..fcca681 --- /dev/null +++ b/projet/View/GestionAbsence.Designer.cs @@ -0,0 +1,311 @@ +namespace projet.View +{ + partial class GestionAbsence + { + /// + /// 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 + + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.DataGridView dataGridViewAbsences; + private System.Windows.Forms.GroupBox groupBoxNouvelleAbsence; + private System.Windows.Forms.Label labelDateDebut; + private System.Windows.Forms.TextBox textBoxDateDebut; + private System.Windows.Forms.Label labelDateFin; + private System.Windows.Forms.TextBox textBoxDateFin; + private System.Windows.Forms.Label labelMotif; + private System.Windows.Forms.ComboBox comboBoxMotif; + private System.Windows.Forms.Button buttonAjouter; + private System.Windows.Forms.GroupBox groupBoxSupprimerAbsence; + private System.Windows.Forms.Label labelAbsence; + private System.Windows.Forms.ComboBox comboBoxAbsence; + private System.Windows.Forms.Button buttonSupprimer; + private System.Windows.Forms.Panel panelSeparator; + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle(); + DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle(); + pictureBoxTop = new PictureBox(); + pictureBoxBottom = new PictureBox(); + labelTitle = new Label(); + dataGridViewAbsences = new DataGridView(); + groupBoxNouvelleAbsence = new GroupBox(); + labelDateDebut = new Label(); + textBoxDateDebut = new TextBox(); + labelDateFin = new Label(); + textBoxDateFin = new TextBox(); + labelMotif = new Label(); + comboBoxMotif = new ComboBox(); + buttonAjouter = new Button(); + groupBoxSupprimerAbsence = new GroupBox(); + labelAbsence = new Label(); + comboBoxAbsence = new ComboBox(); + buttonSupprimer = new Button(); + panelSeparator = new Panel(); + dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn(); + dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn(); + dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn(); + ((System.ComponentModel.ISupportInitialize)pictureBoxTop).BeginInit(); + ((System.ComponentModel.ISupportInitialize)pictureBoxBottom).BeginInit(); + ((System.ComponentModel.ISupportInitialize)dataGridViewAbsences).BeginInit(); + groupBoxNouvelleAbsence.SuspendLayout(); + groupBoxSupprimerAbsence.SuspendLayout(); + SuspendLayout(); + // + // pictureBoxTop + // + pictureBoxTop.BackColor = Color.SteelBlue; + pictureBoxTop.Dock = DockStyle.Top; + pictureBoxTop.Location = new Point(0, 0); + pictureBoxTop.Name = "pictureBoxTop"; + pictureBoxTop.Size = new Size(800, 180); + pictureBoxTop.SizeMode = PictureBoxSizeMode.StretchImage; + pictureBoxTop.TabIndex = 0; + pictureBoxTop.TabStop = false; + // + // pictureBoxBottom + // + pictureBoxBottom.BackColor = Color.SteelBlue; + pictureBoxBottom.Dock = DockStyle.Bottom; + pictureBoxBottom.Location = new Point(0, 700); + pictureBoxBottom.Name = "pictureBoxBottom"; + pictureBoxBottom.Size = new Size(800, 100); + pictureBoxBottom.SizeMode = PictureBoxSizeMode.StretchImage; + pictureBoxBottom.TabIndex = 1; + pictureBoxBottom.TabStop = false; + // + // labelTitle + // + labelTitle.Font = new Font("Segoe UI", 20F); + labelTitle.Location = new Point(0, 180); + labelTitle.Name = "labelTitle"; + labelTitle.Size = new Size(800, 50); + labelTitle.TabIndex = 2; + labelTitle.Text = "Absences de : PRÉNOM"; + labelTitle.TextAlign = ContentAlignment.MiddleCenter; + // + // dataGridViewAbsences + // + dataGridViewAbsences.AllowUserToAddRows = false; + dataGridViewAbsences.AllowUserToDeleteRows = false; + dataGridViewAbsences.AllowUserToResizeRows = false; + dataGridViewAbsences.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewAbsences.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridViewAbsences.Columns.AddRange(new DataGridViewColumn[] { dataGridViewTextBoxColumn1, dataGridViewTextBoxColumn2, dataGridViewTextBoxColumn3 }); + dataGridViewAbsences.EnableHeadersVisualStyles = false; + dataGridViewAbsences.Location = new Point(60, 240); + dataGridViewAbsences.Name = "dataGridViewAbsences"; + dataGridViewAbsences.ReadOnly = true; + dataGridViewAbsences.RowHeadersVisible = false; + dataGridViewCellStyle2.Font = new Font("Segoe UI", 10F); + dataGridViewAbsences.RowsDefaultCellStyle = dataGridViewCellStyle2; + dataGridViewAbsences.ScrollBars = ScrollBars.Vertical; + dataGridViewAbsences.Size = new Size(680, 180); + dataGridViewAbsences.TabIndex = 3; + dataGridViewAbsences.CellContentClick += dataGridViewAbsences_CellContentClick; + // + // groupBoxNouvelleAbsence + // + groupBoxNouvelleAbsence.Controls.Add(labelDateDebut); + groupBoxNouvelleAbsence.Controls.Add(textBoxDateDebut); + groupBoxNouvelleAbsence.Controls.Add(labelDateFin); + groupBoxNouvelleAbsence.Controls.Add(textBoxDateFin); + groupBoxNouvelleAbsence.Controls.Add(labelMotif); + groupBoxNouvelleAbsence.Controls.Add(comboBoxMotif); + groupBoxNouvelleAbsence.Controls.Add(buttonAjouter); + groupBoxNouvelleAbsence.Font = new Font("Segoe UI", 12F); + groupBoxNouvelleAbsence.Location = new Point(60, 440); + groupBoxNouvelleAbsence.Name = "groupBoxNouvelleAbsence"; + groupBoxNouvelleAbsence.Size = new Size(320, 200); + groupBoxNouvelleAbsence.TabIndex = 4; + groupBoxNouvelleAbsence.TabStop = false; + groupBoxNouvelleAbsence.Text = "Nouvelle absence"; + // + // labelDateDebut + // + labelDateDebut.AutoSize = true; + labelDateDebut.Font = new Font("Segoe UI", 10F); + labelDateDebut.Location = new Point(15, 40); + labelDateDebut.Name = "labelDateDebut"; + labelDateDebut.Size = new Size(85, 19); + labelDateDebut.TabIndex = 0; + labelDateDebut.Text = "Date début :"; + // + // textBoxDateDebut + // + textBoxDateDebut.Font = new Font("Segoe UI", 10F); + textBoxDateDebut.Location = new Point(120, 37); + textBoxDateDebut.Name = "textBoxDateDebut"; + textBoxDateDebut.PlaceholderText = "dd-MM-YYYY"; + textBoxDateDebut.Size = new Size(170, 25); + textBoxDateDebut.TabIndex = 1; + // + // labelDateFin + // + labelDateFin.AutoSize = true; + labelDateFin.Font = new Font("Segoe UI", 10F); + labelDateFin.Location = new Point(15, 75); + labelDateFin.Name = "labelDateFin"; + labelDateFin.Size = new Size(64, 19); + labelDateFin.TabIndex = 2; + labelDateFin.Text = "Date fin :"; + // + // textBoxDateFin + // + textBoxDateFin.Font = new Font("Segoe UI", 10F); + textBoxDateFin.Location = new Point(120, 72); + textBoxDateFin.Name = "textBoxDateFin"; + textBoxDateFin.PlaceholderText = "dd-MM-YYYY"; + textBoxDateFin.Size = new Size(170, 25); + textBoxDateFin.TabIndex = 3; + // + // labelMotif + // + labelMotif.AutoSize = true; + labelMotif.Font = new Font("Segoe UI", 10F); + labelMotif.Location = new Point(15, 110); + labelMotif.Name = "labelMotif"; + labelMotif.Size = new Size(49, 19); + labelMotif.TabIndex = 4; + labelMotif.Text = "Motif :"; + // + // comboBoxMotif + // + comboBoxMotif.DropDownStyle = ComboBoxStyle.DropDownList; + comboBoxMotif.Font = new Font("Segoe UI", 10F); + comboBoxMotif.Location = new Point(120, 107); + comboBoxMotif.Name = "comboBoxMotif"; + comboBoxMotif.Size = new Size(170, 25); + comboBoxMotif.TabIndex = 5; + // + // buttonAjouter + // + buttonAjouter.Font = new Font("Segoe UI", 10F); + buttonAjouter.Location = new Point(15, 150); + buttonAjouter.Name = "buttonAjouter"; + buttonAjouter.Size = new Size(100, 30); + buttonAjouter.TabIndex = 6; + buttonAjouter.Text = "Ajouter"; + buttonAjouter.UseVisualStyleBackColor = true; + // + // groupBoxSupprimerAbsence + // + groupBoxSupprimerAbsence.Controls.Add(labelAbsence); + groupBoxSupprimerAbsence.Controls.Add(comboBoxAbsence); + groupBoxSupprimerAbsence.Controls.Add(buttonSupprimer); + groupBoxSupprimerAbsence.Font = new Font("Segoe UI", 12F); + groupBoxSupprimerAbsence.Location = new Point(420, 440); + groupBoxSupprimerAbsence.Name = "groupBoxSupprimerAbsence"; + groupBoxSupprimerAbsence.Size = new Size(320, 200); + groupBoxSupprimerAbsence.TabIndex = 5; + groupBoxSupprimerAbsence.TabStop = false; + groupBoxSupprimerAbsence.Text = "Supprimer absence"; + // + // labelAbsence + // + labelAbsence.AutoSize = true; + labelAbsence.Font = new Font("Segoe UI", 10F); + labelAbsence.Location = new Point(15, 40); + labelAbsence.Name = "labelAbsence"; + labelAbsence.Size = new Size(67, 19); + labelAbsence.TabIndex = 0; + labelAbsence.Text = "Absence :"; + // + // comboBoxAbsence + // + comboBoxAbsence.DropDownStyle = ComboBoxStyle.DropDownList; + comboBoxAbsence.Font = new Font("Segoe UI", 10F); + comboBoxAbsence.Location = new Point(100, 37); + comboBoxAbsence.Name = "comboBoxAbsence"; + comboBoxAbsence.Size = new Size(170, 25); + comboBoxAbsence.TabIndex = 1; + // + // buttonSupprimer + // + buttonSupprimer.Font = new Font("Segoe UI", 10F); + buttonSupprimer.Location = new Point(15, 80); + buttonSupprimer.Name = "buttonSupprimer"; + buttonSupprimer.Size = new Size(100, 30); + buttonSupprimer.TabIndex = 2; + buttonSupprimer.Text = "Supprimer"; + buttonSupprimer.UseVisualStyleBackColor = true; + // + // panelSeparator + // + panelSeparator.BackColor = Color.Gray; + panelSeparator.Location = new Point(400, 460); + panelSeparator.Name = "panelSeparator"; + panelSeparator.Size = new Size(2, 160); + panelSeparator.TabIndex = 6; + // + // dataGridViewTextBoxColumn1 + // + dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + dataGridViewTextBoxColumn1.ReadOnly = true; + // + // dataGridViewTextBoxColumn2 + // + dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + dataGridViewTextBoxColumn2.ReadOnly = true; + // + // dataGridViewTextBoxColumn3 + // + dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + dataGridViewTextBoxColumn3.ReadOnly = true; + // + // GestionAbsence + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 800); + Controls.Add(pictureBoxTop); + Controls.Add(pictureBoxBottom); + Controls.Add(labelTitle); + Controls.Add(dataGridViewAbsences); + Controls.Add(groupBoxNouvelleAbsence); + Controls.Add(groupBoxSupprimerAbsence); + Controls.Add(panelSeparator); + FormBorderStyle = FormBorderStyle.FixedSingle; + MaximizeBox = false; + Name = "GestionAbsence"; + Text = "Gestion des absences"; + ((System.ComponentModel.ISupportInitialize)pictureBoxTop).EndInit(); + ((System.ComponentModel.ISupportInitialize)pictureBoxBottom).EndInit(); + ((System.ComponentModel.ISupportInitialize)dataGridViewAbsences).EndInit(); + groupBoxNouvelleAbsence.ResumeLayout(false); + groupBoxNouvelleAbsence.PerformLayout(); + groupBoxSupprimerAbsence.ResumeLayout(false); + groupBoxSupprimerAbsence.PerformLayout(); + ResumeLayout(false); + } + + #endregion + + private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; + private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + } +} \ No newline at end of file diff --git a/projet/View/GestionAbsence.cs b/projet/View/GestionAbsence.cs new file mode 100644 index 0000000..8bb5311 --- /dev/null +++ b/projet/View/GestionAbsence.cs @@ -0,0 +1,25 @@ +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 projet.View +{ + public partial class GestionAbsence : Form + { + public GestionAbsence() + { + InitializeComponent(); + } + + private void dataGridViewAbsences_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + + } + } +} diff --git a/projet/View/GestionAbsence.resx b/projet/View/GestionAbsence.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/projet/View/GestionAbsence.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/ModifierAbsence.Designer.cs b/projet/View/ModifierAbsence.Designer.cs new file mode 100644 index 0000000..a1f47af --- /dev/null +++ b/projet/View/ModifierAbsence.Designer.cs @@ -0,0 +1,221 @@ +namespace projet.View +{ + partial class ModifierAbsence + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.Label labelChoisirAbsence; + private System.Windows.Forms.ComboBox comboBoxAbsence; + private System.Windows.Forms.Panel panelSeparator; + private System.Windows.Forms.Label labelDateDebut; + private System.Windows.Forms.TextBox textBoxDateDebut; + private System.Windows.Forms.Label labelDateFin; + private System.Windows.Forms.TextBox textBoxDateFin; + private System.Windows.Forms.Label labelMotif; + private System.Windows.Forms.ComboBox comboBoxMotif; + private System.Windows.Forms.Button buttonModifier; + + /// + /// 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(); + this.pictureBoxTop = new System.Windows.Forms.PictureBox(); + this.pictureBoxBottom = new System.Windows.Forms.PictureBox(); + this.labelTitle = new System.Windows.Forms.Label(); + this.labelChoisirAbsence = new System.Windows.Forms.Label(); + this.comboBoxAbsence = new System.Windows.Forms.ComboBox(); + this.panelSeparator = new System.Windows.Forms.Panel(); + this.labelDateDebut = new System.Windows.Forms.Label(); + this.textBoxDateDebut = new System.Windows.Forms.TextBox(); + this.labelDateFin = new System.Windows.Forms.Label(); + this.textBoxDateFin = new System.Windows.Forms.TextBox(); + this.labelMotif = new System.Windows.Forms.Label(); + this.comboBoxMotif = new System.Windows.Forms.ComboBox(); + this.buttonModifier = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).BeginInit(); + this.SuspendLayout(); + // + // pictureBoxTop + // + this.pictureBoxTop.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBoxTop.Location = new System.Drawing.Point(0, 0); + this.pictureBoxTop.Name = "pictureBoxTop"; + this.pictureBoxTop.Size = new System.Drawing.Size(700, 180); + this.pictureBoxTop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxTop.TabIndex = 0; + this.pictureBoxTop.TabStop = false; + // Optionally set an image: this.pictureBoxTop.Image = global::projet.Properties.Resources.BlueRectangle; + this.pictureBoxTop.BackColor = System.Drawing.Color.SteelBlue; + // + // pictureBoxBottom + // + this.pictureBoxBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pictureBoxBottom.Location = new System.Drawing.Point(0, 500); + this.pictureBoxBottom.Name = "pictureBoxBottom"; + this.pictureBoxBottom.Size = new System.Drawing.Size(700, 100); + this.pictureBoxBottom.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxBottom.TabIndex = 1; + this.pictureBoxBottom.TabStop = false; + // Optionally set an image: this.pictureBoxBottom.Image = global::projet.Properties.Resources.BlueRectangle; + this.pictureBoxBottom.BackColor = System.Drawing.Color.SteelBlue; + // + // labelTitle + // + this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 20F); + this.labelTitle.Location = new System.Drawing.Point(0, 180); + this.labelTitle.Name = "labelTitle"; + this.labelTitle.Size = new System.Drawing.Size(700, 50); + this.labelTitle.TabIndex = 2; + this.labelTitle.Text = "Modifier absence"; + this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // labelChoisirAbsence + // + this.labelChoisirAbsence.AutoSize = true; + this.labelChoisirAbsence.Font = new System.Drawing.Font("Segoe UI", 12F); + this.labelChoisirAbsence.Location = new System.Drawing.Point(120, 250); + this.labelChoisirAbsence.Name = "labelChoisirAbsence"; + this.labelChoisirAbsence.Size = new System.Drawing.Size(124, 21); + this.labelChoisirAbsence.TabIndex = 3; + this.labelChoisirAbsence.Text = "Choisir absence :"; + // + // comboBoxAbsence + // + this.comboBoxAbsence.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxAbsence.Font = new System.Drawing.Font("Segoe UI", 10F); + this.comboBoxAbsence.Location = new System.Drawing.Point(270, 248); + this.comboBoxAbsence.Name = "comboBoxAbsence"; + this.comboBoxAbsence.Size = new System.Drawing.Size(180, 25); + this.comboBoxAbsence.TabIndex = 4; + // + // panelSeparator + // + this.panelSeparator.BackColor = System.Drawing.Color.SteelBlue; + this.panelSeparator.Location = new System.Drawing.Point(120, 280); + this.panelSeparator.Name = "panelSeparator"; + this.panelSeparator.Size = new System.Drawing.Size(330, 3); + this.panelSeparator.TabIndex = 5; + // + // labelDateDebut + // + this.labelDateDebut.AutoSize = true; + this.labelDateDebut.Font = new System.Drawing.Font("Segoe UI", 12F); + this.labelDateDebut.Location = new System.Drawing.Point(120, 310); + this.labelDateDebut.Name = "labelDateDebut"; + this.labelDateDebut.Size = new System.Drawing.Size(92, 21); + this.labelDateDebut.TabIndex = 6; + this.labelDateDebut.Text = "Date début :"; + // + // textBoxDateDebut + // + this.textBoxDateDebut.Font = new System.Drawing.Font("Segoe UI", 10F); + this.textBoxDateDebut.Location = new System.Drawing.Point(270, 308); + this.textBoxDateDebut.Name = "textBoxDateDebut"; + this.textBoxDateDebut.PlaceholderText = "dd-MM-YYYY"; + this.textBoxDateDebut.Size = new System.Drawing.Size(180, 25); + this.textBoxDateDebut.TabIndex = 7; + // + // labelDateFin + // + this.labelDateFin.AutoSize = true; + this.labelDateFin.Font = new System.Drawing.Font("Segoe UI", 12F); + this.labelDateFin.Location = new System.Drawing.Point(120, 350); + this.labelDateFin.Name = "labelDateFin"; + this.labelDateFin.Size = new System.Drawing.Size(74, 21); + this.labelDateFin.TabIndex = 8; + this.labelDateFin.Text = "Date fin :"; + // + // textBoxDateFin + // + this.textBoxDateFin.Font = new System.Drawing.Font("Segoe UI", 10F); + this.textBoxDateFin.Location = new System.Drawing.Point(270, 348); + this.textBoxDateFin.Name = "textBoxDateFin"; + this.textBoxDateFin.PlaceholderText = "dd-MM-YYYY"; + this.textBoxDateFin.Size = new System.Drawing.Size(180, 25); + this.textBoxDateFin.TabIndex = 9; + // + // labelMotif + // + this.labelMotif.AutoSize = true; + this.labelMotif.Font = new System.Drawing.Font("Segoe UI", 12F); + this.labelMotif.Location = new System.Drawing.Point(120, 390); + this.labelMotif.Name = "labelMotif"; + this.labelMotif.Size = new System.Drawing.Size(52, 21); + this.labelMotif.TabIndex = 10; + this.labelMotif.Text = "Motif :"; + // + // comboBoxMotif + // + this.comboBoxMotif.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxMotif.Font = new System.Drawing.Font("Segoe UI", 10F); + this.comboBoxMotif.Location = new System.Drawing.Point(270, 388); + this.comboBoxMotif.Name = "comboBoxMotif"; + this.comboBoxMotif.Size = new System.Drawing.Size(180, 25); + this.comboBoxMotif.TabIndex = 11; + // + // buttonModifier + // + this.buttonModifier.Font = new System.Drawing.Font("Segoe UI", 10F); + this.buttonModifier.Location = new System.Drawing.Point(120, 440); + this.buttonModifier.Name = "buttonModifier"; + this.buttonModifier.Size = new System.Drawing.Size(100, 30); + this.buttonModifier.TabIndex = 12; + this.buttonModifier.Text = "Modifier"; + this.buttonModifier.UseVisualStyleBackColor = true; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(700, 600); + this.Controls.Add(this.pictureBoxTop); + this.Controls.Add(this.pictureBoxBottom); + this.Controls.Add(this.labelTitle); + this.Controls.Add(this.labelChoisirAbsence); + this.Controls.Add(this.comboBoxAbsence); + this.Controls.Add(this.panelSeparator); + this.Controls.Add(this.labelDateDebut); + this.Controls.Add(this.textBoxDateDebut); + this.Controls.Add(this.labelDateFin); + this.Controls.Add(this.textBoxDateFin); + this.Controls.Add(this.labelMotif); + this.Controls.Add(this.comboBoxMotif); + this.Controls.Add(this.buttonModifier); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "Form1"; + this.Text = "Modifier absence"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxTop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBottom)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/ModifierAbsence.cs b/projet/View/ModifierAbsence.cs new file mode 100644 index 0000000..2c03f6d --- /dev/null +++ b/projet/View/ModifierAbsence.cs @@ -0,0 +1,22 @@ +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 projet.View +{ + public partial class ModifierAbsence : Form + { + public ModifierAbsence() + { + InitializeComponent(); + } + } +} + +// No logic changes required for layout/design modifications. diff --git a/projet/View/ModifierAbsence.resx b/projet/View/ModifierAbsence.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/projet/View/ModifierAbsence.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/ModifierPersonne.Designer.cs b/projet/View/ModifierPersonne.Designer.cs new file mode 100644 index 0000000..59ba48d --- /dev/null +++ b/projet/View/ModifierPersonne.Designer.cs @@ -0,0 +1,277 @@ +namespace projet.View +{ + partial class ModifierPersonne + { + private System.ComponentModel.IContainer components = null; + private System.Windows.Forms.PictureBox pictureBoxTop; + private System.Windows.Forms.PictureBox pictureBoxBottom; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel; + private System.Windows.Forms.Label labelNom; + private System.Windows.Forms.TextBox textBoxNom; + private System.Windows.Forms.Label labelPrenom; + private System.Windows.Forms.TextBox textBoxPrenom; + private System.Windows.Forms.Label labelTel; + private System.Windows.Forms.TextBox textBoxTel; + private System.Windows.Forms.Label labelMail; + private System.Windows.Forms.TextBox textBoxMail; + private System.Windows.Forms.Label labelService; + private System.Windows.Forms.ComboBox comboBoxService; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanelButtons; + private System.Windows.Forms.Button buttonConfirmer; + private System.Windows.Forms.Button buttonAnnuler; + + /// + /// 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() + { + pictureBoxTop = new PictureBox(); + pictureBoxBottom = new PictureBox(); + labelTitle = new Label(); + tableLayoutPanel = new TableLayoutPanel(); + labelNom = new Label(); + textBoxNom = new TextBox(); + labelPrenom = new Label(); + textBoxPrenom = new TextBox(); + labelTel = new Label(); + textBoxTel = new TextBox(); + labelMail = new Label(); + textBoxMail = new TextBox(); + labelService = new Label(); + comboBoxService = new ComboBox(); + flowLayoutPanelButtons = new FlowLayoutPanel(); + buttonConfirmer = new Button(); + buttonAnnuler = new Button(); + ((System.ComponentModel.ISupportInitialize)pictureBoxTop).BeginInit(); + ((System.ComponentModel.ISupportInitialize)pictureBoxBottom).BeginInit(); + tableLayoutPanel.SuspendLayout(); + flowLayoutPanelButtons.SuspendLayout(); + SuspendLayout(); + // + // pictureBoxTop + // + pictureBoxTop.BackColor = Color.SteelBlue; + pictureBoxTop.Dock = DockStyle.Top; + pictureBoxTop.Location = new Point(0, 0); + pictureBoxTop.Name = "pictureBoxTop"; + pictureBoxTop.Size = new Size(800, 180); + pictureBoxTop.SizeMode = PictureBoxSizeMode.StretchImage; + pictureBoxTop.TabIndex = 0; + pictureBoxTop.TabStop = false; + // + // pictureBoxBottom + // + pictureBoxBottom.BackColor = Color.SteelBlue; + pictureBoxBottom.Dock = DockStyle.Bottom; + pictureBoxBottom.Location = new Point(0, 500); + pictureBoxBottom.Name = "pictureBoxBottom"; + pictureBoxBottom.Size = new Size(800, 100); + pictureBoxBottom.SizeMode = PictureBoxSizeMode.StretchImage; + pictureBoxBottom.TabIndex = 1; + pictureBoxBottom.TabStop = false; + // + // labelTitle + // + labelTitle.Font = new Font("Segoe UI", 28F); + labelTitle.Location = new Point(0, 180); + labelTitle.Name = "labelTitle"; + labelTitle.Size = new Size(800, 60); + labelTitle.TabIndex = 2; + labelTitle.Text = "Modifier : PRÉNOM"; + labelTitle.TextAlign = ContentAlignment.MiddleCenter; + // + // tableLayoutPanel + // + tableLayoutPanel.ColumnCount = 2; + tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 30F)); + tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 70F)); + tableLayoutPanel.Controls.Add(labelNom, 0, 0); + tableLayoutPanel.Controls.Add(textBoxNom, 1, 0); + tableLayoutPanel.Controls.Add(labelPrenom, 0, 1); + tableLayoutPanel.Controls.Add(textBoxPrenom, 1, 1); + tableLayoutPanel.Controls.Add(labelTel, 0, 2); + tableLayoutPanel.Controls.Add(textBoxTel, 1, 2); + tableLayoutPanel.Controls.Add(labelMail, 0, 3); + tableLayoutPanel.Controls.Add(textBoxMail, 1, 3); + tableLayoutPanel.Controls.Add(labelService, 0, 4); + tableLayoutPanel.Controls.Add(comboBoxService, 1, 4); + tableLayoutPanel.Controls.Add(flowLayoutPanelButtons, 1, 5); + tableLayoutPanel.Location = new Point(120, 260); + tableLayoutPanel.Name = "tableLayoutPanel"; + tableLayoutPanel.RowCount = 6; + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F)); + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 50F)); + tableLayoutPanel.Size = new Size(560, 250); + tableLayoutPanel.TabIndex = 3; + tableLayoutPanel.Visible = false; + // + // labelNom + // + labelNom.Anchor = AnchorStyles.Right; + labelNom.AutoSize = true; + labelNom.Font = new Font("Segoe UI", 16F); + labelNom.Location = new Point(93, 5); + labelNom.Name = "labelNom"; + labelNom.Size = new Size(72, 30); + labelNom.TabIndex = 0; + labelNom.Text = "Nom :"; + // + // textBoxNom + // + textBoxNom.Anchor = AnchorStyles.Left; + textBoxNom.Location = new Point(171, 8); + textBoxNom.Name = "textBoxNom"; + textBoxNom.Size = new Size(250, 23); + textBoxNom.TabIndex = 1; + // + // labelPrenom + // + labelPrenom.Anchor = AnchorStyles.Right; + labelPrenom.AutoSize = true; + labelPrenom.Font = new Font("Segoe UI", 16F); + labelPrenom.Location = new Point(65, 45); + labelPrenom.Name = "labelPrenom"; + labelPrenom.Size = new Size(100, 30); + labelPrenom.TabIndex = 2; + labelPrenom.Text = "Prénom :"; + // + // textBoxPrenom + // + textBoxPrenom.Anchor = AnchorStyles.Left; + textBoxPrenom.Location = new Point(171, 48); + textBoxPrenom.Name = "textBoxPrenom"; + textBoxPrenom.Size = new Size(250, 23); + textBoxPrenom.TabIndex = 3; + // + // labelTel + // + labelTel.Anchor = AnchorStyles.Right; + labelTel.AutoSize = true; + labelTel.Font = new Font("Segoe UI", 16F); + labelTel.Location = new Point(114, 85); + labelTel.Name = "labelTel"; + labelTel.Size = new Size(51, 30); + labelTel.TabIndex = 4; + labelTel.Text = "Tél :"; + // + // textBoxTel + // + textBoxTel.Anchor = AnchorStyles.Left; + textBoxTel.Location = new Point(171, 88); + textBoxTel.Name = "textBoxTel"; + textBoxTel.Size = new Size(250, 23); + textBoxTel.TabIndex = 5; + // + // labelMail + // + labelMail.Anchor = AnchorStyles.Right; + labelMail.AutoSize = true; + labelMail.Font = new Font("Segoe UI", 16F); + labelMail.Location = new Point(100, 125); + labelMail.Name = "labelMail"; + labelMail.Size = new Size(65, 30); + labelMail.TabIndex = 6; + labelMail.Text = "Mail :"; + // + // textBoxMail + // + textBoxMail.Anchor = AnchorStyles.Left; + textBoxMail.Location = new Point(171, 128); + textBoxMail.Name = "textBoxMail"; + textBoxMail.Size = new Size(250, 23); + textBoxMail.TabIndex = 7; + // + // labelService + // + labelService.Anchor = AnchorStyles.Right; + labelService.AutoSize = true; + labelService.Font = new Font("Segoe UI", 16F); + labelService.Location = new Point(71, 165); + labelService.Name = "labelService"; + labelService.Size = new Size(94, 30); + labelService.TabIndex = 8; + labelService.Text = "Service :"; + // + // comboBoxService + // + comboBoxService.Anchor = AnchorStyles.Left; + comboBoxService.DropDownStyle = ComboBoxStyle.DropDownList; + comboBoxService.Location = new Point(171, 168); + comboBoxService.Name = "comboBoxService"; + comboBoxService.Size = new Size(250, 23); + comboBoxService.TabIndex = 9; + // + // flowLayoutPanelButtons + // + flowLayoutPanelButtons.Anchor = AnchorStyles.Left; + flowLayoutPanelButtons.AutoSize = true; + flowLayoutPanelButtons.Controls.Add(buttonConfirmer); + flowLayoutPanelButtons.Controls.Add(buttonAnnuler); + flowLayoutPanelButtons.Location = new Point(171, 210); + flowLayoutPanelButtons.Name = "flowLayoutPanelButtons"; + flowLayoutPanelButtons.Size = new Size(232, 29); + flowLayoutPanelButtons.TabIndex = 10; + // + // buttonConfirmer + // + buttonConfirmer.Location = new Point(3, 3); + buttonConfirmer.Name = "buttonConfirmer"; + buttonConfirmer.Size = new Size(120, 23); + buttonConfirmer.TabIndex = 0; + buttonConfirmer.Text = "CONFIRMER"; + // + // buttonAnnuler + // + buttonAnnuler.Location = new Point(129, 3); + buttonAnnuler.Name = "buttonAnnuler"; + buttonAnnuler.Size = new Size(100, 23); + buttonAnnuler.TabIndex = 1; + buttonAnnuler.Text = "Annuler"; + // + // ModifierPersonne + // + ClientSize = new Size(800, 600); + Controls.Add(pictureBoxTop); + Controls.Add(pictureBoxBottom); + Controls.Add(labelTitle); + Controls.Add(tableLayoutPanel); + FormBorderStyle = FormBorderStyle.FixedSingle; + MaximizeBox = false; + Name = "ModifierPersonne"; + ((System.ComponentModel.ISupportInitialize)pictureBoxTop).EndInit(); + ((System.ComponentModel.ISupportInitialize)pictureBoxBottom).EndInit(); + tableLayoutPanel.ResumeLayout(false); + tableLayoutPanel.PerformLayout(); + flowLayoutPanelButtons.ResumeLayout(false); + ResumeLayout(false); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/ModifierPersonne.cs b/projet/View/ModifierPersonne.cs new file mode 100644 index 0000000..250d3a3 --- /dev/null +++ b/projet/View/ModifierPersonne.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace projet.View +{ + public partial class ModifierPersonne : Form + { + public ModifierPersonne() + { + InitializeComponent(); + } + } +} diff --git a/projet/View/ModifierPersonne.resx b/projet/View/ModifierPersonne.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/projet/View/ModifierPersonne.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/View/PageConnexion.Designer.cs b/projet/View/PageConnexion.Designer.cs new file mode 100644 index 0000000..fc03af3 --- /dev/null +++ b/projet/View/PageConnexion.Designer.cs @@ -0,0 +1,159 @@ +namespace projet.View +{ + partial class PageConnexion + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + private System.Windows.Forms.PictureBox pictureBoxHeader; + private System.Windows.Forms.Label labelTitle; + private System.Windows.Forms.Label labelLogin; + private System.Windows.Forms.TextBox textBoxLogin; + private System.Windows.Forms.Label labelPassword; + private System.Windows.Forms.TextBox textBoxPassword; + private System.Windows.Forms.CheckBox checkBoxRemember; + private System.Windows.Forms.LinkLabel linkLabelForgot; + private System.Windows.Forms.Button buttonLogin; + + /// + /// 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() + { + pictureBoxHeader = new PictureBox(); + labelTitle = new Label(); + labelLogin = new Label(); + textBoxLogin = new TextBox(); + labelPassword = new Label(); + textBoxPassword = new TextBox(); + checkBoxRemember = new CheckBox(); + linkLabelForgot = new LinkLabel(); + buttonLogin = new Button(); + ((System.ComponentModel.ISupportInitialize)pictureBoxHeader).BeginInit(); + SuspendLayout(); + // + // pictureBoxHeader + // + pictureBoxHeader.BackColor = Color.SteelBlue; + pictureBoxHeader.Dock = DockStyle.Top; + pictureBoxHeader.Location = new Point(0, 0); + pictureBoxHeader.Name = "pictureBoxHeader"; + pictureBoxHeader.Size = new Size(886, 200); + pictureBoxHeader.SizeMode = PictureBoxSizeMode.CenterImage; + pictureBoxHeader.TabIndex = 0; + pictureBoxHeader.TabStop = false; + // + // labelTitle + // + labelTitle.Anchor = AnchorStyles.Top; + labelTitle.Font = new Font("Segoe UI", 24F); + labelTitle.Location = new Point(150, 203); + labelTitle.Name = "labelTitle"; + labelTitle.Size = new Size(600, 50); + labelTitle.TabIndex = 1; + labelTitle.Text = "Page de connection"; + labelTitle.TextAlign = ContentAlignment.MiddleCenter; + // + // labelLogin + // + labelLogin.AutoSize = true; + labelLogin.Font = new Font("Segoe UI", 14F); + labelLogin.Location = new Point(150, 300); + labelLogin.Name = "labelLogin"; + labelLogin.Size = new Size(68, 25); + labelLogin.TabIndex = 2; + labelLogin.Text = "Login :"; + // + // textBoxLogin + // + textBoxLogin.Location = new Point(300, 300); + textBoxLogin.Name = "textBoxLogin"; + textBoxLogin.Size = new Size(200, 23); + textBoxLogin.TabIndex = 3; + textBoxLogin.TextChanged += textBoxLogin_TextChanged; + // + // labelPassword + // + labelPassword.AutoSize = true; + labelPassword.Font = new Font("Segoe UI", 14F); + labelPassword.Location = new Point(150, 350); + labelPassword.Name = "labelPassword"; + labelPassword.Size = new Size(100, 25); + labelPassword.TabIndex = 4; + labelPassword.Text = "Password :"; + // + // textBoxPassword + // + textBoxPassword.Location = new Point(300, 350); + textBoxPassword.Name = "textBoxPassword"; + textBoxPassword.Size = new Size(200, 23); + textBoxPassword.TabIndex = 5; + textBoxPassword.UseSystemPasswordChar = true; + // + // checkBoxRemember + // + checkBoxRemember.Location = new Point(150, 400); + checkBoxRemember.Name = "checkBoxRemember"; + checkBoxRemember.Size = new Size(125, 24); + checkBoxRemember.TabIndex = 6; + checkBoxRemember.Text = "Rester connecté"; + // + // linkLabelForgot + // + linkLabelForgot.LinkColor = Color.Blue; + linkLabelForgot.Location = new Point(150, 430); + linkLabelForgot.Name = "linkLabelForgot"; + linkLabelForgot.Size = new Size(125, 23); + linkLabelForgot.TabIndex = 7; + linkLabelForgot.TabStop = true; + linkLabelForgot.Text = "Mot de passe oublié"; + // + // buttonLogin + // + buttonLogin.Location = new Point(150, 470); + buttonLogin.Name = "buttonLogin"; + buttonLogin.Size = new Size(100, 23); + buttonLogin.TabIndex = 8; + buttonLogin.Text = "Se connecter"; + // + // Form1 + // + ClientSize = new Size(886, 600); + Controls.Add(pictureBoxHeader); + Controls.Add(labelTitle); + Controls.Add(labelLogin); + Controls.Add(textBoxLogin); + Controls.Add(labelPassword); + Controls.Add(textBoxPassword); + Controls.Add(checkBoxRemember); + Controls.Add(linkLabelForgot); + Controls.Add(buttonLogin); + FormBorderStyle = FormBorderStyle.FixedSingle; + MaximizeBox = false; + Name = "Form1"; + ((System.ComponentModel.ISupportInitialize)pictureBoxHeader).EndInit(); + ResumeLayout(false); + PerformLayout(); + } + + #endregion + } +} \ No newline at end of file diff --git a/projet/View/PageConnexion.cs b/projet/View/PageConnexion.cs new file mode 100644 index 0000000..5192b86 --- /dev/null +++ b/projet/View/PageConnexion.cs @@ -0,0 +1,25 @@ +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 projet.View +{ + public partial class PageConnexion : Form + { + public PageConnexion() + { + InitializeComponent(); + } + + private void textBoxLogin_TextChanged(object sender, EventArgs e) + { + + } + } +} diff --git a/projet/View/PageConnexion.resx b/projet/View/PageConnexion.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/projet/View/PageConnexion.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/projet/projet.csproj b/projet/projet.csproj index 663fdb8..74cfa03 100644 --- a/projet/projet.csproj +++ b/projet/projet.csproj @@ -8,4 +8,9 @@ enable + + + + + \ No newline at end of file