177 lines
8.1 KiB
C#
177 lines
8.1 KiB
C#
|
|
using System;
|
|||
|
|
using System.Windows.Forms;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Drawing;
|
|||
|
|
|
|||
|
|
namespace projet.View
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Interface pour la gestion du personnel par l'administrateur.
|
|||
|
|
/// </summary>
|
|||
|
|
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>
|
|||
|
|
/// 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, 540);
|
|||
|
|
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);
|
|||
|
|
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);
|
|||
|
|
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";
|
|||
|
|
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
|||
|
|
//
|
|||
|
|
// 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";
|
|||
|
|
this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
|
|||
|
|
//
|
|||
|
|
// 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";
|
|||
|
|
this.buttonEdit.Click += new System.EventHandler(this.buttonEdit_Click);
|
|||
|
|
//
|
|||
|
|
// 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";
|
|||
|
|
this.buttonAbsence.Click += new System.EventHandler(this.buttonAbsence_Click);
|
|||
|
|
//
|
|||
|
|
// 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
|
|||
|
|
}
|
|||
|
|
}
|