81210/.vs/81210/v16/.suo
81210/81210.csproj
Debug
AnyCPU
{DBA0A214-2FC0-416D-9BA4-6538923BB527}
WinExe
_81210
81210
v4.7.2
512
true
true
AnyCPU
true
full
false
bin\Debug\
DEBUG;TRACE
prompt
4
AnyCPU
pdbonly
true
bin\Release\
TRACE
prompt
4
Form
AddStudent.cs
Form
Delete.cs
Form
Form1.cs
Form
gradebook.cs
Form
Update.cs
AddStudent.cs
Delete.cs
Form1.cs
gradebook.cs
ResXFileCodeGenerato
Resources.Designer.cs
Designe
True
Resources.resx
Update.cs
SettingsSingleFileGenerato
Settings.Designer.cs
True
Settings.settings
True
81210/81210.sln
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30804.86
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "81210", "81210.csproj", "{DBA0A214-2FC0-416D-9BA4-6538923BB527}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DBA0A214-2FC0-416D-9BA4-6538923BB527}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DBA0A214-2FC0-416D-9BA4-6538923BB527}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DBA0A214-2FC0-416D-9BA4-6538923BB527}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DBA0A214-2FC0-416D-9BA4-6538923BB527}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F5C2A067-795A-4FC1-A73D-FDB72170BFF7}
EndGlobalSection
EndGlobal
81210/AddStudent.cs
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 _81210
{
public partial class AddStudent : Form
{
public string name ="";
public string rollno = "";
public string sub1 = "", sub2 = "", sub3 = "", sub4 = "";
public int mark1 = 0, mark2 = 0, mark3 = 0, mark4 = 0;
private void button1_Click(object sender, EventArgs e)
{
name = txtName.Text.Trim();
rollno = txtRollno.Text.Trim();
sub1 = txtsub1.Text.Trim();
sub2 = txtsub2.Text.Trim();
sub3 = txtsub3.Text.Trim();
sub4 = txtsub4.Text.Trim();
mark1 = int.Parse(txtmark1.Text);
mark2 = int.Parse(txtmark2.Text);
mark3 = int.Parse(txtmark3.Text);
mark4 = int.Parse(txtmark4.Text);
this.Hide();
gradebook book = new gradebook();
book.ShowDialog();
}
public AddStudent()
{
InitializeComponent();
}
private void AddStudent_Load(object sender, EventArgs e)
{
}
}
}
81210/AddStudent.Designer.cs
namespace _81210
{
partial class AddStudent
{
Required designer variable.
summary
private System.ComponentModel.IContainer components = null;
Clean up any resources being used.
summary
true if managed resources should be disposed; otherwise, false.
param
protected ove
ide void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
Required method for Designer support - do not modify
the contents of this method with the code editor.
summary
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.txtName = new System.Windows.Forms.TextBox();
this.txtRollno = new System.Windows.Forms.TextBox();
this.txtsub1 = new System.Windows.Forms.TextBox();
this.txtsub2 = new System.Windows.Forms.TextBox();
this.txtsub3 = new System.Windows.Forms.TextBox();
this.txtsub4 = new System.Windows.Forms.TextBox();
this.txtmark1 = new System.Windows.Forms.TextBox();
this.txtmark2 = new System.Windows.Forms.TextBox();
this.txtmark3 = new System.Windows.Forms.TextBox();
this.txtmark4 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
label1
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(110, 56);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(98, 17);
this.label1.TabIndex = 0;
this.label1.Text = "Student Name";
label2
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(110, 97);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(103, 17);
this.label2.TabIndex = 1;
this.label2.Text = "Student RollNo";
label3
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(155, 155);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(62, 17);
this.label3.TabIndex = 2;
this.label3.Text = "Subjects";
label4
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(438, 155);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(46, 17);
this.label4.TabIndex = 3;
this.label4.Text = "Marks";
button1
this.button1.Location = new System.Drawing.Point(329, 374);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(100, 52);
this.button1.TabIndex = 4;
this.button1.Text = "Save";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
txtName
this.txtName.Location = new System.Drawing.Point(315, 56);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(245, 22);
this.txtName.TabIndex = 5;
txtRollno
this.txtRollno.Location = new System.Drawing.Point(315, 97);
this.txtRollno.Name = "txtRollno";
this.txtRollno.Size = new System.Drawing.Size(245, 22);
this.txtRollno.TabIndex = 6;
txtsub1
this.txtsub1.Location = new System.Drawing.Point(158, 190);
this.txtsub1.Name = "txtsub1";
this.txtsub1.Size = new System.Drawing.Size(100, 22);
this.txtsub1.TabIndex = 7;
txtsub2
this.txtsub2.Location = new System.Drawing.Point(158, 239);
this.txtsub2.Name = "txtsub2";
this.txtsub2.Size = new System.Drawing.Size(100, 22);
this.txtsub2.TabIndex = 8;
txtsub3
this.txtsub3.Location = new System.Drawing.Point(158, 282);
this.txtsub3.Name = "txtsub3";
this.txtsub3.Size = new System.Drawing.Size(100, 22);
this.txtsub3.TabIndex = 9;
txtsub4
this.txtsub4.Location = new System.Drawing.Point(158, 322);
this.txtsub4.Name = "txtsub4";
this.txtsub4.Size = new System.Drawing.Size(100, 22);
this.txtsub4.TabIndex = 10;
txtmark1
this.txtmark1.Location = new System.Drawing.Point(441, 189);
this.txtmark1.Name = "txtmark1";
this.txtmark1.Size = new System.Drawing.Size(100, 22);
this.txtmark1.TabIndex = 11;
txtmark2
this.txtmark2.Location = new System.Drawing.Point(441, 239);
this.txtmark2.Name = "txtmark2";
this.txtmark2.Size = new System.Drawing.Size(100, 22);
this.txtmark2.TabIndex = 12;
txtmark3
this.txtmark3.Location = new System.Drawing.Point(441, 282);
this.txtmark3.Name = "txtmark3";
this.txtmark3.Size = new System.Drawing.Size(100, 22);
this.txtmark3.TabIndex = 13;
txtmark4
this.txtmark4.Location = new System.Drawing.Point(441, 322);
this.txtmark4.Name = "txtmark4";
this.txtmark4.Size = new System.Drawing.Size(100, 22);
this.txtmark4.TabIndex = 14;
AddStudent
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.txtmark4);
this.Controls.Add(this.txtmark3);
this.Controls.Add(this.txtmark2);
this.Controls.Add(this.txtmark1);
this.Controls.Add(this.txtsub4);
this.Controls.Add(this.txtsub3);
this.Controls.Add(this.txtsub2);
this.Controls.Add(this.txtsub1);
this.Controls.Add(this.txtRollno);
this.Controls.Add(this.txtName);
this.Controls.Add(this.button1);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "AddStudent";
this.Text = "AddStudent";
this.Load += new System.EventHandler(this.AddStudent_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.TextBox txtRollno;
private System.Windows.Forms.TextBox txtsub1;
private System.Windows.Forms.TextBox txtsub2;
private System.Windows.Forms.TextBox txtsub3;
private System.Windows.Forms.TextBox txtsub4;
private System.Windows.Forms.TextBox txtmark1;
private System.Windows.Forms.TextBox txtmark2;
private System.Windows.Forms.TextBox txtmark3;
private System.Windows.Forms.TextBox txtmark4;
}
}
81210/AddStudent.resx
text/microsoft-resx
2.0
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
81210/App.config
81210
in/Debug/81210.exe
81210
in/Debug/81210.exe.config
81210
in/Debug/81210.pd
81210/Delete.cs
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 _81210
{
public partial class Delete : Form
{
public Delete()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
int count = checkedListBox1.Items.Count;
for (int index = count; index > 0; index--)
{
if (checkedListBox1.CheckedItems.Contains(checkedListBox1.Items[index - 1]))
{
checkedListBox1.Items.RemoveAt(index - 1);
}
}
}
}
}
81210/Delete.Designer.cs
namespace _81210
{
partial class Delete
{
Required designer variable.
summary
private System.ComponentModel.IContainer components = null;
Clean up any resources being used.
summary
true if managed resources should be disposed; otherwise, false.
param
protected ove
ide void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
Required method for Designer support - do not modify
the contents of this method with the code editor.
summary
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
label1
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(171, 39);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(104, 17);
this.label1.TabIndex = 0;
this.label1.Text = "List of Subjects";
label2
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(95, 74);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(254, 17);
this.label2.TabIndex = 1;
this.label2.Text = "Select a subject to remove from course";
checkedListBox1
this.checkedListBox1.FormattingEnabled = true;
this.checkedListBox1.Items.AddRange(new object[] {
"Algorithms",
"Programming",
"Java",
"Python",
"C++",
"C#",
"Automata",
"Machine Learning",
"Data Strucures"});
this.checkedListBox1.Location = new System.Drawing.Point(136, 126);
this.checkedListBox1.Name = "checkedListBox1";
this.checkedListBox1.Size = new System.Drawing.Size(175, 174);
this.checkedListBox1.TabIndex = 3;
button1
this.button1.Location = new System.Drawing.Point(163, 329);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(112, 43);
this.button1.TabIndex = 4;
this.button1.Text = "Remove";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
Delete
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(451, 413);
this.Controls.Add(this.button1);
this.Controls.Add(this.checkedListBox1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "Delete";
this.Text = "Delete";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label...