From c348c051dee575657ee15594c6527fa897d3463b Mon Sep 17 00:00:00 2001 From: EggMan20339 <99349302+EggMan20339@users.noreply.github.com> Date: Tue, 13 Feb 2024 13:34:44 -0500 Subject: [PATCH] db3 designer done --- Database3/Database3.csproj | 3 + Database3/frmSearch.Designer.cs | 103 ++++++++++++++++++++++++++- Database3/frmSearch.cs | 5 ++ Database3/frmSearch.resx | 120 ++++++++++++++++++++++++++++++++ 4 files changed, 230 insertions(+), 1 deletion(-) create mode 100644 Database3/frmSearch.resx diff --git a/Database3/Database3.csproj b/Database3/Database3.csproj index 3d74655..553de8d 100644 --- a/Database3/Database3.csproj +++ b/Database3/Database3.csproj @@ -54,6 +54,9 @@ + + frmSearch.cs + ResXFileCodeGenerator Resources.Designer.cs diff --git a/Database3/frmSearch.Designer.cs b/Database3/frmSearch.Designer.cs index c67a2b9..338b7b0 100644 --- a/Database3/frmSearch.Designer.cs +++ b/Database3/frmSearch.Designer.cs @@ -29,12 +29,113 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + this.lblDisStID = new System.Windows.Forms.Label(); + this.dgvTable = new System.Windows.Forms.DataGridView(); + this.lblDislname = new System.Windows.Forms.Label(); + this.lblDisDOB = new System.Windows.Forms.Label(); + this.txtStuID = new System.Windows.Forms.TextBox(); + this.txtlname = new System.Windows.Forms.TextBox(); + this.txtDOB = new System.Windows.Forms.TextBox(); + this.btnSearch = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.dgvTable)).BeginInit(); + this.SuspendLayout(); + // + // lblDisStID + // + this.lblDisStID.Location = new System.Drawing.Point(206, 87); + this.lblDisStID.Name = "lblDisStID"; + this.lblDisStID.Size = new System.Drawing.Size(130, 21); + this.lblDisStID.TabIndex = 0; + this.lblDisStID.Text = "Student ID:"; + this.lblDisStID.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // dgvTable + // + this.dgvTable.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvTable.Location = new System.Drawing.Point(77, 250); + this.dgvTable.Name = "dgvTable"; + this.dgvTable.Size = new System.Drawing.Size(638, 150); + this.dgvTable.TabIndex = 1; + // + // lblDislname + // + this.lblDislname.Location = new System.Drawing.Point(206, 108); + this.lblDislname.Name = "lblDislname"; + this.lblDislname.Size = new System.Drawing.Size(130, 21); + this.lblDislname.TabIndex = 2; + this.lblDislname.Text = "Last Name:"; + this.lblDislname.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // lblDisDOB + // + this.lblDisDOB.Location = new System.Drawing.Point(206, 129); + this.lblDisDOB.Name = "lblDisDOB"; + this.lblDisDOB.Size = new System.Drawing.Size(130, 21); + this.lblDisDOB.TabIndex = 3; + this.lblDisDOB.Text = "Date of Birth:"; + this.lblDisDOB.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // txtStuID + // + this.txtStuID.Location = new System.Drawing.Point(342, 88); + this.txtStuID.Name = "txtStuID"; + this.txtStuID.Size = new System.Drawing.Size(132, 20); + this.txtStuID.TabIndex = 4; + // + // txtlname + // + this.txtlname.Location = new System.Drawing.Point(342, 109); + this.txtlname.Name = "txtlname"; + this.txtlname.Size = new System.Drawing.Size(132, 20); + this.txtlname.TabIndex = 5; + // + // txtDOB + // + this.txtDOB.Location = new System.Drawing.Point(342, 130); + this.txtDOB.Name = "txtDOB"; + this.txtDOB.Size = new System.Drawing.Size(132, 20); + this.txtDOB.TabIndex = 6; + // + // btnSearch + // + this.btnSearch.Location = new System.Drawing.Point(399, 175); + this.btnSearch.Name = "btnSearch"; + this.btnSearch.Size = new System.Drawing.Size(75, 23); + this.btnSearch.TabIndex = 7; + this.btnSearch.Text = "Search"; + this.btnSearch.UseVisualStyleBackColor = true; + this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); + // + // frmSearch + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.btnSearch); + this.Controls.Add(this.txtDOB); + this.Controls.Add(this.txtlname); + this.Controls.Add(this.txtStuID); + this.Controls.Add(this.lblDisDOB); + this.Controls.Add(this.lblDislname); + this.Controls.Add(this.dgvTable); + this.Controls.Add(this.lblDisStID); + this.Name = "frmSearch"; this.Text = "Form1"; + ((System.ComponentModel.ISupportInitialize)(this.dgvTable)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } + private System.Windows.Forms.Label lblDislname; + private System.Windows.Forms.Label lblDisDOB; + private System.Windows.Forms.TextBox txtStuID; + private System.Windows.Forms.TextBox txtlname; + private System.Windows.Forms.TextBox txtDOB; + private System.Windows.Forms.Button btnSearch; + + private System.Windows.Forms.Label lblDisStID; + private System.Windows.Forms.DataGridView dgvTable; + #endregion } } \ No newline at end of file diff --git a/Database3/frmSearch.cs b/Database3/frmSearch.cs index e92734f..322d098 100644 --- a/Database3/frmSearch.cs +++ b/Database3/frmSearch.cs @@ -16,5 +16,10 @@ namespace Database3 { InitializeComponent(); } + + private void btnSearch_Click(object sender, EventArgs e) + { + + } } } \ No newline at end of file diff --git a/Database3/frmSearch.resx b/Database3/frmSearch.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Database3/frmSearch.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file