Add project files.

This commit is contained in:
crisc committed 2025-01-29 11:24:40 +08:00
1 parent 4e07355a04
commit 66dc6c0d7f
36 files changed
+10706

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35707.178 d17.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MySQL Database", "MySQL Database\MySQL Database.csproj", "{A23A0678-2AB1-430D-A6FC-88592B5D10A9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A23A0678-2AB1-430D-A6FC-88592B5D10A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A23A0678-2AB1-430D-A6FC-88592B5D10A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A23A0678-2AB1-430D-A6FC-88592B5D10A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A23A0678-2AB1-430D-A6FC-88592B5D10A9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
+11
View File
@@ -0,0 +1,11 @@
[
{
"Name": "New Profile",
"Projects": [
{
"Path": "MySQL Database\\MySQL Database.csproj",
"Action": "StartWithoutDebugging"
}
]
}
]
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
+77
View File
@@ -0,0 +1,77 @@
namespace MySQL_Database
{
partial class IndividualStudentInfo
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.guna2Panel1 = new Guna.UI2.WinForms.Guna2Panel();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// guna2Panel1
//
this.guna2Panel1.AutoRoundedCorners = true;
this.guna2Panel1.BorderRadius = 18;
this.guna2Panel1.FillColor = System.Drawing.Color.DarkGreen;
this.guna2Panel1.Location = new System.Drawing.Point(33, 65);
this.guna2Panel1.Name = "guna2Panel1";
this.guna2Panel1.Size = new System.Drawing.Size(231, 113);
this.guna2Panel1.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(30, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(112, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Student Information";
//
// IndividualStudentInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Green;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.label1);
this.Controls.Add(this.guna2Panel1);
this.Name = "IndividualStudentInfo";
this.Text = "IndividualStudentInfo";
this.Load += new System.EventHandler(this.IndividualStudentInfo_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Guna.UI2.WinForms.Guna2Panel guna2Panel1;
private System.Windows.Forms.Label label1;
}
}
+25
View File
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MySQL_Database
{
public partial class IndividualStudentInfo : Form
{
public IndividualStudentInfo()
{
InitializeComponent();
}
private void IndividualStudentInfo_Load(object sender, EventArgs e)
{
}
}
}
+120
View 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>
+324
View File
@@ -0,0 +1,324 @@
namespace MySQL_Database
{
partial class signupForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(signupForm));
this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.guna2Button1 = new Guna.UI2.WinForms.Guna2Button();
this.passTextbox = new Guna.UI2.WinForms.Guna2TextBox();
this.emailTextbox = new Guna.UI2.WinForms.Guna2TextBox();
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.guna2GradientPanel1 = new Guna.UI2.WinForms.Guna2GradientPanel();
this.button1 = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.guna2Panel1 = new Guna.UI2.WinForms.Guna2Panel();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.guna2Panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.DarkGreen;
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.panel1.Controls.Add(this.guna2GradientPanel1);
this.panel1.Cursor = System.Windows.Forms.Cursors.Hand;
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(800, 100);
this.panel1.TabIndex = 0;
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.Green;
this.panel2.Controls.Add(this.pictureBox1);
this.panel2.Controls.Add(this.panel3);
this.panel2.Location = new System.Drawing.Point(12, 116);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(776, 322);
this.panel2.TabIndex = 1;
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.White;
this.panel3.Controls.Add(this.guna2Panel1);
this.panel3.Controls.Add(this.guna2Button1);
this.panel3.Controls.Add(this.passTextbox);
this.panel3.Controls.Add(this.emailTextbox);
this.panel3.Controls.Add(this.linkLabel2);
this.panel3.Controls.Add(this.linkLabel1);
this.panel3.Controls.Add(this.label3);
this.panel3.Controls.Add(this.label2);
this.panel3.Controls.Add(this.label1);
this.panel3.Location = new System.Drawing.Point(15, 22);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(229, 285);
this.panel3.TabIndex = 3;
this.panel3.Paint += new System.Windows.Forms.PaintEventHandler(this.panel3_Paint);
//
// guna2Button1
//
this.guna2Button1.BorderColor = System.Drawing.Color.White;
this.guna2Button1.BorderRadius = 9;
this.guna2Button1.DisabledState.BorderColor = System.Drawing.Color.DarkGray;
this.guna2Button1.DisabledState.CustomBorderColor = System.Drawing.Color.DarkGray;
this.guna2Button1.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(169)))), ((int)(((byte)(169)))));
this.guna2Button1.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
this.guna2Button1.FillColor = System.Drawing.Color.DarkGreen;
this.guna2Button1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.guna2Button1.ForeColor = System.Drawing.Color.White;
this.guna2Button1.Location = new System.Drawing.Point(16, 213);
this.guna2Button1.Name = "guna2Button1";
this.guna2Button1.Size = new System.Drawing.Size(200, 39);
this.guna2Button1.TabIndex = 11;
this.guna2Button1.Text = "Sign-in";
this.guna2Button1.Click += new System.EventHandler(this.button1_Click);
this.guna2Button1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.signin_enterPressed);
//
// passTextbox
//
this.passTextbox.BorderColor = System.Drawing.Color.Black;
this.passTextbox.BorderRadius = 9;
this.passTextbox.Cursor = System.Windows.Forms.Cursors.IBeam;
this.passTextbox.DefaultText = "";
this.passTextbox.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.passTextbox.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.passTextbox.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.passTextbox.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.passTextbox.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.passTextbox.Font = new System.Drawing.Font("Segoe UI", 9F);
this.passTextbox.ForeColor = System.Drawing.Color.Black;
this.passTextbox.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.passTextbox.Location = new System.Drawing.Point(16, 149);
this.passTextbox.Name = "passTextbox";
this.passTextbox.PasswordChar = '●';
this.passTextbox.PlaceholderText = "Type your password...";
this.passTextbox.SelectedText = "";
this.passTextbox.Size = new System.Drawing.Size(200, 36);
this.passTextbox.TabIndex = 1;
this.passTextbox.UseSystemPasswordChar = true;
this.passTextbox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.passwordenter_clicked);
//
// emailTextbox
//
this.emailTextbox.BorderColor = System.Drawing.Color.Black;
this.emailTextbox.BorderRadius = 9;
this.emailTextbox.Cursor = System.Windows.Forms.Cursors.IBeam;
this.emailTextbox.DefaultText = "";
this.emailTextbox.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.emailTextbox.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.emailTextbox.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.emailTextbox.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.emailTextbox.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.emailTextbox.Font = new System.Drawing.Font("Segoe UI", 9F);
this.emailTextbox.ForeColor = System.Drawing.Color.Black;
this.emailTextbox.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.emailTextbox.Location = new System.Drawing.Point(16, 90);
this.emailTextbox.Name = "emailTextbox";
this.emailTextbox.PasswordChar = '\0';
this.emailTextbox.PlaceholderText = "Type student id...";
this.emailTextbox.SelectedText = "";
this.emailTextbox.Size = new System.Drawing.Size(200, 36);
this.emailTextbox.TabIndex = 0;
this.emailTextbox.TextChanged += new System.EventHandler(this.emailTextbox_TextChanged_1);
this.emailTextbox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.emailenter_clickedd);
//
// linkLabel2
//
this.linkLabel2.AutoSize = true;
this.linkLabel2.Location = new System.Drawing.Point(131, 188);
this.linkLabel2.Name = "linkLabel2";
this.linkLabel2.Size = new System.Drawing.Size(91, 13);
this.linkLabel2.TabIndex = 7;
this.linkLabel2.TabStop = true;
this.linkLabel2.Text = "Forgot password?";
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
this.linkLabel1.Location = new System.Drawing.Point(25, 255);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(177, 13);
this.linkLabel1.TabIndex = 6;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "Don\'t have account? Activate Now!";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.ForeColor = System.Drawing.Color.Black;
this.label3.Location = new System.Drawing.Point(13, 129);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(67, 17);
this.label3.TabIndex = 4;
this.label3.Text = "Password:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.Black;
this.label2.Location = new System.Drawing.Point(13, 70);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(107, 17);
this.label2.TabIndex = 2;
this.label2.Text = "Email/Student ID:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.Black;
this.label1.Location = new System.Drawing.Point(11, 31);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(78, 30);
this.label1.TabIndex = 0;
this.label1.Text = "Sign-in";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// pictureBox1
//
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox1.Image = global::MySQL_Database.Properties.Resources.landingpage;
this.pictureBox1.Location = new System.Drawing.Point(279, 22);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(477, 285);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 4;
this.pictureBox1.TabStop = false;
//
// guna2GradientPanel1
//
this.guna2GradientPanel1.BackColor = System.Drawing.Color.White;
this.guna2GradientPanel1.BackgroundImage = global::MySQL_Database.Properties.Resources.PLSP_LOGO_DESIGN_resize_6_500x120;
this.guna2GradientPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.guna2GradientPanel1.Location = new System.Drawing.Point(12, 13);
this.guna2GradientPanel1.Name = "guna2GradientPanel1";
this.guna2GradientPanel1.Size = new System.Drawing.Size(776, 87);
this.guna2GradientPanel1.TabIndex = 0;
this.guna2GradientPanel1.Click += new System.EventHandler(this.panel_click);
this.guna2GradientPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.guna2GradientPanel1_Paint);
//
// button1
//
this.button1.BackgroundImage = global::MySQL_Database.Properties.Resources.logout;
this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.button1.ForeColor = System.Drawing.Color.Transparent;
this.button1.Location = new System.Drawing.Point(3, 3);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(29, 29);
this.button1.TabIndex = 0;
this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.exitbutt_Clicked);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.ForeColor = System.Drawing.Color.White;
this.label4.Location = new System.Drawing.Point(31, 6);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(34, 21);
this.label4.TabIndex = 1;
this.label4.Text = "Exit";
this.label4.Click += new System.EventHandler(this.label4_Click);
//
// guna2Panel1
//
this.guna2Panel1.BackColor = System.Drawing.Color.Green;
this.guna2Panel1.BorderRadius = 9;
this.guna2Panel1.Controls.Add(this.label4);
this.guna2Panel1.Controls.Add(this.button1);
this.guna2Panel1.Location = new System.Drawing.Point(158, 3);
this.guna2Panel1.Name = "guna2Panel1";
this.guna2Panel1.Size = new System.Drawing.Size(68, 36);
this.guna2Panel1.TabIndex = 2;
this.guna2Panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.guna2Panel1_Paint);
//
// signupForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.DarkGreen;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ControlBox = false;
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "signupForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "PLSP Student Portal";
this.Load += new System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.guna2Panel1.ResumeLayout(false);
this.guna2Panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.LinkLabel linkLabel2;
private System.Windows.Forms.LinkLabel linkLabel1;
private Guna.UI2.WinForms.Guna2GradientPanel guna2GradientPanel1;
private Guna.UI2.WinForms.Guna2TextBox passTextbox;
private Guna.UI2.WinForms.Guna2TextBox emailTextbox;
private Guna.UI2.WinForms.Guna2Button guna2Button1;
private System.Windows.Forms.Button button1;
private Guna.UI2.WinForms.Guna2Panel guna2Panel1;
private System.Windows.Forms.Label label4;
}
}
+158
View File
@@ -0,0 +1,158 @@
using System;
using System.Threading;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Org.BouncyCastle.Asn1.Ocsp;
using System.Diagnostics;
namespace MySQL_Database
{
public partial class signupForm : Form
{
MySqlConnector connectorSql = new MySqlConnector();
public signupForm()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void rtnBut_Click(object sender, EventArgs e)
{
studinfoForm infos = new studinfoForm();
this.Hide();
infos.Show();
}
private void panel1_Paint(object sender, PaintEventArgs e)
{
}
private void label1_Click(object sender, EventArgs e)
{
}
private void panel3_Paint(object sender, PaintEventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
string email = emailTextbox.Text;
string pass = passTextbox.Text;
connectorSql.LoginAccount(email, pass);
}
private void emailTextbox_TextChanged(object sender, EventArgs e)
{
}
private void passTextbox_TextChanged(object sender, EventArgs e)
{
}
private void exitButton_Click(object sender, EventArgs e)
{
var exitPrompt = MessageBox.Show("Do you want to close the application?", "Question", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (exitPrompt == DialogResult.Yes)
{
Application.Exit();
}
}
private void guna2GradientPanel1_Paint(object sender, PaintEventArgs e)
{
}
private void panel_click(object sender, EventArgs e)
{
var visitka = MessageBox.Show("Do you want to visit official campus website?", "Information", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
if (visitka == DialogResult.Yes)
{
Process.Start("https://plsp.edu.ph/");
}
}
private void signin_enterPressed(object sender, KeyPressEventArgs e)
{
}
private void passwordenter_clicked(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)Keys.Enter)
{
button1_Click(null, null);
}
}
private void emailenter_clickedd(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)Keys.Enter)
{
if (string.IsNullOrEmpty(passTextbox.Text))
{
MessageBox.Show("Please type a password.", "try again.", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
else
{
button1_Click(null, null);
}
}
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
this.Hide();
activateaccount acac = new activateaccount();
acac.Show();
}
private void exitbutt_Clicked(object sender, EventArgs e)
{
var exitPrompt = MessageBox.Show("Do you want to close the application?", "Question", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (exitPrompt == DialogResult.Yes)
{
Application.Exit();
}
}
private void guna2Panel1_Paint(object sender, PaintEventArgs e)
{
}
private void label4_Click(object sender, EventArgs e)
{
var exitPrompt = MessageBox.Show("Do you want to close the application?", "Question", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (exitPrompt == DialogResult.Yes)
{
Application.Exit();
}
}
private void emailTextbox_TextChanged_1(object sender, EventArgs e)
{
}
}
}
File diff suppressed because it is too large. Load diff
+246
View File
@@ -0,0 +1,246 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{A23A0678-2AB1-430D-A6FC-88592B5D10A9}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>MySQL_Database</RootNamespace>
<AssemblyName>MySQL Database</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>F38D79F2EC0A5304E3EC8E0F24C124C54EB826B3</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>MySQL Database_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>true</SignManifests>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
<HintPath>..\packages\BouncyCastle.Cryptography.2.3.1\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
</Reference>
<Reference Include="Google.Protobuf, Version=3.26.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Protobuf.3.26.1\lib\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="Guna.UI2, Version=2.0.4.6, Culture=neutral, PublicKeyToken=8b9d14aa5142e261, processorArchitecture=MSIL">
<HintPath>..\packages\Guna.UI2.WinForms.2.0.4.6\lib\net472\Guna.UI2.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4, Version=1.3.8.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Compression.LZ4.1.3.8\lib\net462\K4os.Compression.LZ4.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.3.8.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.3.8\lib\net462\K4os.Compression.LZ4.Streams.dll</HintPath>
</Reference>
<Reference Include="K4os.Hash.xxHash, Version=1.0.8.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Hash.xxHash.1.0.8\lib\net462\K4os.Hash.xxHash.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference>
<Reference Include="MySql.Data, Version=9.1.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.9.1.0\lib\net462\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Configuration.ConfigurationManager.8.0.0\lib\net462\System.Configuration.ConfigurationManager.dll</HintPath>
</Reference>
<Reference Include="System.Core" />
<Reference Include="System.Design" />
<Reference Include="System.Diagnostics.DiagnosticSource, Version=8.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.8.0.1\lib\net462\System.Diagnostics.DiagnosticSource.dll</HintPath>
</Reference>
<Reference Include="System.DirectoryServices" />
<Reference Include="System.IO.Pipelines, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Pipelines.5.0.2\lib\net461\System.IO.Pipelines.dll</HintPath>
</Reference>
<Reference Include="System.Management" />
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="ZstdSharp, Version=0.8.0.0, Culture=neutral, PublicKeyToken=8d151af33a4ad5cf, processorArchitecture=MSIL">
<HintPath>..\packages\ZstdSharp.Port.0.8.0\lib\net462\ZstdSharp.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="activateaccount.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="activateaccount.Designer.cs">
<DependentUpon>activateaccount.cs</DependentUpon>
</Compile>
<Compile Include="addNewStudent.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="addNewStudent.Designer.cs">
<DependentUpon>addNewStudent.cs</DependentUpon>
</Compile>
<Compile Include="IndividualStudentInfo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="IndividualStudentInfo.Designer.cs">
<DependentUpon>IndividualStudentInfo.cs</DependentUpon>
</Compile>
<Compile Include="MySqlConnector.cs" />
<Compile Include="StudentInformation.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="StudentInformation.Designer.cs">
<DependentUpon>StudentInformation.cs</DependentUpon>
</Compile>
<Compile Include="LandingPage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LandingPage.Designer.cs">
<DependentUpon>LandingPage.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Student.cs" />
<EmbeddedResource Include="activateaccount.resx">
<DependentUpon>activateaccount.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="addNewStudent.resx">
<DependentUpon>addNewStudent.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="IndividualStudentInfo.resx">
<DependentUpon>IndividualStudentInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="StudentInformation.resx">
<DependentUpon>StudentInformation.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="LandingPage.resx">
<DependentUpon>LandingPage.cs</DependentUpon>
</EmbeddedResource>
<None Include="MySQL Database_TemporaryKey.pfx" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Gakuseisean-Ivista-2-Start-Menu-Search.32.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\466976718_1114235390492214_4160371015675845366_n.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Gakuseisean-Ivista-2-Start-Menu-Search.321.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Gakuseisean-Ivista-2-Start-Menu-Search.48.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\441281302_977585947490493_7271137553168216114_n.jpg" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\PLSP_LOGO_DESIGN_resize_6_500x120.png" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="Resources\landingpage.gif" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\logout.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
+149
View File
@@ -0,0 +1,149 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
using MySql.Data;
using System.Data;
using System.Windows.Forms;
using System.Security.Cryptography;
using System.Configuration;
using System.Threading;
namespace MySQL_Database
{
internal class MySqlConnector
{
public static MySqlConnection GetConnection()
{
string connString = "datasource=localhost;port=3306;username=root;password=;database=students;";
MySqlConnection conn = new MySqlConnection(connString);
try
{
conn.Open();
}catch(MySqlException ex)
{
MessageBox.Show("MySQL Connection! \n" + ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
return conn;
}
public static void AddStudent(string stdid, string fullname, int age, string sex, string address, string email, int contact, string stdtype, string yearLevel, string program, int creds, string password)
{
string sql = "INSERT INTO studentinfo (student_id, full_name, age, sex, address, email, contact_no, student_type, year_level, program, role_credentials, studentpass) VALUE (@stdid, @fullname, @age, @sex, @address, @email, @contact, @stdtype, @yearLevel, @program, @creds, @password)";
using (MySqlConnection conn = GetConnection())
{
try
{
using (MySqlCommand cmd = new MySqlCommand(sql ,conn))
{
cmd.Parameters.AddWithValue("@student_id", stdid);
cmd.Parameters.AddWithValue("@full_name", fullname);
cmd.Parameters.AddWithValue("@age", age);
cmd.Parameters.AddWithValue("@sex", sex);
cmd.Parameters.AddWithValue("@address", address);
cmd.Parameters.AddWithValue("@email", email);
cmd.Parameters.AddWithValue("@contact_no", contact);
cmd.Parameters.AddWithValue("@student_type", stdtype);
cmd.Parameters.AddWithValue("@year_level", yearLevel);
cmd.Parameters.AddWithValue("@program", program);
cmd.Parameters.AddWithValue("@roles_credentials", creds);
cmd.Parameters.AddWithValue("@studentpass", password);
int rosAffected = cmd.ExecuteNonQuery();
}
}
catch (Exception ex)
{
MessageBox.Show("Student not added!\n"+ex.Message, "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
conn.Close();
}
}
public void LoginAccount(string email, string password)
{
string firstChar = email.ToString().Trim()[0].ToString();
if (int.TryParse(firstChar, out int result))
{
if(CheckData(email, password))
{
IndividualStudentInfo indi = new IndividualStudentInfo();
indi.Show();
}
MessageBox.Show("Authentication successful!", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
}else if (CheckData(email, password))
{
IndividualStudentInfo indi = new IndividualStudentInfo();
indi.Show();
//studinfoForm admin = new studinfoForm();
//admin.Show();
}
else
{
MessageBox.Show("Invalid email or password!", "Stop", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
private bool CheckData(string email, string pass)
{
bool exist = false;
using (MySqlConnection conn = GetConnection())
{
try
{
//string qry = "SELECT * FROM credentials WHERE studentID = @email AND password;";
//using (MySqlCommand cmd = new MySqlCommand(qry, conn))
//{
// cmd.Parameters.AddWithValue("@studentID", email);
// cmd.Parameters.AddWithValue("@password", pass);
// int count = Convert.ToInt32(cmd.ExecuteScalar());
// exist = count > 0;
//}
string qry = "SELECT * FROM credentials WHERE admin = @email OR studentID = @email AND password = @password";
using (MySqlCommand cmd = new MySqlCommand(qry, conn))
{
cmd.Parameters.AddWithValue("@email", email);
cmd.Parameters.AddWithValue("@studentID", email);
cmd.Parameters.AddWithValue("@password", pass);
int count = Convert.ToInt32(cmd.ExecuteScalar());
exist = count > 0;
MySqlDataReader reader = cmd.ExecuteReader();
if (reader.HasRows)
{
return true;
}
else
{
return false;
}
}
}catch(Exception ex)
{
MessageBox.Show("Error: " + ex.Message);
}
conn.Close();
}
return exist;
}
}
}
+22
View File
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MySQL_Database
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new signupForm());
}
}
}
+33
View File
@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MySQL Database")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MySQL Database")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("a23a0678-2ab1-430d-a6fc-88592b5d10a9")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
+143
View File
@@ -0,0 +1,143 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MySQL_Database.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MySQL_Database.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap _441281302_977585947490493_7271137553168216114_n {
get {
object obj = ResourceManager.GetObject("441281302_977585947490493_7271137553168216114_n", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap _466976718_1114235390492214_4160371015675845366_n {
get {
object obj = ResourceManager.GetObject("466976718_1114235390492214_4160371015675845366_n", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Gakuseisean_Ivista_2_Start_Menu_Search_32 {
get {
object obj = ResourceManager.GetObject("Gakuseisean-Ivista-2-Start-Menu-Search.32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Gakuseisean_Ivista_2_Start_Menu_Search_48 {
get {
object obj = ResourceManager.GetObject("Gakuseisean-Ivista-2-Start-Menu-Search.48", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Gakuseisean_Ivista_2_Start_Menu_Search1 {
get {
object obj = ResourceManager.GetObject("Gakuseisean-Ivista-2-Start-Menu-Search1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap landingpage {
get {
object obj = ResourceManager.GetObject("landingpage", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap logout {
get {
object obj = ResourceManager.GetObject("logout", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap PLSP_LOGO_DESIGN_resize_6_500x120 {
get {
object obj = ResourceManager.GetObject("PLSP_LOGO_DESIGN_resize_6_500x120", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}
+145
View File
@@ -0,0 +1,145 @@
<?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>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Gakuseisean-Ivista-2-Start-Menu-Search.32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Gakuseisean-Ivista-2-Start-Menu-Search.32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="466976718_1114235390492214_4160371015675845366_n" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\466976718_1114235390492214_4160371015675845366_n.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Gakuseisean-Ivista-2-Start-Menu-Search.48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Gakuseisean-Ivista-2-Start-Menu-Search.48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="landingpage" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\landingpage.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Gakuseisean-Ivista-2-Start-Menu-Search1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Gakuseisean-Ivista-2-Start-Menu-Search.321.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PLSP_LOGO_DESIGN_resize_6_500x120" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\PLSP_LOGO_DESIGN_resize_6_500x120.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="441281302_977585947490493_7271137553168216114_n" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\441281302_977585947490493_7271137553168216114_n.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="logout" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\logout.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
+30
View File
@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MySQL_Database.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
Binary file not shown.

After

Width:  |  Height:  |  Size: 741 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

+37
View File
@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MySQL_Database
{
class Student
{
public string studentID { get; set; }
public string fullName { get; set; }
public int age { get; set; }
public string gender { get; set; }
public string address { get; set; }
public string email { get; set; }
public int contactNo { get; set; }
public string studentType { get; set; }
public int yearLevel { get; set; }
public string department { get; set; }
public string program { get; set; }
public Student(string studentID, string fullName, int age, string gender, string address, string email, int contactNo, string studentType, int yearLevel, string program)
{
this.studentID = studentID;
this.fullName = fullName;
this.age = age;
this.gender = gender;
this.address = address;
this.email = email;
this.contactNo = contactNo;
this.studentType = studentType;
this.yearLevel = yearLevel;
this.program = program;
}
}
}
+334
View File
@@ -0,0 +1,334 @@
namespace MySQL_Database
{
partial class studinfoForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.button3 = new System.Windows.Forms.Button();
this.logoutButton = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.newButton = new System.Windows.Forms.Button();
this.directorySearcher1 = new System.DirectoryServices.DirectorySearcher();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.BackColor = System.Drawing.Color.LimeGreen;
this.panel1.Controls.Add(this.button3);
this.panel1.Controls.Add(this.logoutButton);
this.panel1.Controls.Add(this.label1);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(800, 73);
this.panel1.TabIndex = 0;
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
//
// button3
//
this.button3.BackColor = System.Drawing.Color.DarkGreen;
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button3.ForeColor = System.Drawing.Color.White;
this.button3.Location = new System.Drawing.Point(737, 23);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(51, 31);
this.button3.TabIndex = 2;
this.button3.Text = "Exit";
this.button3.UseVisualStyleBackColor = false;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// logoutButton
//
this.logoutButton.BackColor = System.Drawing.Color.DarkGreen;
this.logoutButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.logoutButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.logoutButton.ForeColor = System.Drawing.Color.White;
this.logoutButton.Location = new System.Drawing.Point(652, 23);
this.logoutButton.Name = "logoutButton";
this.logoutButton.Size = new System.Drawing.Size(79, 31);
this.logoutButton.TabIndex = 1;
this.logoutButton.Text = "Logout";
this.logoutButton.UseVisualStyleBackColor = false;
this.logoutButton.Click += new System.EventHandler(this.logoutButton_Click);
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(12, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(776, 31);
this.label1.TabIndex = 0;
this.label1.Text = "STUDENTS INFORMATION (ADMIN)";
//
// pictureBox1
//
this.pictureBox1.BackColor = System.Drawing.SystemColors.Control;
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox1.Image = global::MySQL_Database.Properties.Resources.Gakuseisean_Ivista_2_Start_Menu_Search_32;
this.pictureBox1.Location = new System.Drawing.Point(735, 24);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(25, 21);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 3;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click_1);
//
// textBox1
//
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox1.ForeColor = System.Drawing.SystemColors.WindowFrame;
this.textBox1.Location = new System.Drawing.Point(448, 24);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(292, 21);
this.textBox1.TabIndex = 2;
//
// panel2
//
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel2.BackColor = System.Drawing.SystemColors.Control;
this.panel2.Controls.Add(this.button2);
this.panel2.Controls.Add(this.button1);
this.panel2.Controls.Add(this.pictureBox1);
this.panel2.Controls.Add(this.dataGridView1);
this.panel2.Controls.Add(this.newButton);
this.panel2.Controls.Add(this.textBox1);
this.panel2.Location = new System.Drawing.Point(12, 79);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(776, 359);
this.panel2.TabIndex = 1;
//
// button2
//
this.button2.BackColor = System.Drawing.Color.ForestGreen;
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button2.ForeColor = System.Drawing.Color.White;
this.button2.Location = new System.Drawing.Point(206, 15);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(89, 36);
this.button2.TabIndex = 5;
this.button2.Text = "Delete";
this.button2.UseVisualStyleBackColor = false;
//
// button1
//
this.button1.BackColor = System.Drawing.Color.ForestGreen;
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button1.ForeColor = System.Drawing.Color.White;
this.button1.Location = new System.Drawing.Point(111, 15);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(89, 36);
this.button1.TabIndex = 4;
this.button1.Text = "Update";
this.button1.UseVisualStyleBackColor = false;
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3,
this.Column4,
this.Column5,
this.Column6,
this.Column7,
this.Column8,
this.Column9,
this.Column10,
this.Column11});
this.dataGridView1.Location = new System.Drawing.Point(16, 57);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.Size = new System.Drawing.Size(744, 285);
this.dataGridView1.TabIndex = 1;
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
//
// Column1
//
this.Column1.HeaderText = "ID";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
//
// Column2
//
this.Column2.HeaderText = "Name";
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
//
// Column3
//
this.Column3.HeaderText = "Age";
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
//
// Column4
//
this.Column4.HeaderText = "Gender";
this.Column4.Name = "Column4";
this.Column4.ReadOnly = true;
//
// Column5
//
this.Column5.HeaderText = "Address";
this.Column5.Name = "Column5";
this.Column5.ReadOnly = true;
//
// Column6
//
this.Column6.HeaderText = "Email";
this.Column6.Name = "Column6";
this.Column6.ReadOnly = true;
//
// Column7
//
this.Column7.HeaderText = "Contact No";
this.Column7.Name = "Column7";
this.Column7.ReadOnly = true;
//
// Column8
//
this.Column8.HeaderText = "Student Type";
this.Column8.Name = "Column8";
this.Column8.ReadOnly = true;
//
// Column9
//
this.Column9.HeaderText = "Year Level";
this.Column9.Name = "Column9";
this.Column9.ReadOnly = true;
//
// Column10
//
this.Column10.HeaderText = "Department";
this.Column10.Name = "Column10";
this.Column10.ReadOnly = true;
//
// Column11
//
this.Column11.HeaderText = "Program";
this.Column11.Name = "Column11";
this.Column11.ReadOnly = true;
//
// newButton
//
this.newButton.BackColor = System.Drawing.Color.ForestGreen;
this.newButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.newButton.ForeColor = System.Drawing.Color.White;
this.newButton.Location = new System.Drawing.Point(16, 15);
this.newButton.Name = "newButton";
this.newButton.Size = new System.Drawing.Size(89, 36);
this.newButton.TabIndex = 0;
this.newButton.Text = "New";
this.newButton.UseVisualStyleBackColor = false;
this.newButton.Click += new System.EventHandler(this.button1_Click);
//
// directorySearcher1
//
this.directorySearcher1.ClientTimeout = System.TimeSpan.Parse("-00:00:01");
this.directorySearcher1.ServerPageTimeLimit = System.TimeSpan.Parse("-00:00:01");
this.directorySearcher1.ServerTimeLimit = System.TimeSpan.Parse("-00:00:01");
//
// studinfoForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.AppWorkspace;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Name = "studinfoForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Student Information";
this.Load += new System.EventHandler(this.studinfoForm_Load);
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button newButton;
private System.DirectoryServices.DirectorySearcher directorySearcher1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
private System.Windows.Forms.Button logoutButton;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button3;
}
}
+73
View File
@@ -0,0 +1,73 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MySQL_Database
{
public partial class studinfoForm : Form
{
public studinfoForm()
{
InitializeComponent();
}
private void panel1_Paint(object sender, PaintEventArgs e)
{
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void pictureBox1_Click_1(object sender, EventArgs e)
{
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
this.Close();
addNewStudent add = new addNewStudent();
add.Show();
}
private void studinfoForm_Load(object sender, EventArgs e)
{
}
private void logoutButton_Click(object sender, EventArgs e)
{
this.Close();
signupForm signup = new signupForm();
var landingpage = MessageBox.Show("Do you want to logout?", "Question", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (landingpage == DialogResult.Yes)
{
signup.Show();
}
}
private void button3_Click(object sender, EventArgs e)
{
var exitPrompt = MessageBox.Show("Do you want to exit the application?", "Question", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (exitPrompt == DialogResult.Yes)
{
Application.Exit();
}
}
}
}
+159
View File
@@ -0,0 +1,159 @@
<?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>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="directorySearcher1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>41</value>
</metadata>
</root>
+275
View File
@@ -0,0 +1,275 @@
namespace MySQL_Database
{
partial class activateaccount
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.guna2TextBox1 = new Guna.UI2.WinForms.Guna2TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.guna2TextBox2 = new Guna.UI2.WinForms.Guna2TextBox();
this.label3 = new System.Windows.Forms.Label();
this.guna2TextBox3 = new Guna.UI2.WinForms.Guna2TextBox();
this.label4 = new System.Windows.Forms.Label();
this.guna2TextBox4 = new Guna.UI2.WinForms.Guna2TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.guna2Button1 = new Guna.UI2.WinForms.Guna2Button();
this.guna2GradientPanel1 = new Guna.UI2.WinForms.Guna2GradientPanel();
this.SuspendLayout();
//
// guna2TextBox1
//
this.guna2TextBox1.BackColor = System.Drawing.Color.DarkGreen;
this.guna2TextBox1.BorderColor = System.Drawing.Color.Black;
this.guna2TextBox1.BorderRadius = 9;
this.guna2TextBox1.Cursor = System.Windows.Forms.Cursors.IBeam;
this.guna2TextBox1.DefaultText = "";
this.guna2TextBox1.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.guna2TextBox1.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.guna2TextBox1.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.guna2TextBox1.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.guna2TextBox1.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.guna2TextBox1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.guna2TextBox1.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.guna2TextBox1.Location = new System.Drawing.Point(52, 81);
this.guna2TextBox1.Name = "guna2TextBox1";
this.guna2TextBox1.PasswordChar = '\0';
this.guna2TextBox1.PlaceholderText = "Enter your student id...";
this.guna2TextBox1.SelectedText = "";
this.guna2TextBox1.Size = new System.Drawing.Size(200, 36);
this.guna2TextBox1.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.DarkGreen;
this.label1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(49, 65);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(62, 15);
this.label1.TabIndex = 1;
this.label1.Text = "Student ID";
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.DarkGreen;
this.label2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(354, 65);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(84, 15);
this.label2.TabIndex = 3;
this.label2.Text = "New Password";
//
// guna2TextBox2
//
this.guna2TextBox2.BackColor = System.Drawing.Color.DarkGreen;
this.guna2TextBox2.BorderColor = System.Drawing.Color.Black;
this.guna2TextBox2.BorderRadius = 9;
this.guna2TextBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.guna2TextBox2.DefaultText = "";
this.guna2TextBox2.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.guna2TextBox2.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.guna2TextBox2.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.guna2TextBox2.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.guna2TextBox2.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.guna2TextBox2.Font = new System.Drawing.Font("Segoe UI", 9F);
this.guna2TextBox2.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.guna2TextBox2.Location = new System.Drawing.Point(357, 81);
this.guna2TextBox2.Name = "guna2TextBox2";
this.guna2TextBox2.PasswordChar = '●';
this.guna2TextBox2.PlaceholderText = "";
this.guna2TextBox2.SelectedText = "";
this.guna2TextBox2.Size = new System.Drawing.Size(200, 36);
this.guna2TextBox2.TabIndex = 2;
this.guna2TextBox2.UseSystemPasswordChar = true;
//
// label3
//
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.Color.DarkGreen;
this.label3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.ForeColor = System.Drawing.Color.White;
this.label3.Location = new System.Drawing.Point(354, 120);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(131, 15);
this.label3.TabIndex = 5;
this.label3.Text = "Confirm New Password";
//
// guna2TextBox3
//
this.guna2TextBox3.BackColor = System.Drawing.Color.DarkGreen;
this.guna2TextBox3.BorderColor = System.Drawing.Color.Black;
this.guna2TextBox3.BorderRadius = 9;
this.guna2TextBox3.Cursor = System.Windows.Forms.Cursors.IBeam;
this.guna2TextBox3.DefaultText = "";
this.guna2TextBox3.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.guna2TextBox3.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.guna2TextBox3.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.guna2TextBox3.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.guna2TextBox3.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.guna2TextBox3.Font = new System.Drawing.Font("Segoe UI", 9F);
this.guna2TextBox3.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.guna2TextBox3.Location = new System.Drawing.Point(357, 136);
this.guna2TextBox3.Name = "guna2TextBox3";
this.guna2TextBox3.PasswordChar = '●';
this.guna2TextBox3.PlaceholderText = "";
this.guna2TextBox3.SelectedText = "";
this.guna2TextBox3.Size = new System.Drawing.Size(200, 36);
this.guna2TextBox3.TabIndex = 4;
this.guna2TextBox3.UseSystemPasswordChar = true;
//
// label4
//
this.label4.AutoSize = true;
this.label4.BackColor = System.Drawing.Color.DarkGreen;
this.label4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.ForeColor = System.Drawing.Color.White;
this.label4.Location = new System.Drawing.Point(49, 120);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(54, 15);
this.label4.TabIndex = 7;
this.label4.Text = "Surname";
//
// guna2TextBox4
//
this.guna2TextBox4.BackColor = System.Drawing.Color.DarkGreen;
this.guna2TextBox4.BorderColor = System.Drawing.Color.Black;
this.guna2TextBox4.BorderRadius = 9;
this.guna2TextBox4.Cursor = System.Windows.Forms.Cursors.IBeam;
this.guna2TextBox4.DefaultText = "";
this.guna2TextBox4.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.guna2TextBox4.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.guna2TextBox4.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.guna2TextBox4.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.guna2TextBox4.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.guna2TextBox4.Font = new System.Drawing.Font("Segoe UI", 9F);
this.guna2TextBox4.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.guna2TextBox4.Location = new System.Drawing.Point(52, 136);
this.guna2TextBox4.Name = "guna2TextBox4";
this.guna2TextBox4.PasswordChar = '\0';
this.guna2TextBox4.PlaceholderText = "Enter your surname...";
this.guna2TextBox4.SelectedText = "";
this.guna2TextBox4.Size = new System.Drawing.Size(200, 36);
this.guna2TextBox4.TabIndex = 6;
//
// label5
//
this.label5.AutoSize = true;
this.label5.BackColor = System.Drawing.Color.DarkGreen;
this.label5.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label5.ForeColor = System.Drawing.Color.White;
this.label5.Location = new System.Drawing.Point(353, 35);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(118, 21);
this.label5.TabIndex = 8;
this.label5.Text = "Set a password:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.BackColor = System.Drawing.Color.DarkGreen;
this.label6.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label6.ForeColor = System.Drawing.Color.White;
this.label6.Location = new System.Drawing.Point(48, 35);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(103, 21);
this.label6.TabIndex = 9;
this.label6.Text = "Personal Info:";
//
// guna2Button1
//
this.guna2Button1.BackColor = System.Drawing.Color.DarkGreen;
this.guna2Button1.BorderRadius = 9;
this.guna2Button1.DisabledState.BorderColor = System.Drawing.Color.DarkGray;
this.guna2Button1.DisabledState.CustomBorderColor = System.Drawing.Color.DarkGray;
this.guna2Button1.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(169)))), ((int)(((byte)(169)))));
this.guna2Button1.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
this.guna2Button1.FillColor = System.Drawing.Color.Green;
this.guna2Button1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.guna2Button1.ForeColor = System.Drawing.Color.White;
this.guna2Button1.Location = new System.Drawing.Point(357, 178);
this.guna2Button1.Name = "guna2Button1";
this.guna2Button1.Size = new System.Drawing.Size(200, 45);
this.guna2Button1.TabIndex = 10;
this.guna2Button1.Text = "Activate Account";
this.guna2Button1.Click += new System.EventHandler(this.guna2Button1_Click);
//
// guna2GradientPanel1
//
this.guna2GradientPanel1.BackColor = System.Drawing.Color.DarkGreen;
this.guna2GradientPanel1.BorderRadius = 12;
this.guna2GradientPanel1.Location = new System.Drawing.Point(12, 12);
this.guna2GradientPanel1.Name = "guna2GradientPanel1";
this.guna2GradientPanel1.Size = new System.Drawing.Size(598, 244);
this.guna2GradientPanel1.TabIndex = 11;
//
// activateaccount
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Green;
this.ClientSize = new System.Drawing.Size(622, 268);
this.Controls.Add(this.guna2Button1);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.guna2TextBox4);
this.Controls.Add(this.label3);
this.Controls.Add(this.guna2TextBox3);
this.Controls.Add(this.label2);
this.Controls.Add(this.guna2TextBox2);
this.Controls.Add(this.label1);
this.Controls.Add(this.guna2TextBox1);
this.Controls.Add(this.guna2GradientPanel1);
this.Name = "activateaccount";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Activate Account";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Guna.UI2.WinForms.Guna2TextBox guna2TextBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private Guna.UI2.WinForms.Guna2TextBox guna2TextBox2;
private System.Windows.Forms.Label label3;
private Guna.UI2.WinForms.Guna2TextBox guna2TextBox3;
private System.Windows.Forms.Label label4;
private Guna.UI2.WinForms.Guna2TextBox guna2TextBox4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private Guna.UI2.WinForms.Guna2Button guna2Button1;
private Guna.UI2.WinForms.Guna2GradientPanel guna2GradientPanel1;
}
}
+27
View File
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MySQL_Database
{
public partial class activateaccount : Form
{
public activateaccount()
{
InitializeComponent();
}
private void guna2Button1_Click(object sender, EventArgs e)
{
this.Close();
signupForm landingForm = new signupForm();
landingForm.Show();
}
}
}
+120
View 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>
+616
View File
@@ -0,0 +1,616 @@
namespace MySQL_Database
{
partial class addNewStudent
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.studentid = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.sexCB = new Guna.UI2.WinForms.Guna2ComboBox();
this.label7 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.connumTB = new Guna.UI2.WinForms.Guna2TextBox();
this.yearlvlTB = new Guna.UI2.WinForms.Guna2ComboBox();
this.programTB = new Guna.UI2.WinForms.Guna2ComboBox();
this.studenttypeTB = new Guna.UI2.WinForms.Guna2ComboBox();
this.guna2Button1 = new Guna.UI2.WinForms.Guna2Button();
this.guna2Button2 = new Guna.UI2.WinForms.Guna2Button();
this.firstnameTB = new Guna.UI2.WinForms.Guna2TextBox();
this.middlenameTB = new Guna.UI2.WinForms.Guna2TextBox();
this.lastnameTB = new Guna.UI2.WinForms.Guna2TextBox();
this.ageTB = new Guna.UI2.WinForms.Guna2TextBox();
this.studentIDTB = new Guna.UI2.WinForms.Guna2TextBox();
this.addressTB = new Guna.UI2.WinForms.Guna2TextBox();
this.emailTB = new Guna.UI2.WinForms.Guna2TextBox();
this.lastName = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.FirstName = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.guna2CustomGradientPanel1 = new Guna.UI2.WinForms.Guna2CustomGradientPanel();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// studentid
//
this.studentid.AutoSize = true;
this.studentid.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.studentid.ForeColor = System.Drawing.Color.White;
this.studentid.Location = new System.Drawing.Point(396, 129);
this.studentid.Name = "studentid";
this.studentid.Size = new System.Drawing.Size(62, 15);
this.studentid.TabIndex = 1;
this.studentid.Text = "Student ID";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.ForeColor = System.Drawing.Color.White;
this.label3.Location = new System.Drawing.Point(14, 129);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(373, 15);
this.label3.TabIndex = 8;
this.label3.Text = "Address (ex.House#/Street, Barangay, Municipality/City, Postal Code)";
this.label3.Click += new System.EventHandler(this.label3_Click);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.ForeColor = System.Drawing.Color.White;
this.label4.Location = new System.Drawing.Point(14, 77);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(28, 15);
this.label4.TabIndex = 5;
this.label4.Text = "Age";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label6.ForeColor = System.Drawing.Color.White;
this.label6.Location = new System.Drawing.Point(201, 77);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(36, 15);
this.label6.TabIndex = 9;
this.label6.Text = "Email";
//
// sexCB
//
this.sexCB.BackColor = System.Drawing.Color.Transparent;
this.sexCB.BorderColor = System.Drawing.Color.Black;
this.sexCB.BorderRadius = 9;
this.sexCB.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.sexCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.sexCB.FocusedColor = System.Drawing.Color.Black;
this.sexCB.FocusedState.BorderColor = System.Drawing.Color.Black;
this.sexCB.Font = new System.Drawing.Font("Segoe UI", 8F);
this.sexCB.ForeColor = System.Drawing.Color.Black;
this.sexCB.HoverState.BorderColor = System.Drawing.Color.Gray;
this.sexCB.ItemHeight = 30;
this.sexCB.Items.AddRange(new object[] {
"Male",
"Female"});
this.sexCB.Location = new System.Drawing.Point(114, 95);
this.sexCB.Name = "sexCB";
this.sexCB.Size = new System.Drawing.Size(84, 36);
this.sexCB.TabIndex = 14;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label7.ForeColor = System.Drawing.Color.White;
this.label7.Location = new System.Drawing.Point(111, 77);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(25, 15);
this.label7.TabIndex = 13;
this.label7.Text = "Sex";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label5.ForeColor = System.Drawing.Color.White;
this.label5.Location = new System.Drawing.Point(366, 77);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(96, 15);
this.label5.TabIndex = 21;
this.label5.Text = "Contact Number";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label8.ForeColor = System.Drawing.Color.White;
this.label8.Location = new System.Drawing.Point(396, 181);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(75, 15);
this.label8.TabIndex = 23;
this.label8.Text = "Student Type";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label9.ForeColor = System.Drawing.Color.White;
this.label9.Location = new System.Drawing.Point(513, 77);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(59, 15);
this.label9.TabIndex = 25;
this.label9.Text = "Year Level";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label11.ForeColor = System.Drawing.Color.White;
this.label11.Location = new System.Drawing.Point(14, 181);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(53, 15);
this.label11.TabIndex = 29;
this.label11.Text = "Program";
//
// connumTB
//
this.connumTB.BorderColor = System.Drawing.Color.Black;
this.connumTB.BorderRadius = 9;
this.connumTB.Cursor = System.Windows.Forms.Cursors.IBeam;
this.connumTB.DefaultText = "";
this.connumTB.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.connumTB.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.connumTB.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.connumTB.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.connumTB.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.connumTB.Font = new System.Drawing.Font("Segoe UI", 9F);
this.connumTB.ForeColor = System.Drawing.Color.Black;
this.connumTB.HoverState.BorderColor = System.Drawing.Color.Gray;
this.connumTB.Location = new System.Drawing.Point(369, 95);
this.connumTB.Multiline = true;
this.connumTB.Name = "connumTB";
this.connumTB.PasswordChar = '\0';
this.connumTB.PlaceholderText = "Enter contact number...";
this.connumTB.SelectedText = "";
this.connumTB.Size = new System.Drawing.Size(141, 31);
this.connumTB.TabIndex = 37;
this.connumTB.Tag = "";
//
// yearlvlTB
//
this.yearlvlTB.BackColor = System.Drawing.Color.Transparent;
this.yearlvlTB.BorderColor = System.Drawing.Color.Black;
this.yearlvlTB.BorderRadius = 9;
this.yearlvlTB.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.yearlvlTB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.yearlvlTB.FocusedColor = System.Drawing.Color.Black;
this.yearlvlTB.FocusedState.BorderColor = System.Drawing.Color.Black;
this.yearlvlTB.Font = new System.Drawing.Font("Segoe UI", 8F);
this.yearlvlTB.ForeColor = System.Drawing.Color.Black;
this.yearlvlTB.HoverState.BorderColor = System.Drawing.Color.Gray;
this.yearlvlTB.ItemHeight = 30;
this.yearlvlTB.Items.AddRange(new object[] {
"1",
"2",
"3",
"4",
"5",
"Master\'s",
"Doctoral",
"Associate\'s"});
this.yearlvlTB.Location = new System.Drawing.Point(516, 95);
this.yearlvlTB.Name = "yearlvlTB";
this.yearlvlTB.Size = new System.Drawing.Size(76, 36);
this.yearlvlTB.TabIndex = 39;
//
// programTB
//
this.programTB.BackColor = System.Drawing.Color.Transparent;
this.programTB.BorderColor = System.Drawing.Color.Black;
this.programTB.BorderRadius = 9;
this.programTB.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.programTB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.programTB.FocusedColor = System.Drawing.Color.Black;
this.programTB.FocusedState.BorderColor = System.Drawing.Color.Black;
this.programTB.Font = new System.Drawing.Font("Segoe UI", 8F);
this.programTB.ForeColor = System.Drawing.Color.Black;
this.programTB.HoverState.BorderColor = System.Drawing.Color.Gray;
this.programTB.ItemHeight = 30;
this.programTB.Items.AddRange(new object[] {
"BA in English",
"BA in Communication",
"BS in Psychology",
"BS in Environmental Science",
"BS in Accountancy",
"BS in Management Accounting",
"BS in Accounting Information Systems",
"BS in Businesss Administration",
"BS in Hospitality Management",
"BS in Information Technology",
"BS in Hotel and Restaurant Management",
"BS in Criminology",
"BS in Industrial Technology",
"BS in Computer Science",
"Ba of Elementary Education",
"Ba of Secondary Education",
"BS in Civil Engineering",
"BS in Industrial Engineering",
"BS in Nursing",
"BS in Pharmacy",
"BS in Medical Technology",
"Associate in Business Administration",
"Associate in Information Technology",
"Associate in Hotel and Restaurant Management",
"Associate in Computer Science",
"Master of Public Administration",
"Master of Arts in Education",
"Diploma in Criminology"});
this.programTB.Location = new System.Drawing.Point(17, 199);
this.programTB.Name = "programTB";
this.programTB.Size = new System.Drawing.Size(370, 36);
this.programTB.TabIndex = 40;
//
// studenttypeTB
//
this.studenttypeTB.BackColor = System.Drawing.Color.Transparent;
this.studenttypeTB.BorderColor = System.Drawing.Color.Black;
this.studenttypeTB.BorderRadius = 9;
this.studenttypeTB.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.studenttypeTB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.studenttypeTB.FocusedColor = System.Drawing.Color.Black;
this.studenttypeTB.FocusedState.BorderColor = System.Drawing.Color.Black;
this.studenttypeTB.Font = new System.Drawing.Font("Segoe UI", 8F);
this.studenttypeTB.ForeColor = System.Drawing.Color.Black;
this.studenttypeTB.HoverState.BorderColor = System.Drawing.Color.Gray;
this.studenttypeTB.ItemHeight = 30;
this.studenttypeTB.Items.AddRange(new object[] {
"Regular",
"Irregular",
"Transferee"});
this.studenttypeTB.Location = new System.Drawing.Point(399, 199);
this.studenttypeTB.Name = "studenttypeTB";
this.studenttypeTB.Size = new System.Drawing.Size(171, 36);
this.studenttypeTB.TabIndex = 41;
//
// guna2Button1
//
this.guna2Button1.BorderRadius = 9;
this.guna2Button1.DisabledState.BorderColor = System.Drawing.Color.DarkGray;
this.guna2Button1.DisabledState.CustomBorderColor = System.Drawing.Color.DarkGray;
this.guna2Button1.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(169)))), ((int)(((byte)(169)))));
this.guna2Button1.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
this.guna2Button1.FillColor = System.Drawing.Color.LimeGreen;
this.guna2Button1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.guna2Button1.ForeColor = System.Drawing.Color.White;
this.guna2Button1.Location = new System.Drawing.Point(78, 254);
this.guna2Button1.Name = "guna2Button1";
this.guna2Button1.Size = new System.Drawing.Size(180, 45);
this.guna2Button1.TabIndex = 42;
this.guna2Button1.Text = "ADD";
this.guna2Button1.Click += new System.EventHandler(this.guna2Button1_Click);
//
// guna2Button2
//
this.guna2Button2.BorderRadius = 9;
this.guna2Button2.DisabledState.BorderColor = System.Drawing.Color.DarkGray;
this.guna2Button2.DisabledState.CustomBorderColor = System.Drawing.Color.DarkGray;
this.guna2Button2.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(169)))), ((int)(((byte)(169)))));
this.guna2Button2.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
this.guna2Button2.FillColor = System.Drawing.Color.MidnightBlue;
this.guna2Button2.Font = new System.Drawing.Font("Segoe UI", 9F);
this.guna2Button2.ForeColor = System.Drawing.Color.White;
this.guna2Button2.Location = new System.Drawing.Point(291, 254);
this.guna2Button2.Name = "guna2Button2";
this.guna2Button2.Size = new System.Drawing.Size(180, 45);
this.guna2Button2.TabIndex = 43;
this.guna2Button2.Text = "CANCEL";
this.guna2Button2.Click += new System.EventHandler(this.guna2Button2_Click);
//
// firstnameTB
//
this.firstnameTB.BorderColor = System.Drawing.Color.Black;
this.firstnameTB.BorderRadius = 9;
this.firstnameTB.Cursor = System.Windows.Forms.Cursors.IBeam;
this.firstnameTB.DefaultText = "";
this.firstnameTB.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.firstnameTB.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.firstnameTB.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.firstnameTB.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.firstnameTB.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.firstnameTB.Font = new System.Drawing.Font("Segoe UI", 9F);
this.firstnameTB.ForeColor = System.Drawing.Color.Black;
this.firstnameTB.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.firstnameTB.Location = new System.Drawing.Point(17, 43);
this.firstnameTB.Name = "firstnameTB";
this.firstnameTB.PasswordChar = '\0';
this.firstnameTB.PlaceholderText = "Enter first name...";
this.firstnameTB.SelectedText = "";
this.firstnameTB.Size = new System.Drawing.Size(172, 31);
this.firstnameTB.TabIndex = 46;
this.firstnameTB.TextChanged += new System.EventHandler(this.emailTextbox_TextChanged);
//
// middlenameTB
//
this.middlenameTB.BorderColor = System.Drawing.Color.Black;
this.middlenameTB.BorderRadius = 9;
this.middlenameTB.Cursor = System.Windows.Forms.Cursors.IBeam;
this.middlenameTB.DefaultText = "";
this.middlenameTB.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.middlenameTB.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.middlenameTB.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.middlenameTB.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.middlenameTB.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.middlenameTB.Font = new System.Drawing.Font("Segoe UI", 9F);
this.middlenameTB.ForeColor = System.Drawing.Color.Black;
this.middlenameTB.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.middlenameTB.Location = new System.Drawing.Point(195, 43);
this.middlenameTB.Name = "middlenameTB";
this.middlenameTB.PasswordChar = '\0';
this.middlenameTB.PlaceholderText = "Enter middle name...";
this.middlenameTB.SelectedText = "";
this.middlenameTB.Size = new System.Drawing.Size(181, 31);
this.middlenameTB.TabIndex = 47;
//
// lastnameTB
//
this.lastnameTB.BorderColor = System.Drawing.Color.Black;
this.lastnameTB.BorderRadius = 9;
this.lastnameTB.Cursor = System.Windows.Forms.Cursors.IBeam;
this.lastnameTB.DefaultText = "";
this.lastnameTB.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.lastnameTB.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.lastnameTB.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.lastnameTB.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.lastnameTB.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.lastnameTB.Font = new System.Drawing.Font("Segoe UI", 9F);
this.lastnameTB.ForeColor = System.Drawing.Color.Black;
this.lastnameTB.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.lastnameTB.Location = new System.Drawing.Point(382, 43);
this.lastnameTB.Name = "lastnameTB";
this.lastnameTB.PasswordChar = '\0';
this.lastnameTB.PlaceholderText = "Enter first name...";
this.lastnameTB.SelectedText = "";
this.lastnameTB.Size = new System.Drawing.Size(210, 31);
this.lastnameTB.TabIndex = 48;
this.lastnameTB.TextChanged += new System.EventHandler(this.guna2TextBox3_TextChanged);
//
// ageTB
//
this.ageTB.BorderColor = System.Drawing.Color.Black;
this.ageTB.BorderRadius = 9;
this.ageTB.Cursor = System.Windows.Forms.Cursors.IBeam;
this.ageTB.DefaultText = "";
this.ageTB.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.ageTB.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.ageTB.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.ageTB.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.ageTB.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.ageTB.Font = new System.Drawing.Font("Segoe UI", 9F);
this.ageTB.ForeColor = System.Drawing.Color.Black;
this.ageTB.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.ageTB.Location = new System.Drawing.Point(17, 95);
this.ageTB.Name = "ageTB";
this.ageTB.PasswordChar = '\0';
this.ageTB.PlaceholderText = "Enter age...";
this.ageTB.SelectedText = "";
this.ageTB.Size = new System.Drawing.Size(91, 31);
this.ageTB.TabIndex = 49;
//
// studentIDTB
//
this.studentIDTB.BorderColor = System.Drawing.Color.Black;
this.studentIDTB.BorderRadius = 9;
this.studentIDTB.Cursor = System.Windows.Forms.Cursors.IBeam;
this.studentIDTB.DefaultText = "";
this.studentIDTB.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.studentIDTB.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.studentIDTB.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.studentIDTB.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.studentIDTB.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.studentIDTB.Font = new System.Drawing.Font("Segoe UI", 9F);
this.studentIDTB.ForeColor = System.Drawing.Color.Black;
this.studentIDTB.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.studentIDTB.Location = new System.Drawing.Point(399, 147);
this.studentIDTB.Name = "studentIDTB";
this.studentIDTB.PasswordChar = '\0';
this.studentIDTB.PlaceholderText = "Enter student id...";
this.studentIDTB.SelectedText = "";
this.studentIDTB.Size = new System.Drawing.Size(159, 31);
this.studentIDTB.TabIndex = 50;
//
// addressTB
//
this.addressTB.BorderColor = System.Drawing.Color.Black;
this.addressTB.BorderRadius = 9;
this.addressTB.Cursor = System.Windows.Forms.Cursors.IBeam;
this.addressTB.DefaultText = "";
this.addressTB.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.addressTB.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.addressTB.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.addressTB.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.addressTB.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.addressTB.Font = new System.Drawing.Font("Segoe UI", 9F);
this.addressTB.ForeColor = System.Drawing.Color.Black;
this.addressTB.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.addressTB.Location = new System.Drawing.Point(17, 147);
this.addressTB.Name = "addressTB";
this.addressTB.PasswordChar = '\0';
this.addressTB.PlaceholderText = "Enter address...";
this.addressTB.SelectedText = "";
this.addressTB.Size = new System.Drawing.Size(370, 31);
this.addressTB.TabIndex = 51;
//
// emailTB
//
this.emailTB.BorderColor = System.Drawing.Color.Black;
this.emailTB.BorderRadius = 9;
this.emailTB.Cursor = System.Windows.Forms.Cursors.IBeam;
this.emailTB.DefaultText = "";
this.emailTB.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
this.emailTB.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
this.emailTB.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.emailTB.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
this.emailTB.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.emailTB.Font = new System.Drawing.Font("Segoe UI", 9F);
this.emailTB.ForeColor = System.Drawing.Color.Black;
this.emailTB.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
this.emailTB.Location = new System.Drawing.Point(204, 95);
this.emailTB.Name = "emailTB";
this.emailTB.PasswordChar = '\0';
this.emailTB.PlaceholderText = "Enter email...";
this.emailTB.SelectedText = "";
this.emailTB.Size = new System.Drawing.Size(159, 31);
this.emailTB.TabIndex = 52;
//
// lastName
//
this.lastName.AutoSize = true;
this.lastName.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lastName.ForeColor = System.Drawing.Color.White;
this.lastName.Location = new System.Drawing.Point(379, 25);
this.lastName.Name = "lastName";
this.lastName.Size = new System.Drawing.Size(63, 15);
this.lastName.TabIndex = 4;
this.lastName.Text = "Last Name";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(192, 25);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(79, 15);
this.label1.TabIndex = 45;
this.label1.Text = "Middle Name";
//
// FirstName
//
this.FirstName.AutoSize = true;
this.FirstName.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FirstName.ForeColor = System.Drawing.Color.White;
this.FirstName.Location = new System.Drawing.Point(14, 25);
this.FirstName.Name = "FirstName";
this.FirstName.Size = new System.Drawing.Size(64, 15);
this.FirstName.TabIndex = 32;
this.FirstName.Text = "First Name";
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.DarkGreen;
this.panel1.Controls.Add(this.guna2CustomGradientPanel1);
this.panel1.Controls.Add(this.label8);
this.panel1.Controls.Add(this.emailTB);
this.panel1.Controls.Add(this.studentid);
this.panel1.Controls.Add(this.label6);
this.panel1.Controls.Add(this.FirstName);
this.panel1.Controls.Add(this.addressTB);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.studentIDTB);
this.panel1.Controls.Add(this.ageTB);
this.panel1.Controls.Add(this.lastName);
this.panel1.Controls.Add(this.lastnameTB);
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.middlenameTB);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.firstnameTB);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.guna2Button2);
this.panel1.Controls.Add(this.label7);
this.panel1.Controls.Add(this.guna2Button1);
this.panel1.Controls.Add(this.sexCB);
this.panel1.Controls.Add(this.studenttypeTB);
this.panel1.Controls.Add(this.label9);
this.panel1.Controls.Add(this.programTB);
this.panel1.Controls.Add(this.label11);
this.panel1.Controls.Add(this.yearlvlTB);
this.panel1.Controls.Add(this.connumTB);
this.panel1.ForeColor = System.Drawing.Color.White;
this.panel1.Location = new System.Drawing.Point(13, 13);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(686, 320);
this.panel1.TabIndex = 53;
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
//
// guna2CustomGradientPanel1
//
this.guna2CustomGradientPanel1.Location = new System.Drawing.Point(516, 170);
this.guna2CustomGradientPanel1.Name = "guna2CustomGradientPanel1";
this.guna2CustomGradientPanel1.Size = new System.Drawing.Size(8, 8);
this.guna2CustomGradientPanel1.TabIndex = 53;
//
// addNewStudent
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Green;
this.ClientSize = new System.Drawing.Size(711, 345);
this.Controls.Add(this.panel1);
this.Name = "addNewStudent";
this.Text = "Add New";
this.Load += new System.EventHandler(this.addNewStudent_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label studentid;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label6;
private Guna.UI2.WinForms.Guna2ComboBox sexCB;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label11;
private Guna.UI2.WinForms.Guna2TextBox connumTB;
private Guna.UI2.WinForms.Guna2ComboBox yearlvlTB;
private Guna.UI2.WinForms.Guna2ComboBox programTB;
private Guna.UI2.WinForms.Guna2ComboBox studenttypeTB;
private Guna.UI2.WinForms.Guna2Button guna2Button1;
private Guna.UI2.WinForms.Guna2Button guna2Button2;
private Guna.UI2.WinForms.Guna2TextBox firstnameTB;
private Guna.UI2.WinForms.Guna2TextBox middlenameTB;
private Guna.UI2.WinForms.Guna2TextBox lastnameTB;
private Guna.UI2.WinForms.Guna2TextBox ageTB;
private Guna.UI2.WinForms.Guna2TextBox studentIDTB;
private Guna.UI2.WinForms.Guna2TextBox addressTB;
private Guna.UI2.WinForms.Guna2TextBox emailTB;
private System.Windows.Forms.Label lastName;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label FirstName;
private System.Windows.Forms.Panel panel1;
private Guna.UI2.WinForms.Guna2CustomGradientPanel guna2CustomGradientPanel1;
}
}
+65
View File
@@ -0,0 +1,65 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MySQL_Database
{
public partial class addNewStudent : Form
{
MySqlConnector connector = new MySqlConnector();
public addNewStudent()
{
InitializeComponent();
}
private void label3_Click(object sender, EventArgs e)
{
}
private void guna2Button2_Click(object sender, EventArgs e)
{
this.Close();
studinfoForm adminform = new studinfoForm();
adminform.Show();
}
private void FirstName_Click(object sender, EventArgs e)
{
}
private void guna2TextBox3_TextChanged(object sender, EventArgs e)
{
}
private void addNewStudent_Load(object sender, EventArgs e)
{
}
private void emailTextbox_TextChanged(object sender, EventArgs e)
{
}
private void guna2Button1_Click(object sender, EventArgs e)
{
string fullname = firstnameTB.Text + " " + middlenameTB.Text + " " + lastName;
int creds = 1;
MySqlConnector.AddStudent(studentIDTB.Text, fullname, int.Parse(ageTB.Text), sexCB.Text, addressTB.Text, emailTB.Text, int.Parse(connumTB.Text), studenttypeTB.Text, yearlvlTB.Text, programTB.Text, creds, null);
}
private void panel1_Paint(object sender, PaintEventArgs e)
{
}
}
}
+120
View 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>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BouncyCastle.Cryptography" version="2.3.1" targetFramework="net472" />
<package id="Google.Protobuf" version="3.26.1" targetFramework="net472" />
<package id="Guna.UI2.WinForms" version="2.0.4.6" targetFramework="net472" />
<package id="K4os.Compression.LZ4" version="1.3.8" targetFramework="net472" />
<package id="K4os.Compression.LZ4.Streams" version="1.3.8" targetFramework="net472" />
<package id="K4os.Hash.xxHash" version="1.0.8" targetFramework="net472" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net472" />
<package id="MySql.Data" version="9.1.0" targetFramework="net472" />
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
<package id="System.Configuration.ConfigurationManager" version="8.0.0" targetFramework="net472" />
<package id="System.Diagnostics.DiagnosticSource" version="8.0.1" targetFramework="net472" />
<package id="System.IO.Pipelines" version="5.0.2" targetFramework="net472" />
<package id="System.Memory" version="4.5.5" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net472" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" />
<package id="ZstdSharp.Port" version="0.8.0" targetFramework="net472" />
</packages>