171 lines
No EOL
6.7 KiB
C#
171 lines
No EOL
6.7 KiB
C#
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()
|
|
{
|
|
pictureBoxTop = new PictureBox();
|
|
pictureBoxBottom = new PictureBox();
|
|
labelTitle = new Label();
|
|
labelList = new Label();
|
|
labelSeparator = new Label();
|
|
comboBoxPersonnel = new ComboBox();
|
|
buttonAdd = new Button();
|
|
buttonDelete = new Button();
|
|
buttonEdit = new Button();
|
|
buttonAbsence = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxTop).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxBottom).BeginInit();
|
|
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.TabIndex = 0;
|
|
pictureBoxTop.TabStop = false;
|
|
//
|
|
// pictureBoxBottom
|
|
//
|
|
pictureBoxBottom.BackColor = Color.SteelBlue;
|
|
pictureBoxBottom.Dock = DockStyle.Bottom;
|
|
pictureBoxBottom.Location = new Point(0, 540);
|
|
pictureBoxBottom.Name = "pictureBoxBottom";
|
|
pictureBoxBottom.Size = new Size(800, 60);
|
|
pictureBoxBottom.TabIndex = 1;
|
|
pictureBoxBottom.TabStop = false;
|
|
//
|
|
// labelTitle
|
|
//
|
|
labelTitle.Font = new Font("Segoe UI", 28F);
|
|
labelTitle.Location = new Point(0, 200);
|
|
labelTitle.Name = "labelTitle";
|
|
labelTitle.Size = new Size(800, 60);
|
|
labelTitle.TabIndex = 2;
|
|
labelTitle.Text = "Gérer le personnel";
|
|
labelTitle.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// labelList
|
|
//
|
|
labelList.Font = new Font("Segoe UI", 18F);
|
|
labelList.Location = new Point(0, 260);
|
|
labelList.Name = "labelList";
|
|
labelList.Size = new Size(800, 40);
|
|
labelList.TabIndex = 3;
|
|
labelList.Text = "Liste du personnel";
|
|
labelList.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// labelSeparator
|
|
//
|
|
labelSeparator.BorderStyle = BorderStyle.Fixed3D;
|
|
labelSeparator.Location = new Point(300, 300);
|
|
labelSeparator.Name = "labelSeparator";
|
|
labelSeparator.Size = new Size(200, 2);
|
|
labelSeparator.TabIndex = 4;
|
|
//
|
|
// comboBoxPersonnel
|
|
//
|
|
comboBoxPersonnel.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxPersonnel.Font = new Font("Segoe UI", 10F);
|
|
comboBoxPersonnel.Location = new Point(300, 320);
|
|
comboBoxPersonnel.Name = "comboBoxPersonnel";
|
|
comboBoxPersonnel.Size = new Size(200, 25);
|
|
comboBoxPersonnel.TabIndex = 5;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(220, 370);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(150, 30);
|
|
buttonAdd.TabIndex = 6;
|
|
buttonAdd.Text = "Ajouter une personne";
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(220, 410);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(150, 30);
|
|
buttonDelete.TabIndex = 8;
|
|
buttonDelete.Text = "Supprimer la personne";
|
|
buttonDelete.Click += buttonDelete_Click;
|
|
//
|
|
// buttonEdit
|
|
//
|
|
buttonEdit.Location = new Point(430, 410);
|
|
buttonEdit.Name = "buttonEdit";
|
|
buttonEdit.Size = new Size(150, 30);
|
|
buttonEdit.TabIndex = 9;
|
|
buttonEdit.Text = "Modifier personne";
|
|
buttonEdit.Click += buttonEdit_Click;
|
|
//
|
|
// buttonAbsence
|
|
//
|
|
buttonAbsence.Location = new Point(430, 370);
|
|
buttonAbsence.Name = "buttonAbsence";
|
|
buttonAbsence.Size = new Size(150, 30);
|
|
buttonAbsence.TabIndex = 7;
|
|
buttonAbsence.Text = "Gérer ses absences";
|
|
buttonAbsence.Click += buttonAbsence_Click;
|
|
//
|
|
// Admin
|
|
//
|
|
ClientSize = new Size(800, 600);
|
|
Controls.Add(pictureBoxTop);
|
|
Controls.Add(pictureBoxBottom);
|
|
Controls.Add(labelTitle);
|
|
Controls.Add(labelList);
|
|
Controls.Add(labelSeparator);
|
|
Controls.Add(comboBoxPersonnel);
|
|
Controls.Add(buttonAdd);
|
|
Controls.Add(buttonAbsence);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonEdit);
|
|
FormBorderStyle = FormBorderStyle.FixedSingle;
|
|
MaximizeBox = false;
|
|
Name = "Admin";
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxTop).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxBottom).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
} |