2021-01-17 20:57:00 -05:00
|
|
|
|
|
|
|
|
|
namespace GreatHomeChildcare
|
|
|
|
|
{
|
|
|
|
|
partial class frmAdminForm
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2021-01-23 23:21:15 -05:00
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAdminForm));
|
2021-01-18 23:43:59 -05:00
|
|
|
|
this.btnReports = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
|
|
|
this.dgvChildren = new System.Windows.Forms.DataGridView();
|
2021-01-20 19:11:26 -05:00
|
|
|
|
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.Photo = new System.Windows.Forms.DataGridViewImageColumn();
|
|
|
|
|
this.DisplayName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
2021-01-23 23:21:15 -05:00
|
|
|
|
this.btnUpdate = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnQuit = new System.Windows.Forms.Button();
|
2021-01-18 23:43:59 -05:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvChildren)).BeginInit();
|
2021-01-17 20:57:00 -05:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
2021-01-18 23:43:59 -05:00
|
|
|
|
// btnReports
|
|
|
|
|
//
|
|
|
|
|
this.btnReports.Location = new System.Drawing.Point(12, 89);
|
|
|
|
|
this.btnReports.Name = "btnReports";
|
|
|
|
|
this.btnReports.Size = new System.Drawing.Size(112, 32);
|
|
|
|
|
this.btnReports.TabIndex = 1;
|
|
|
|
|
this.btnReports.Text = "Reports";
|
|
|
|
|
this.btnReports.UseVisualStyleBackColor = true;
|
2021-01-20 22:46:10 -05:00
|
|
|
|
this.btnReports.Click += new System.EventHandler(this.btnReports_Click);
|
2021-01-18 23:43:59 -05:00
|
|
|
|
//
|
|
|
|
|
// btnClose
|
|
|
|
|
//
|
|
|
|
|
this.btnClose.Location = new System.Drawing.Point(12, 28);
|
|
|
|
|
this.btnClose.Name = "btnClose";
|
|
|
|
|
this.btnClose.Size = new System.Drawing.Size(151, 40);
|
|
|
|
|
this.btnClose.TabIndex = 2;
|
|
|
|
|
this.btnClose.Text = "Back to sign in page";
|
|
|
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
2021-01-20 22:46:10 -05:00
|
|
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
2021-01-18 23:43:59 -05:00
|
|
|
|
//
|
|
|
|
|
// btnAdd
|
|
|
|
|
//
|
|
|
|
|
this.btnAdd.Location = new System.Drawing.Point(12, 146);
|
|
|
|
|
this.btnAdd.Name = "btnAdd";
|
|
|
|
|
this.btnAdd.Size = new System.Drawing.Size(140, 50);
|
|
|
|
|
this.btnAdd.TabIndex = 3;
|
|
|
|
|
this.btnAdd.Text = "Add New Child";
|
|
|
|
|
this.btnAdd.UseVisualStyleBackColor = true;
|
2021-01-20 22:46:10 -05:00
|
|
|
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
2021-01-18 23:43:59 -05:00
|
|
|
|
//
|
|
|
|
|
// dgvChildren
|
|
|
|
|
//
|
|
|
|
|
this.dgvChildren.AllowUserToAddRows = false;
|
|
|
|
|
this.dgvChildren.AllowUserToDeleteRows = false;
|
|
|
|
|
this.dgvChildren.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
2021-01-20 19:11:26 -05:00
|
|
|
|
this.dgvChildren.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.id,
|
|
|
|
|
this.Photo,
|
|
|
|
|
this.DisplayName});
|
2021-01-18 23:43:59 -05:00
|
|
|
|
this.dgvChildren.Location = new System.Drawing.Point(217, 36);
|
|
|
|
|
this.dgvChildren.MultiSelect = false;
|
|
|
|
|
this.dgvChildren.Name = "dgvChildren";
|
|
|
|
|
this.dgvChildren.ReadOnly = true;
|
|
|
|
|
this.dgvChildren.RowHeadersWidth = 51;
|
2021-01-20 22:46:10 -05:00
|
|
|
|
this.dgvChildren.RowTemplate.Height = 82;
|
2021-01-18 23:43:59 -05:00
|
|
|
|
this.dgvChildren.Size = new System.Drawing.Size(571, 392);
|
|
|
|
|
this.dgvChildren.TabIndex = 4;
|
|
|
|
|
//
|
2021-01-20 19:11:26 -05:00
|
|
|
|
// id
|
|
|
|
|
//
|
|
|
|
|
this.id.HeaderText = "id";
|
|
|
|
|
this.id.MinimumWidth = 6;
|
|
|
|
|
this.id.Name = "id";
|
|
|
|
|
this.id.ReadOnly = true;
|
|
|
|
|
this.id.Visible = false;
|
|
|
|
|
this.id.Width = 125;
|
|
|
|
|
//
|
|
|
|
|
// Photo
|
|
|
|
|
//
|
|
|
|
|
this.Photo.HeaderText = "Photo";
|
2021-01-20 22:46:10 -05:00
|
|
|
|
this.Photo.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
|
2021-01-20 19:11:26 -05:00
|
|
|
|
this.Photo.MinimumWidth = 6;
|
|
|
|
|
this.Photo.Name = "Photo";
|
|
|
|
|
this.Photo.ReadOnly = true;
|
|
|
|
|
this.Photo.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.Photo.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
2021-01-20 22:46:10 -05:00
|
|
|
|
this.Photo.Width = 118;
|
2021-01-20 19:11:26 -05:00
|
|
|
|
//
|
|
|
|
|
// DisplayName
|
|
|
|
|
//
|
|
|
|
|
this.DisplayName.HeaderText = "DisplayName";
|
|
|
|
|
this.DisplayName.MinimumWidth = 6;
|
|
|
|
|
this.DisplayName.Name = "DisplayName";
|
|
|
|
|
this.DisplayName.ReadOnly = true;
|
|
|
|
|
this.DisplayName.Width = 125;
|
|
|
|
|
//
|
2021-01-23 23:21:15 -05:00
|
|
|
|
// btnUpdate
|
|
|
|
|
//
|
|
|
|
|
this.btnUpdate.Location = new System.Drawing.Point(12, 213);
|
|
|
|
|
this.btnUpdate.Name = "btnUpdate";
|
|
|
|
|
this.btnUpdate.Size = new System.Drawing.Size(130, 47);
|
|
|
|
|
this.btnUpdate.TabIndex = 5;
|
|
|
|
|
this.btnUpdate.Text = "Update Child";
|
|
|
|
|
this.btnUpdate.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnQuit
|
|
|
|
|
//
|
|
|
|
|
this.btnQuit.Location = new System.Drawing.Point(12, 279);
|
|
|
|
|
this.btnQuit.Name = "btnQuit";
|
|
|
|
|
this.btnQuit.Size = new System.Drawing.Size(122, 47);
|
|
|
|
|
this.btnQuit.TabIndex = 6;
|
|
|
|
|
this.btnQuit.Text = "Quit Program";
|
|
|
|
|
this.btnQuit.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnQuit.Click += new System.EventHandler(this.btnQuit_Click);
|
|
|
|
|
//
|
2021-01-17 20:57:00 -05:00
|
|
|
|
// frmAdminForm
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
2021-01-20 22:46:10 -05:00
|
|
|
|
this.Controls.Add(this.btnQuit);
|
|
|
|
|
this.Controls.Add(this.btnUpdate);
|
2021-01-18 23:43:59 -05:00
|
|
|
|
this.Controls.Add(this.dgvChildren);
|
|
|
|
|
this.Controls.Add(this.btnAdd);
|
|
|
|
|
this.Controls.Add(this.btnClose);
|
|
|
|
|
this.Controls.Add(this.btnReports);
|
2021-01-23 23:21:15 -05:00
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
2021-01-17 20:57:00 -05:00
|
|
|
|
this.Name = "frmAdminForm";
|
2021-01-18 23:43:59 -05:00
|
|
|
|
this.Text = "Administration : Great Home Childcare";
|
2021-01-17 20:57:00 -05:00
|
|
|
|
this.Load += new System.EventHandler(this.frmAdminForm_Load);
|
2021-01-18 23:43:59 -05:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvChildren)).EndInit();
|
2021-01-17 20:57:00 -05:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2021-01-18 23:43:59 -05:00
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Button btnReports;
|
|
|
|
|
private System.Windows.Forms.Button btnClose;
|
|
|
|
|
private System.Windows.Forms.Button btnAdd;
|
|
|
|
|
private System.Windows.Forms.DataGridView dgvChildren;
|
2021-01-20 22:46:10 -05:00
|
|
|
|
private System.Windows.Forms.Button btnUpdate;
|
|
|
|
|
private System.Windows.Forms.Button btnQuit;
|
2021-01-20 19:11:26 -05:00
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
|
|
|
|
private System.Windows.Forms.DataGridViewImageColumn Photo;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn DisplayName;
|
2021-01-17 20:57:00 -05:00
|
|
|
|
}
|
|
|
|
|
}
|