Visual studio likes reordering the designer.cs for some reason.

This commit is contained in:
kougyokugentou 2021-01-23 20:22:41 -08:00
parent 0890cc13cf
commit 91410b809d
3 changed files with 114 additions and 105 deletions

View File

@ -39,7 +39,6 @@
System.Windows.Forms.Label dOBLabel;
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.firstNameTextBox = new System.Windows.Forms.TextBox();
this.childBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.lastNameTextBox = new System.Windows.Forms.TextBox();
this.raceTextBox = new System.Windows.Forms.TextBox();
this.genderComboBox = new System.Windows.Forms.ComboBox();
@ -60,9 +59,10 @@
this.photoPictureBox = new System.Windows.Forms.PictureBox();
this.btnCancel = new System.Windows.Forms.Button();
this.idNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.openFileDialogPhotoFromDisk = new System.Windows.Forms.OpenFileDialog();
this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
this.dOBMonthCalendar = new System.Windows.Forms.MonthCalendar();
this.childBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.pic_openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
firstNameLabel = new System.Windows.Forms.Label();
lastNameLabel = new System.Windows.Forms.Label();
raceLabel = new System.Windows.Forms.Label();
@ -70,10 +70,10 @@
photoLabel = new System.Windows.Forms.Label();
addressLabel = 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.photoPictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.childBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
this.SuspendLayout();
//
@ -147,6 +147,15 @@
this.imageList1.Images.SetKeyName(6, "SaveClose_16x.png");
this.imageList1.Images.SetKeyName(7, "OpenfileDialog_16x.png");
//
// dOBLabel
//
dOBLabel.AutoSize = true;
dOBLabel.Location = new System.Drawing.Point(425, 19);
dOBLabel.Name = "dOBLabel";
dOBLabel.Size = new System.Drawing.Size(42, 17);
dOBLabel.TabIndex = 24;
dOBLabel.Text = "DOB:";
//
// firstNameTextBox
//
this.firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.childBindingSource, "FirstName", true));
@ -155,10 +164,6 @@
this.firstNameTextBox.Size = new System.Drawing.Size(100, 22);
this.firstNameTextBox.TabIndex = 2;
//
// childBindingSource
//
this.childBindingSource.DataSource = typeof(GreatHomeChildcare.Models.Child);
//
// lastNameTextBox
//
this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.childBindingSource, "LastName", true));
@ -374,23 +379,6 @@
this.idNumericUpDown.TabStop = false;
this.idNumericUpDown.Visible = false;
//
// openFileDialogPhotoFromDisk
//
this.openFileDialogPhotoFromDisk.FileName = "openFileDialog1";
//
// errorProvider1
//
this.errorProvider1.ContainerControl = this;
//
// dOBLabel
//
dOBLabel.AutoSize = true;
dOBLabel.Location = new System.Drawing.Point(425, 19);
dOBLabel.Name = "dOBLabel";
dOBLabel.Size = new System.Drawing.Size(42, 17);
dOBLabel.TabIndex = 24;
dOBLabel.Text = "DOB:";
//
// dOBMonthCalendar
//
this.dOBMonthCalendar.DataBindings.Add(new System.Windows.Forms.Binding("SelectionRange", this.childBindingSource, "DOB", true));
@ -399,6 +387,22 @@
this.dOBMonthCalendar.Name = "dOBMonthCalendar";
this.dOBMonthCalendar.TabIndex = 25;
//
// childBindingSource
//
this.childBindingSource.DataSource = typeof(GreatHomeChildcare.Models.Child);
//
// pic_openFileDialog
//
this.pic_openFileDialog.DefaultExt = "*.png";
this.pic_openFileDialog.FileName = "pic_openFileDialog";
this.pic_openFileDialog.Filter = "Photos|*.png";
this.pic_openFileDialog.Title = "Upload child photo";
this.pic_openFileDialog.FileOk += new System.ComponentModel.CancelEventHandler(this.pic_openFileDialog_FileOk);
//
// errorProvider1
//
this.errorProvider1.ContainerControl = this;
//
// frmChildCrud
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@ -428,13 +432,14 @@
this.Controls.Add(this.lastNameTextBox);
this.Controls.Add(firstNameLabel);
this.Controls.Add(this.firstNameTextBox);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmChildCrud";
this.Text = "Child Management : Great Home Childcare";
this.Load += new System.EventHandler(this.frmChildCrud_Load);
((System.ComponentModel.ISupportInitialize)(this.childBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvGuardians)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.photoPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.idNumericUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.childBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@ -466,8 +471,8 @@
private System.Windows.Forms.DataGridViewTextBoxColumn FirstName;
private System.Windows.Forms.DataGridViewTextBoxColumn PhoneNumber;
private System.Windows.Forms.DataGridViewTextBoxColumn EmailAddress;
private System.Windows.Forms.OpenFileDialog openFileDialogPhotoFromDisk;
private System.Windows.Forms.ErrorProvider errorProvider1;
private System.Windows.Forms.MonthCalendar dOBMonthCalendar;
private System.Windows.Forms.OpenFileDialog pic_openFileDialog;
private System.Windows.Forms.ErrorProvider errorProvider1;
}
}

View File

@ -29,6 +29,7 @@ namespace GreatHomeChildcare
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMainForm));
this.btnAdmin = new System.Windows.Forms.Button();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.panelChild1 = new System.Windows.Forms.Panel();
@ -456,6 +457,7 @@ namespace GreatHomeChildcare
this.Controls.Add(this.lblInstructions);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.btnAdmin);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmMainForm";
this.Text = "Main Screen";
this.Load += new System.EventHandler(this.frmMainForm_Load);

156
frmPinEntry.Designer.cs generated
View File

@ -29,22 +29,23 @@ namespace GreatHomeChildcare
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPinEntry));
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.btn0 = new System.Windows.Forms.Button();
this.btnBack = new System.Windows.Forms.Button();
this.btn6 = new System.Windows.Forms.Button();
this.btnCE = new System.Windows.Forms.Button();
this.btn5 = new System.Windows.Forms.Button();
this.btn0 = new System.Windows.Forms.Button();
this.btn9 = new System.Windows.Forms.Button();
this.btnBack = new System.Windows.Forms.Button();
this.btn8 = new System.Windows.Forms.Button();
this.btn7 = new System.Windows.Forms.Button();
this.btn5 = new System.Windows.Forms.Button();
this.btn4 = new System.Windows.Forms.Button();
this.btn9 = new System.Windows.Forms.Button();
this.lblWelcome = new System.Windows.Forms.Label();
this.tbPinNumber = new System.Windows.Forms.TextBox();
this.btnLogin = new System.Windows.Forms.Button();
this.btn1 = new System.Windows.Forms.Button();
this.btn2 = new System.Windows.Forms.Button();
this.btn3 = new System.Windows.Forms.Button();
this.lblWelcome = new System.Windows.Forms.Label();
this.tbPinNumber = new System.Windows.Forms.TextBox();
this.btnLogin = new System.Windows.Forms.Button();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
@ -76,28 +77,6 @@ namespace GreatHomeChildcare
this.tableLayoutPanel1.Size = new System.Drawing.Size(340, 324);
this.tableLayoutPanel1.TabIndex = 0;
//
// btn0
//
this.btn0.Dock = System.Windows.Forms.DockStyle.Fill;
this.btn0.Location = new System.Drawing.Point(116, 246);
this.btn0.Name = "btn0";
this.btn0.Size = new System.Drawing.Size(107, 75);
this.btn0.TabIndex = 10;
this.btn0.Text = "0";
this.btn0.UseVisualStyleBackColor = true;
this.btn0.Click += new System.EventHandler(this.btnNumButton_Click);
//
// btnBack
//
this.btnBack.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnBack.Location = new System.Drawing.Point(229, 246);
this.btnBack.Name = "btnBack";
this.btnBack.Size = new System.Drawing.Size(108, 75);
this.btnBack.TabIndex = 9;
this.btnBack.Text = "<<";
this.btnBack.UseVisualStyleBackColor = true;
this.btnBack.Click += new System.EventHandler(this.btnBack_Click);
//
// btn6
//
this.btn6.Location = new System.Drawing.Point(229, 84);
@ -119,15 +98,37 @@ namespace GreatHomeChildcare
this.btnCE.UseVisualStyleBackColor = true;
this.btnCE.Click += new System.EventHandler(this.btnCE_Click);
//
// btn5
// btn0
//
this.btn5.Location = new System.Drawing.Point(116, 84);
this.btn5.Name = "btn5";
this.btn5.Size = new System.Drawing.Size(107, 75);
this.btn5.TabIndex = 6;
this.btn5.Text = "5";
this.btn5.UseVisualStyleBackColor = true;
this.btn5.Click += new System.EventHandler(this.btnNumButton_Click);
this.btn0.Dock = System.Windows.Forms.DockStyle.Fill;
this.btn0.Location = new System.Drawing.Point(116, 246);
this.btn0.Name = "btn0";
this.btn0.Size = new System.Drawing.Size(107, 75);
this.btn0.TabIndex = 10;
this.btn0.Text = "0";
this.btn0.UseVisualStyleBackColor = true;
this.btn0.Click += new System.EventHandler(this.btnNumButton_Click);
//
// btn9
//
this.btn9.Location = new System.Drawing.Point(229, 3);
this.btn9.Name = "btn9";
this.btn9.Size = new System.Drawing.Size(108, 75);
this.btn9.TabIndex = 2;
this.btn9.Text = "9";
this.btn9.UseVisualStyleBackColor = true;
this.btn9.Click += new System.EventHandler(this.btnNumButton_Click);
//
// btnBack
//
this.btnBack.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnBack.Location = new System.Drawing.Point(229, 246);
this.btnBack.Name = "btnBack";
this.btnBack.Size = new System.Drawing.Size(108, 75);
this.btnBack.TabIndex = 9;
this.btnBack.Text = "<<";
this.btnBack.UseVisualStyleBackColor = true;
this.btnBack.Click += new System.EventHandler(this.btnBack_Click);
//
// btn8
//
@ -149,6 +150,16 @@ namespace GreatHomeChildcare
this.btn7.UseVisualStyleBackColor = true;
this.btn7.Click += new System.EventHandler(this.btnNumButton_Click);
//
// btn5
//
this.btn5.Location = new System.Drawing.Point(116, 84);
this.btn5.Name = "btn5";
this.btn5.Size = new System.Drawing.Size(107, 75);
this.btn5.TabIndex = 6;
this.btn5.Text = "5";
this.btn5.UseVisualStyleBackColor = true;
this.btn5.Click += new System.EventHandler(this.btnNumButton_Click);
//
// btn4
//
this.btn4.Location = new System.Drawing.Point(3, 84);
@ -159,46 +170,6 @@ namespace GreatHomeChildcare
this.btn4.UseVisualStyleBackColor = true;
this.btn4.Click += new System.EventHandler(this.btnNumButton_Click);
//
// btn9
//
this.btn9.Location = new System.Drawing.Point(229, 3);
this.btn9.Name = "btn9";
this.btn9.Size = new System.Drawing.Size(108, 75);
this.btn9.TabIndex = 2;
this.btn9.Text = "9";
this.btn9.UseVisualStyleBackColor = true;
this.btn9.Click += new System.EventHandler(this.btnNumButton_Click);
//
// lblWelcome
//
this.lblWelcome.AutoSize = true;
this.lblWelcome.Location = new System.Drawing.Point(36, 9);
this.lblWelcome.Name = "lblWelcome";
this.lblWelcome.Size = new System.Drawing.Size(478, 17);
this.lblWelcome.TabIndex = 1;
this.lblWelcome.Text = "Welcome to Great Home Childcare. Please enter your PIN, then click Login";
//
// tbPinNumber
//
this.tbPinNumber.Location = new System.Drawing.Point(190, 49);
this.tbPinNumber.Name = "tbPinNumber";
this.tbPinNumber.PasswordChar = '*';
this.tbPinNumber.Size = new System.Drawing.Size(100, 22);
this.tbPinNumber.TabIndex = 2;
this.tbPinNumber.UseSystemPasswordChar = true;
this.tbPinNumber.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tbPinNumber_KeyPress);
//
// btnLogin
//
this.btnLogin.Enabled = false;
this.btnLogin.Location = new System.Drawing.Point(329, 41);
this.btnLogin.Name = "btnLogin";
this.btnLogin.Size = new System.Drawing.Size(82, 38);
this.btnLogin.TabIndex = 3;
this.btnLogin.Text = "Login";
this.btnLogin.UseVisualStyleBackColor = true;
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
//
// btn1
//
this.btn1.Dock = System.Windows.Forms.DockStyle.Fill;
@ -232,6 +203,36 @@ namespace GreatHomeChildcare
this.btn3.UseVisualStyleBackColor = true;
this.btn3.Click += new System.EventHandler(this.btnNumButton_Click);
//
// lblWelcome
//
this.lblWelcome.AutoSize = true;
this.lblWelcome.Location = new System.Drawing.Point(36, 9);
this.lblWelcome.Name = "lblWelcome";
this.lblWelcome.Size = new System.Drawing.Size(478, 17);
this.lblWelcome.TabIndex = 1;
this.lblWelcome.Text = "Welcome to Great Home Childcare. Please enter your PIN, then click Login";
//
// tbPinNumber
//
this.tbPinNumber.Location = new System.Drawing.Point(190, 49);
this.tbPinNumber.Name = "tbPinNumber";
this.tbPinNumber.PasswordChar = '*';
this.tbPinNumber.Size = new System.Drawing.Size(100, 22);
this.tbPinNumber.TabIndex = 2;
this.tbPinNumber.UseSystemPasswordChar = true;
this.tbPinNumber.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tbPinNumber_KeyPress);
//
// btnLogin
//
this.btnLogin.Enabled = false;
this.btnLogin.Location = new System.Drawing.Point(329, 41);
this.btnLogin.Name = "btnLogin";
this.btnLogin.Size = new System.Drawing.Size(82, 38);
this.btnLogin.TabIndex = 3;
this.btnLogin.Text = "Login";
this.btnLogin.UseVisualStyleBackColor = true;
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
//
// frmPinEntry
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@ -241,6 +242,7 @@ namespace GreatHomeChildcare
this.Controls.Add(this.tbPinNumber);
this.Controls.Add(this.lblWelcome);
this.Controls.Add(this.tableLayoutPanel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmPinEntry";
this.Text = "Great Home Childcare";
this.Load += new System.EventHandler(this.frmPinEntry_Load);