db3 designer done
This commit is contained in:
parent
236206672c
commit
c348c051de
@ -54,6 +54,9 @@
|
|||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs"/>
|
<Compile Include="Program.cs"/>
|
||||||
<Compile Include="Properties\AssemblyInfo.cs"/>
|
<Compile Include="Properties\AssemblyInfo.cs"/>
|
||||||
|
<EmbeddedResource Include="frmSearch.resx">
|
||||||
|
<DependentUpon>frmSearch.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
103
Database3/frmSearch.Designer.cs
generated
103
Database3/frmSearch.Designer.cs
generated
@ -29,12 +29,113 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
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.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
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";
|
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
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -16,5 +16,10 @@ namespace Database3
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void btnSearch_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
120
Database3/frmSearch.resx
Normal file
120
Database3/frmSearch.resx
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
Loading…
Reference in New Issue
Block a user