Création des vues

This commit is contained in:
Erwann PHILIPPE 2025-05-27 11:07:13 +02:00
parent 182b0cf89e
commit 3e1954a97c
31 changed files with 3267 additions and 0 deletions

237
projet/View/AddPersonnel.Designer.cs generated Normal file
View file

@ -0,0 +1,237 @@
namespace projet.View
{
partial class AddPersonnel
{
/// <summary>
/// Required designer variable.
/// </summary>
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;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
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
}
}

View file

@ -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();
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

169
projet/View/Admin.Designer.cs generated Normal file
View file

@ -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;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.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
}
}

20
projet/View/Admin.cs Normal file
View file

@ -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();
}
}
}

120
projet/View/Admin.resx Normal file
View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -0,0 +1,119 @@
namespace projet.View
{
partial class ConfirmeModifierAbsence
{
/// <summary>
/// Required designer variable.
/// </summary>
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;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.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
}
}

View file

@ -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();
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -0,0 +1,119 @@
namespace projet.View
{
partial class ConfirmeModifierPersonnel
{
/// <summary>
/// Required designer variable.
/// </summary>
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;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.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
}
}

View file

@ -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();
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -0,0 +1,119 @@
namespace projet.View
{
partial class ConfirmeSupprimerAbsence
{
/// <summary>
/// Required designer variable.
/// </summary>
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;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.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
}
}

View file

@ -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();
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -0,0 +1,119 @@
namespace projet.View
{
partial class ConfirmeSupressionPersonnel
{
/// <summary>
/// Required designer variable.
/// </summary>
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;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.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
}
}

View file

@ -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();
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

311
projet/View/GestionAbsence.Designer.cs generated Normal file
View file

@ -0,0 +1,311 @@
namespace projet.View
{
partial class GestionAbsence
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
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;
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
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;
}
}

View file

@ -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)
{
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

221
projet/View/ModifierAbsence.Designer.cs generated Normal file
View file

@ -0,0 +1,221 @@
namespace projet.View
{
partial class ModifierAbsence
{
/// <summary>
/// Required designer variable.
/// </summary>
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;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
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
}
}

View file

@ -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.

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

277
projet/View/ModifierPersonne.Designer.cs generated Normal file
View file

@ -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;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
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
}
}

View file

@ -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();
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

159
projet/View/PageConnexion.Designer.cs generated Normal file
View file

@ -0,0 +1,159 @@
namespace projet.View
{
partial class PageConnexion
{
/// <summary>
/// Required designer variable.
/// </summary>
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;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
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
}
}

View file

@ -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)
{
}
}
}

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -8,4 +8,9 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Folder Include="Model\" />
<Folder Include="Controller\" />
</ItemGroup>
</Project> </Project>