Images and design

This commit is contained in:
kougyokugentou 2021-01-25 21:19:46 -08:00
parent 3a6f7cfee6
commit d1055ddf7d
4 changed files with 128 additions and 63 deletions

View File

@ -39,6 +39,7 @@
System.Windows.Forms.Label dOBLabel; System.Windows.Forms.Label dOBLabel;
this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.firstNameTextBox = new System.Windows.Forms.TextBox(); this.firstNameTextBox = new System.Windows.Forms.TextBox();
this.childBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.lastNameTextBox = new System.Windows.Forms.TextBox(); this.lastNameTextBox = new System.Windows.Forms.TextBox();
this.raceTextBox = new System.Windows.Forms.TextBox(); this.raceTextBox = new System.Windows.Forms.TextBox();
this.genderComboBox = new System.Windows.Forms.ComboBox(); this.genderComboBox = new System.Windows.Forms.ComboBox();
@ -50,7 +51,7 @@
this.FirstName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.FirstName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PhoneNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.PhoneNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.EmailAddress = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.EmailAddress = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnAddGuardian = new System.Windows.Forms.Button(); this.btnAddExistingGuardian = new System.Windows.Forms.Button();
this.btnEditGuardian = new System.Windows.Forms.Button(); this.btnEditGuardian = new System.Windows.Forms.Button();
this.btnDeleteGuardian = new System.Windows.Forms.Button(); this.btnDeleteGuardian = new System.Windows.Forms.Button();
this.btnPhotoFromCam = new System.Windows.Forms.Button(); this.btnPhotoFromCam = new System.Windows.Forms.Button();
@ -65,7 +66,6 @@
this.lblExistingGuardians = new System.Windows.Forms.Label(); this.lblExistingGuardians = new System.Windows.Forms.Label();
this.cbExistingGuardians = new System.Windows.Forms.ComboBox(); this.cbExistingGuardians = new System.Windows.Forms.ComboBox();
this.btnNewGuardian = new System.Windows.Forms.Button(); this.btnNewGuardian = new System.Windows.Forms.Button();
this.childBindingSource = new System.Windows.Forms.BindingSource(this.components);
firstNameLabel = new System.Windows.Forms.Label(); firstNameLabel = new System.Windows.Forms.Label();
lastNameLabel = new System.Windows.Forms.Label(); lastNameLabel = new System.Windows.Forms.Label();
raceLabel = new System.Windows.Forms.Label(); raceLabel = new System.Windows.Forms.Label();
@ -73,11 +73,11 @@
photoLabel = new System.Windows.Forms.Label(); photoLabel = new System.Windows.Forms.Label();
addressLabel = new System.Windows.Forms.Label(); addressLabel = new System.Windows.Forms.Label();
dOBLabel = new System.Windows.Forms.Label(); dOBLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.childBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvGuardians)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvGuardians)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.photoPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.photoPictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.childBindingSource)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// firstNameLabel // firstNameLabel
@ -168,6 +168,10 @@
this.firstNameTextBox.Size = new System.Drawing.Size(100, 22); this.firstNameTextBox.Size = new System.Drawing.Size(100, 22);
this.firstNameTextBox.TabIndex = 2; this.firstNameTextBox.TabIndex = 2;
// //
// childBindingSource
//
this.childBindingSource.DataSource = typeof(GreatHomeChildcare.Models.Child);
//
// lastNameTextBox // lastNameTextBox
// //
this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.childBindingSource, "LastName", true)); this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.childBindingSource, "LastName", true));
@ -271,25 +275,25 @@
this.EmailAddress.ReadOnly = true; this.EmailAddress.ReadOnly = true;
this.EmailAddress.Width = 125; this.EmailAddress.Width = 125;
// //
// btnAddGuardian // btnAddExistingGuardian
// //
this.btnAddGuardian.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnAddExistingGuardian.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnAddGuardian.ImageKey = "AddButton_16x.png"; this.btnAddExistingGuardian.ImageKey = "AddButton_16x.png";
this.btnAddGuardian.ImageList = this.imageList1; this.btnAddExistingGuardian.ImageList = this.imageList1;
this.btnAddGuardian.Location = new System.Drawing.Point(206, 441); this.btnAddExistingGuardian.Location = new System.Drawing.Point(206, 441);
this.btnAddGuardian.Name = "btnAddGuardian"; this.btnAddExistingGuardian.Name = "btnAddExistingGuardian";
this.btnAddGuardian.Size = new System.Drawing.Size(195, 66); this.btnAddExistingGuardian.Size = new System.Drawing.Size(241, 75);
this.btnAddGuardian.TabIndex = 13; this.btnAddExistingGuardian.TabIndex = 13;
this.btnAddGuardian.Text = "Add Chosen Existing Guardian to Child"; this.btnAddExistingGuardian.Text = "Add Chosen Existing\r\nGuardian (from Dropdown)\r\nto Child";
this.btnAddGuardian.UseVisualStyleBackColor = true; this.btnAddExistingGuardian.UseVisualStyleBackColor = true;
this.btnAddGuardian.Click += new System.EventHandler(this.btnAddGuardian_Click); this.btnAddExistingGuardian.Click += new System.EventHandler(this.btnAddExistingGuardian_Click);
// //
// btnEditGuardian // btnEditGuardian
// //
this.btnEditGuardian.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnEditGuardian.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnEditGuardian.ImageIndex = 5; this.btnEditGuardian.ImageIndex = 5;
this.btnEditGuardian.ImageList = this.imageList1; this.btnEditGuardian.ImageList = this.imageList1;
this.btnEditGuardian.Location = new System.Drawing.Point(689, 441); this.btnEditGuardian.Location = new System.Drawing.Point(756, 438);
this.btnEditGuardian.Name = "btnEditGuardian"; this.btnEditGuardian.Name = "btnEditGuardian";
this.btnEditGuardian.Size = new System.Drawing.Size(225, 34); this.btnEditGuardian.Size = new System.Drawing.Size(225, 34);
this.btnEditGuardian.TabIndex = 14; this.btnEditGuardian.TabIndex = 14;
@ -302,7 +306,7 @@
this.btnDeleteGuardian.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnDeleteGuardian.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnDeleteGuardian.ImageIndex = 4; this.btnDeleteGuardian.ImageIndex = 4;
this.btnDeleteGuardian.ImageList = this.imageList1; this.btnDeleteGuardian.ImageList = this.imageList1;
this.btnDeleteGuardian.Location = new System.Drawing.Point(689, 481); this.btnDeleteGuardian.Location = new System.Drawing.Point(756, 478);
this.btnDeleteGuardian.Name = "btnDeleteGuardian"; this.btnDeleteGuardian.Name = "btnDeleteGuardian";
this.btnDeleteGuardian.Size = new System.Drawing.Size(225, 38); this.btnDeleteGuardian.Size = new System.Drawing.Size(225, 38);
this.btnDeleteGuardian.TabIndex = 15; this.btnDeleteGuardian.TabIndex = 15;
@ -425,7 +429,7 @@
this.btnNewGuardian.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnNewGuardian.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnNewGuardian.ImageIndex = 8; this.btnNewGuardian.ImageIndex = 8;
this.btnNewGuardian.ImageList = this.imageList1; this.btnNewGuardian.ImageList = this.imageList1;
this.btnNewGuardian.Location = new System.Drawing.Point(428, 441); this.btnNewGuardian.Location = new System.Drawing.Point(540, 442);
this.btnNewGuardian.Name = "btnNewGuardian"; this.btnNewGuardian.Name = "btnNewGuardian";
this.btnNewGuardian.Size = new System.Drawing.Size(195, 66); this.btnNewGuardian.Size = new System.Drawing.Size(195, 66);
this.btnNewGuardian.TabIndex = 28; this.btnNewGuardian.TabIndex = 28;
@ -433,10 +437,6 @@
this.btnNewGuardian.UseVisualStyleBackColor = true; this.btnNewGuardian.UseVisualStyleBackColor = true;
this.btnNewGuardian.Click += new System.EventHandler(this.btnNewGuardian_Click); this.btnNewGuardian.Click += new System.EventHandler(this.btnNewGuardian_Click);
// //
// childBindingSource
//
this.childBindingSource.DataSource = typeof(GreatHomeChildcare.Models.Child);
//
// frmChildCrud // frmChildCrud
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@ -456,7 +456,7 @@
this.Controls.Add(this.btnPhotoFromCam); this.Controls.Add(this.btnPhotoFromCam);
this.Controls.Add(this.btnDeleteGuardian); this.Controls.Add(this.btnDeleteGuardian);
this.Controls.Add(this.btnEditGuardian); this.Controls.Add(this.btnEditGuardian);
this.Controls.Add(this.btnAddGuardian); this.Controls.Add(this.btnAddExistingGuardian);
this.Controls.Add(this.dgvGuardians); this.Controls.Add(this.dgvGuardians);
this.Controls.Add(this.lblGuardians); this.Controls.Add(this.lblGuardians);
this.Controls.Add(addressLabel); this.Controls.Add(addressLabel);
@ -473,11 +473,11 @@
this.Name = "frmChildCrud"; this.Name = "frmChildCrud";
this.Text = "Child Management : Great Home Childcare"; this.Text = "Child Management : Great Home Childcare";
this.Load += new System.EventHandler(this.frmChildCrud_Load); this.Load += new System.EventHandler(this.frmChildCrud_Load);
((System.ComponentModel.ISupportInitialize)(this.childBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvGuardians)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvGuardians)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.photoPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.photoPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.childBindingSource)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -493,7 +493,7 @@
private System.Windows.Forms.TextBox addressTextBox; private System.Windows.Forms.TextBox addressTextBox;
private System.Windows.Forms.Label lblGuardians; private System.Windows.Forms.Label lblGuardians;
private System.Windows.Forms.DataGridView dgvGuardians; private System.Windows.Forms.DataGridView dgvGuardians;
private System.Windows.Forms.Button btnAddGuardian; private System.Windows.Forms.Button btnAddExistingGuardian;
private System.Windows.Forms.Button btnEditGuardian; private System.Windows.Forms.Button btnEditGuardian;
private System.Windows.Forms.Button btnDeleteGuardian; private System.Windows.Forms.Button btnDeleteGuardian;
private System.Windows.Forms.Button btnPhotoFromCam; private System.Windows.Forms.Button btnPhotoFromCam;

View File

@ -143,7 +143,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABG ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABG
DwAAAk1TRnQBSQFMAgEBCQEAAegBAAHoAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo DwAAAk1TRnQBSQFMAgEBCQEAAfABAAHwAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAATADAAEBAQABCAYAAQwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AwABQAMAATADAAEBAQABCAYAAQwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

View File

@ -37,23 +37,28 @@ namespace GreatHomeChildcare
System.Windows.Forms.Label isAdminLabel; System.Windows.Forms.Label isAdminLabel;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmGuardianCrud)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmGuardianCrud));
this.idNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.idNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.guardianBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.lastNameTextBox = new System.Windows.Forms.TextBox(); this.lastNameTextBox = new System.Windows.Forms.TextBox();
this.firstNameTextBox = new System.Windows.Forms.TextBox(); this.firstNameTextBox = new System.Windows.Forms.TextBox();
this.phoneNumberNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.phoneNumberNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.emailAddressTextBox = new System.Windows.Forms.TextBox(); this.emailAddressTextBox = new System.Windows.Forms.TextBox();
this.isAdminComboBox = new System.Windows.Forms.ComboBox(); this.isAdminComboBox = new System.Windows.Forms.ComboBox();
this.button1 = new System.Windows.Forms.Button(); this.btnCancelClose = new System.Windows.Forms.Button();
this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.button2 = new System.Windows.Forms.Button(); this.btnSaveClose = new System.Windows.Forms.Button();
this.panelPinEntry = new System.Windows.Forms.Panel();
this.lblPinEntry = new System.Windows.Forms.Label();
this.tbPinNumber = new System.Windows.Forms.TextBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.guardianBindingSource = new System.Windows.Forms.BindingSource(this.components);
lastNameLabel = new System.Windows.Forms.Label(); lastNameLabel = new System.Windows.Forms.Label();
firstNameLabel = new System.Windows.Forms.Label(); firstNameLabel = new System.Windows.Forms.Label();
phoneNumberLabel = new System.Windows.Forms.Label(); phoneNumberLabel = new System.Windows.Forms.Label();
emailAddressLabel = new System.Windows.Forms.Label(); emailAddressLabel = new System.Windows.Forms.Label();
isAdminLabel = new System.Windows.Forms.Label(); isAdminLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.guardianBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.phoneNumberNumericUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.phoneNumberNumericUpDown)).BeginInit();
this.panelPinEntry.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.guardianBindingSource)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// lastNameLabel // lastNameLabel
@ -104,18 +109,14 @@ namespace GreatHomeChildcare
// idNumericUpDown // idNumericUpDown
// //
this.idNumericUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.guardianBindingSource, "id", true)); this.idNumericUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.guardianBindingSource, "id", true));
this.idNumericUpDown.Location = new System.Drawing.Point(229, 150); this.idNumericUpDown.Location = new System.Drawing.Point(8, 150);
this.idNumericUpDown.Name = "idNumericUpDown"; this.idNumericUpDown.Name = "idNumericUpDown";
this.idNumericUpDown.ReadOnly = true; this.idNumericUpDown.ReadOnly = true;
this.idNumericUpDown.Size = new System.Drawing.Size(84, 22); this.idNumericUpDown.Size = new System.Drawing.Size(65, 22);
this.idNumericUpDown.TabIndex = 2; this.idNumericUpDown.TabIndex = 2;
this.idNumericUpDown.TabStop = false; this.idNumericUpDown.TabStop = false;
this.idNumericUpDown.Visible = false; this.idNumericUpDown.Visible = false;
// //
// guardianBindingSource
//
this.guardianBindingSource.DataSource = typeof(GreatHomeChildcare.Models.Guardian);
//
// lastNameTextBox // lastNameTextBox
// //
this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.guardianBindingSource, "LastName", true)); this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.guardianBindingSource, "LastName", true));
@ -160,7 +161,7 @@ namespace GreatHomeChildcare
this.emailAddressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.guardianBindingSource, "EmailAddress", true)); this.emailAddressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.guardianBindingSource, "EmailAddress", true));
this.emailAddressTextBox.Location = new System.Drawing.Point(153, 89); this.emailAddressTextBox.Location = new System.Drawing.Point(153, 89);
this.emailAddressTextBox.Name = "emailAddressTextBox"; this.emailAddressTextBox.Name = "emailAddressTextBox";
this.emailAddressTextBox.Size = new System.Drawing.Size(100, 22); this.emailAddressTextBox.Size = new System.Drawing.Size(190, 22);
this.emailAddressTextBox.TabIndex = 8; this.emailAddressTextBox.TabIndex = 8;
// //
// isAdminComboBox // isAdminComboBox
@ -172,17 +173,18 @@ namespace GreatHomeChildcare
this.isAdminComboBox.Size = new System.Drawing.Size(121, 24); this.isAdminComboBox.Size = new System.Drawing.Size(121, 24);
this.isAdminComboBox.TabIndex = 13; this.isAdminComboBox.TabIndex = 13;
// //
// button1 // btnCancelClose
// //
this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCancelClose.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button1.ImageIndex = 0; this.btnCancelClose.ImageIndex = 0;
this.button1.ImageList = this.imageList1; this.btnCancelClose.ImageList = this.imageList1;
this.button1.Location = new System.Drawing.Point(21, 209); this.btnCancelClose.Location = new System.Drawing.Point(21, 209);
this.button1.Name = "button1"; this.btnCancelClose.Name = "btnCancelClose";
this.button1.Size = new System.Drawing.Size(140, 50); this.btnCancelClose.Size = new System.Drawing.Size(140, 50);
this.button1.TabIndex = 14; this.btnCancelClose.TabIndex = 14;
this.button1.Text = "Cancel && Close"; this.btnCancelClose.Text = "Cancel && Close";
this.button1.UseVisualStyleBackColor = true; this.btnCancelClose.UseVisualStyleBackColor = true;
this.btnCancelClose.Click += new System.EventHandler(this.btnCancelClose_Click);
// //
// imageList1 // imageList1
// //
@ -191,25 +193,81 @@ namespace GreatHomeChildcare
this.imageList1.Images.SetKeyName(0, "Cancel_16x.png"); this.imageList1.Images.SetKeyName(0, "Cancel_16x.png");
this.imageList1.Images.SetKeyName(1, "SaveClose_16x.png"); this.imageList1.Images.SetKeyName(1, "SaveClose_16x.png");
// //
// button2 // btnSaveClose
// //
this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnSaveClose.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button2.ImageIndex = 1; this.btnSaveClose.ImageIndex = 1;
this.button2.ImageList = this.imageList1; this.btnSaveClose.ImageList = this.imageList1;
this.button2.Location = new System.Drawing.Point(204, 208); this.btnSaveClose.Location = new System.Drawing.Point(204, 208);
this.button2.Name = "button2"; this.btnSaveClose.Name = "btnSaveClose";
this.button2.Size = new System.Drawing.Size(139, 50); this.btnSaveClose.Size = new System.Drawing.Size(139, 50);
this.button2.TabIndex = 15; this.btnSaveClose.TabIndex = 15;
this.button2.Text = "Save && Close"; this.btnSaveClose.Text = "Save && Close";
this.button2.UseVisualStyleBackColor = true; this.btnSaveClose.UseVisualStyleBackColor = true;
this.btnSaveClose.Click += new System.EventHandler(this.btnSaveClose_Click);
//
// panelPinEntry
//
this.panelPinEntry.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelPinEntry.Controls.Add(this.lblPinEntry);
this.panelPinEntry.Controls.Add(this.tbPinNumber);
this.panelPinEntry.Controls.Add(this.tableLayoutPanel1);
this.panelPinEntry.Location = new System.Drawing.Point(360, 12);
this.panelPinEntry.Name = "panelPinEntry";
this.panelPinEntry.Size = new System.Drawing.Size(252, 297);
this.panelPinEntry.TabIndex = 16;
//
// lblPinEntry
//
this.lblPinEntry.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lblPinEntry.AutoSize = true;
this.lblPinEntry.Location = new System.Drawing.Point(108, 9);
this.lblPinEntry.Name = "lblPinEntry";
this.lblPinEntry.Size = new System.Drawing.Size(34, 17);
this.lblPinEntry.TabIndex = 4;
this.lblPinEntry.Text = "PIN:";
//
// tbPinNumber
//
this.tbPinNumber.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tbPinNumber.Location = new System.Drawing.Point(0, 33);
this.tbPinNumber.MaxLength = 4;
this.tbPinNumber.Name = "tbPinNumber";
this.tbPinNumber.PasswordChar = '*';
this.tbPinNumber.Size = new System.Drawing.Size(250, 22);
this.tbPinNumber.TabIndex = 3;
this.tbPinNumber.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tbPinNumber.UseSystemPasswordChar = true;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 3;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 55);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(250, 240);
this.tableLayoutPanel1.TabIndex = 0;
//
// guardianBindingSource
//
this.guardianBindingSource.DataSource = typeof(GreatHomeChildcare.Models.Guardian);
// //
// frmGuardianCrud // frmGuardianCrud
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(362, 312); this.ClientSize = new System.Drawing.Size(624, 321);
this.Controls.Add(this.button2); this.Controls.Add(this.panelPinEntry);
this.Controls.Add(this.button1); this.Controls.Add(this.btnSaveClose);
this.Controls.Add(this.btnCancelClose);
this.Controls.Add(isAdminLabel); this.Controls.Add(isAdminLabel);
this.Controls.Add(this.isAdminComboBox); this.Controls.Add(this.isAdminComboBox);
this.Controls.Add(emailAddressLabel); this.Controls.Add(emailAddressLabel);
@ -224,9 +282,12 @@ namespace GreatHomeChildcare
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmGuardianCrud"; this.Name = "frmGuardianCrud";
this.Text = "frmGuardianCrud"; this.Text = "frmGuardianCrud";
this.Load += new System.EventHandler(this.frmGuardianCrud_Load);
((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.guardianBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.phoneNumberNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.phoneNumberNumericUpDown)).EndInit();
this.panelPinEntry.ResumeLayout(false);
this.panelPinEntry.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.guardianBindingSource)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -241,8 +302,12 @@ namespace GreatHomeChildcare
private System.Windows.Forms.NumericUpDown phoneNumberNumericUpDown; private System.Windows.Forms.NumericUpDown phoneNumberNumericUpDown;
private System.Windows.Forms.TextBox emailAddressTextBox; private System.Windows.Forms.TextBox emailAddressTextBox;
private System.Windows.Forms.ComboBox isAdminComboBox; private System.Windows.Forms.ComboBox isAdminComboBox;
private System.Windows.Forms.Button button1; private System.Windows.Forms.Button btnCancelClose;
private System.Windows.Forms.ImageList imageList1; private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.Button button2; private System.Windows.Forms.Button btnSaveClose;
private System.Windows.Forms.Panel panelPinEntry;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label lblPinEntry;
private System.Windows.Forms.TextBox tbPinNumber;
} }
} }

View File

@ -143,7 +143,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACK ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACK
CQAAAk1TRnQBSQFMAgEBAgEAAQgBAAEIAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo CQAAAk1TRnQBSQFMAgEBAgEAAVgBAAFYAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA