350 lines
16 KiB
C#
350 lines
16 KiB
C#
|
|
using System;
|
|||
|
|
using System.Windows.Forms;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Drawing;
|
|||
|
|
|
|||
|
|
namespace projet.View
|
|||
|
|
{
|
|||
|
|
partial class AddPersonnel
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Variable nécessaire au concepteur.
|
|||
|
|
/// </summary>
|
|||
|
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Bannière supérieure du formulaire
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.PictureBox pictureBoxTop;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Bannière inférieure du formulaire
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.PictureBox pictureBoxBottom;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Titre du formulaire
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.Label labelTitle;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Conteneur principal organisant les champs de saisie
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Étiquette pour le champ Nom
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.Label labelNom;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Zone de saisie du nom
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.TextBox textBoxNom;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Étiquette pour le champ Prénom
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.Label labelPrenom;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Zone de saisie du prénom
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.TextBox textBoxPrenom;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Étiquette pour le champ Téléphone
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.Label labelTel;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Zone de saisie du numéro de téléphone
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.TextBox textBoxTel;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Étiquette pour le champ Email
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.Label labelMail;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Zone de saisie de l'adresse email
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.TextBox textBoxMail;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Étiquette pour le champ Service
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.Label labelService;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Liste déroulante pour la sélection du service
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.ComboBox comboBoxService;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Conteneur pour les boutons d'action
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanelButtons;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Bouton de validation pour ajouter le personnel
|
|||
|
|
/// </summary>
|
|||
|
|
private System.Windows.Forms.Button buttonAjouter;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Bouton pour annuler l'opération
|
|||
|
|
/// </summary>
|
|||
|
|
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.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.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, 500);
|
|||
|
|
this.pictureBoxBottom.Name = "pictureBoxBottom";
|
|||
|
|
this.pictureBoxBottom.Size = new System.Drawing.Size(800, 100);
|
|||
|
|
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", 28F);
|
|||
|
|
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.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.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.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.Location = new System.Drawing.Point(93, 5);
|
|||
|
|
this.labelNom.Name = "labelNom";
|
|||
|
|
this.labelNom.Size = new System.Drawing.Size(72, 30);
|
|||
|
|
this.labelNom.TabIndex = 0;
|
|||
|
|
this.labelNom.Text = "Nom :";
|
|||
|
|
//
|
|||
|
|
// textBoxNom
|
|||
|
|
//
|
|||
|
|
this.textBoxNom.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|||
|
|
this.textBoxNom.Location = new System.Drawing.Point(171, 10);
|
|||
|
|
this.textBoxNom.Name = "textBoxNom";
|
|||
|
|
this.textBoxNom.Size = new System.Drawing.Size(250, 20);
|
|||
|
|
this.textBoxNom.TabIndex = 1;
|
|||
|
|
//
|
|||
|
|
// 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.Location = new System.Drawing.Point(65, 45);
|
|||
|
|
this.labelPrenom.Name = "labelPrenom";
|
|||
|
|
this.labelPrenom.Size = new System.Drawing.Size(100, 30);
|
|||
|
|
this.labelPrenom.TabIndex = 2;
|
|||
|
|
this.labelPrenom.Text = "Prénom :";
|
|||
|
|
//
|
|||
|
|
// textBoxPrenom
|
|||
|
|
//
|
|||
|
|
this.textBoxPrenom.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|||
|
|
this.textBoxPrenom.Location = new System.Drawing.Point(171, 50);
|
|||
|
|
this.textBoxPrenom.Name = "textBoxPrenom";
|
|||
|
|
this.textBoxPrenom.Size = new System.Drawing.Size(250, 20);
|
|||
|
|
this.textBoxPrenom.TabIndex = 3;
|
|||
|
|
//
|
|||
|
|
// 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.Location = new System.Drawing.Point(114, 85);
|
|||
|
|
this.labelTel.Name = "labelTel";
|
|||
|
|
this.labelTel.Size = new System.Drawing.Size(51, 30);
|
|||
|
|
this.labelTel.TabIndex = 4;
|
|||
|
|
this.labelTel.Text = "Tél :";
|
|||
|
|
//
|
|||
|
|
// textBoxTel
|
|||
|
|
//
|
|||
|
|
this.textBoxTel.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|||
|
|
this.textBoxTel.Location = new System.Drawing.Point(171, 90);
|
|||
|
|
this.textBoxTel.Name = "textBoxTel";
|
|||
|
|
this.textBoxTel.Size = new System.Drawing.Size(250, 20);
|
|||
|
|
this.textBoxTel.TabIndex = 5;
|
|||
|
|
//
|
|||
|
|
// 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.Location = new System.Drawing.Point(100, 125);
|
|||
|
|
this.labelMail.Name = "labelMail";
|
|||
|
|
this.labelMail.Size = new System.Drawing.Size(65, 30);
|
|||
|
|
this.labelMail.TabIndex = 6;
|
|||
|
|
this.labelMail.Text = "Mail :";
|
|||
|
|
//
|
|||
|
|
// textBoxMail
|
|||
|
|
//
|
|||
|
|
this.textBoxMail.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|||
|
|
this.textBoxMail.Location = new System.Drawing.Point(171, 130);
|
|||
|
|
this.textBoxMail.Name = "textBoxMail";
|
|||
|
|
this.textBoxMail.Size = new System.Drawing.Size(250, 20);
|
|||
|
|
this.textBoxMail.TabIndex = 7;
|
|||
|
|
//
|
|||
|
|
// 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.Location = new System.Drawing.Point(71, 165);
|
|||
|
|
this.labelService.Name = "labelService";
|
|||
|
|
this.labelService.Size = new System.Drawing.Size(94, 30);
|
|||
|
|
this.labelService.TabIndex = 8;
|
|||
|
|
this.labelService.Text = "Service :";
|
|||
|
|
//
|
|||
|
|
// comboBoxService
|
|||
|
|
//
|
|||
|
|
this.comboBoxService.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|||
|
|
this.comboBoxService.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
|
this.comboBoxService.Location = new System.Drawing.Point(171, 169);
|
|||
|
|
this.comboBoxService.Name = "comboBoxService";
|
|||
|
|
this.comboBoxService.Size = new System.Drawing.Size(250, 21);
|
|||
|
|
this.comboBoxService.TabIndex = 9;
|
|||
|
|
//
|
|||
|
|
// 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);
|
|||
|
|
this.flowLayoutPanelButtons.Location = new System.Drawing.Point(171, 210);
|
|||
|
|
this.flowLayoutPanelButtons.Name = "flowLayoutPanelButtons";
|
|||
|
|
this.flowLayoutPanelButtons.Size = new System.Drawing.Size(212, 29);
|
|||
|
|
this.flowLayoutPanelButtons.TabIndex = 10;
|
|||
|
|
//
|
|||
|
|
// buttonAjouter
|
|||
|
|
//
|
|||
|
|
this.buttonAjouter.Location = new System.Drawing.Point(3, 3);
|
|||
|
|
this.buttonAjouter.Name = "buttonAjouter";
|
|||
|
|
this.buttonAjouter.Size = new System.Drawing.Size(100, 23);
|
|||
|
|
this.buttonAjouter.TabIndex = 0;
|
|||
|
|
this.buttonAjouter.Text = "Ajouter";
|
|||
|
|
this.buttonAjouter.Click += new System.EventHandler(this.buttonAjouter_Click_1);
|
|||
|
|
//
|
|||
|
|
// buttonAnnuler
|
|||
|
|
//
|
|||
|
|
this.buttonAnnuler.Location = new System.Drawing.Point(109, 3);
|
|||
|
|
this.buttonAnnuler.Name = "buttonAnnuler";
|
|||
|
|
this.buttonAnnuler.Size = new System.Drawing.Size(100, 23);
|
|||
|
|
this.buttonAnnuler.TabIndex = 1;
|
|||
|
|
this.buttonAnnuler.Text = "Annuler";
|
|||
|
|
this.buttonAnnuler.Click += new System.EventHandler(this.buttonAnnuler_Click_1);
|
|||
|
|
//
|
|||
|
|
// 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
|
|||
|
|
}
|
|||
|
|
}
|