finished designing
This commit is contained in:
parent
dc1856d078
commit
af45c6ed14
21
Database2/frmTest.Designer.cs
generated
21
Database2/frmTest.Designer.cs
generated
@ -29,6 +29,8 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.cboTest = new System.Windows.Forms.ComboBox();
|
||||
this.dgvStudents = new System.Windows.Forms.DataGridView();
|
||||
this.STUDENT_ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@ -46,38 +48,51 @@
|
||||
this.cboTest.Name = "cboTest";
|
||||
this.cboTest.Size = new System.Drawing.Size(121, 21);
|
||||
this.cboTest.TabIndex = 0;
|
||||
this.cboTest.SelectedIndexChanged += new System.EventHandler(this.cboTest_SelectedIndexChanged);
|
||||
//
|
||||
// dgvStudents
|
||||
//
|
||||
this.dgvStudents.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvStudents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.STUDENT_ID, this.LNAME, this.FNAME, this.ACCT_BAL, this.DOB });
|
||||
this.dgvStudents.Location = new System.Drawing.Point(51, 269);
|
||||
this.dgvStudents.Location = new System.Drawing.Point(128, 180);
|
||||
this.dgvStudents.Name = "dgvStudents";
|
||||
this.dgvStudents.Size = new System.Drawing.Size(682, 150);
|
||||
this.dgvStudents.Size = new System.Drawing.Size(545, 242);
|
||||
this.dgvStudents.TabIndex = 1;
|
||||
this.dgvStudents.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvStudents_CellContentClick);
|
||||
//
|
||||
// STUDENT_ID
|
||||
//
|
||||
this.STUDENT_ID.HeaderText = "Student_ID";
|
||||
this.STUDENT_ID.DataPropertyName = "STUDENT_ID";
|
||||
this.STUDENT_ID.HeaderText = "Student ID";
|
||||
this.STUDENT_ID.Name = "STUDENT_ID";
|
||||
//
|
||||
// LNAME
|
||||
//
|
||||
this.LNAME.DataPropertyName = "LNAME";
|
||||
this.LNAME.HeaderText = "Last Name";
|
||||
this.LNAME.Name = "LNAME";
|
||||
//
|
||||
// FNAME
|
||||
//
|
||||
this.FNAME.DataPropertyName = "FNAME";
|
||||
this.FNAME.HeaderText = "First Name";
|
||||
this.FNAME.Name = "FNAME";
|
||||
//
|
||||
// ACCT_BAL
|
||||
//
|
||||
this.ACCT_BAL.DataPropertyName = "ACCT_BAL";
|
||||
dataGridViewCellStyle1.Format = "C2";
|
||||
dataGridViewCellStyle1.NullValue = null;
|
||||
this.ACCT_BAL.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.ACCT_BAL.HeaderText = "Account Balance";
|
||||
this.ACCT_BAL.Name = "ACCT_BAL";
|
||||
//
|
||||
// DOB
|
||||
//
|
||||
this.DOB.DataPropertyName = "DOB";
|
||||
dataGridViewCellStyle2.Format = "d";
|
||||
dataGridViewCellStyle2.NullValue = null;
|
||||
this.DOB.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.DOB.HeaderText = "Date of Birth";
|
||||
this.DOB.Name = "DOB";
|
||||
//
|
||||
|
@ -8,6 +8,10 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
namespace Database2
|
||||
{
|
||||
public partial class frmTest : Form
|
||||
@ -16,5 +20,15 @@ namespace Database2
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void cboTest_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dgvStudents_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user