Вы находитесь на странице: 1из 10

MOC Roll no.

:138

Practical - 1
Project Definition: SlamBook

DevelopRequirement:
1.) Microsoft Visual Studio 2008
2.) Microsoft Sql Server 2005.

Objective: The main objective of this Application is to keep the Details of friend‘s & about a Person
Which user Know.

Introduction: We have created a Slam book Mobile Aplication to keep the record or details for Which
it Contains Following Functions:
1.)Add : Add function is use to adding a new details in a slambook.it Contains Fields like firstname,Last
Name, Birth Date, Zodiac, Religious, Marital Status, Education, Address,Mobile No, Telephone No., E-
mail Id, Hobbies, Goal, Height, Weight, Eye Color, Hair Color, Passion, Books, Sports, Movies, Songs,
Cousines etc.& When user Creates a new detail for first time user Must Be Fill First Name of person
otherwise It will not allow to save the new detail after filling the detail click on the Save button. The new
Detail of a person has been successfully Saved.in database. By clicking On the Back Button User can see it
on a Home page Of Mobile Screen.

2.) Edit : Edit Function is use to To update Any Kind of details in any field of slamboook like Name, Birth
Date, Zodiac, Religious, Marital Status, Education, Address,Mobile No, Telephone No., E-mail Id,
Hobbies, Goal, Height, Weight, Eye Color, Hair Color, Passion, Books, Sports, Movies, Songs, Cousines
etc. & then Click on the Save Button .The details is successfully Updated in Database records. By clicking
On the Back Button User can see it on a Home page of Mobile Screen

3.) View : View Function is use to view the Whole Detail on the Mobile Screen by a particular Selected
Person.

4.) Delete : Delete Function is use to delete the detail of person by two Method. One is by Name &
another is By Mobile No..By entering the name of person user can delete the details another is by entering
the Mobile No. of person which fill in detail user can Delete the records of that particular person. If user
Does not Want to delete then Simply Click on the Cancel Button.

5.) Search: Search Function is use to Search a Peson’s details From the database by entering Name in the
Field.

BIT (CE) Page no:


MOC Roll no.:138

Program Code:
aboutMe.Designer.cs

namespace tushSlamBook
{
partial class aboutMe
{

private System.ComponentModel.IContainer components = null;


private System.Windows.Forms.MainMenu mainMenu1;

protected override void Dispose(bool disposing)


{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
}
}

BIT (CE) Page no:


MOC Roll no.:138

home.Designer.cs

namespace tushSlamBook
{
partial class home
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem addNew;
private System.Windows.Forms.MenuItem edit;
private System.Windows.Forms.MenuItem view;
private System.Windows.Forms.MenuItem menuItem5;
private System.Windows.Forms.DataGrid dgHome;
private tushSlamBookDatabaseDataSet tushSlamBookDatabaseDataSet1;
private tushSlamBook.tushSlamBookDatabaseDataSetTableAdapters.informationTableAdapter
informationTableAdapter1;
private System.Windows.Forms.MenuItem delete;
private System.Windows.Forms.MenuItem byName;
private System.Windows.Forms.MenuItem byMobile;

BIT (CE) Page no:


MOC Roll no.:138

private System.Windows.Forms.MenuItem delByName;


private System.Windows.Forms.MenuItem delByMobile;
}
}

addNew.Designer.cs

namespace tushSlamBook
{
partial class addNew
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
#endregion

private System.Windows.Forms.TextBox firstname;


private System.Windows.Forms.TextBox zodiac;
private System.Windows.Forms.TextBox martialStatus;
private System.Windows.Forms.TextBox religion;
private System.Windows.Forms.TextBox birthDate;
private System.Windows.Forms.TextBox lastname;
private System.Windows.Forms.TextBox telephoneNo;
private System.Windows.Forms.TextBox mobileNo;

BIT (CE) Page no:


MOC Roll no.:138

private System.Windows.Forms.TextBox address;


private System.Windows.Forms.TextBox education;
private System.Windows.Forms.TextBox goal;
private System.Windows.Forms.TextBox hobbies;
private System.Windows.Forms.TextBox emailID;
private System.Windows.Forms.TextBox weight;
private System.Windows.Forms.TextBox height;
private System.Windows.Forms.TextBox books;
private System.Windows.Forms.TextBox passion;
private System.Windows.Forms.TextBox hairColor;
private System.Windows.Forms.TextBox eyeColor;
private System.Windows.Forms.TextBox songs;
private System.Windows.Forms.TextBox movies;
private System.Windows.Forms.TextBox sports;
private System.Windows.Forms.TextBox cuisines;
private System.Windows.Forms.Button save;
private System.Windows.Forms.Button back;

}
}

editContact.Designer.cs

BIT (CE) Page no:


MOC Roll no.:138

namespace tushSlamBook
{
partial class editContact
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox sports;
private System.Windows.Forms.TextBox movies;
private System.Windows.Forms.TextBox songs;
private System.Windows.Forms.TextBox eyeColor;
private System.Windows.Forms.TextBox hairColor;
private System.Windows.Forms.TextBox passion;
private System.Windows.Forms.TextBox books;
private System.Windows.Forms.TextBox height;
private System.Windows.Forms.TextBox weight;
private System.Windows.Forms.TextBox email;
private System.Windows.Forms.TextBox hobbies;
private System.Windows.Forms.TextBox goal;
private System.Windows.Forms.TextBox education;
private System.Windows.Forms.TextBox address;
private System.Windows.Forms.TextBox mobileNo;
private System.Windows.Forms.TextBox telephone;
private System.Windows.Forms.TextBox lastname;
private System.Windows.Forms.TextBox birthDate;
private System.Windows.Forms.TextBox religion;
private System.Windows.Forms.TextBox martialStatus;
private System.Windows.Forms.TextBox zodiac;
private System.Windows.Forms.TextBox firstname;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.TextBox cuisines;
private System.Windows.Forms.Button btnSave;

}
}

BIT (CE) Page no:


MOC Roll no.:138

deleteByMobile.Designer.cs

namespace tushSlamBook
{
partial class deleteByMobile
{
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private System.Windows.Forms.Button cancel;
private System.Windows.Forms.Button delete;
private System.Windows.Forms.TextBox txtMobile;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
}
}

BIT (CE) Page no:


MOC Roll no.:138

deleteByName.Designer.cs

namespace tushSlamBook
{
partial class deleteByName
{
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private System.Windows.Forms.Button cancel;
private System.Windows.Forms.Button delete;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
}
}

BIT (CE) Page no:


MOC Roll no.:138

searchByName.Designer.cs

namespace tushSlamBook
{
partial class searchByName
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Button search;
private System.Windows.Forms.Button cancel;

BIT (CE) Page no:


MOC Roll no.:138

private System.Windows.Forms.TextBox searchName;


private System.Windows.Forms.DataGrid dgSearch;
private tushSlamBookDatabaseDataSet tushSlamBookDatabaseDataSet1;
private tushSlamBook.tushSlamBookDatabaseDataSetTableAdapters.informationTableAdapter
informationTableAdapter1;
}
}

BIT (CE) Page no:

Вам также может понравиться