M Sms Thesis

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 72

A

Project Report
On

“Medical Store Management System”

Submitted to

Rashtrasant Tukadoji Maharaj Nagpur University,

Nagpur

In partial fulfillment of the requirement of

Master of Computer Application

M.C.A-(II) SEM-II

Developed & Submitted by

Mr. Adesh S. Gajbhiye

Mr. Shubham Vaidya

Under the Guidance of

Dr. U . A . Lanjewar

VMV COMMERCE, JMT ARTS & JJP


SCIENCE COLLEGE
(Institute of Computer Studies and Research)
Wardhaman Nagar, Nagpur-08.
Academic Year 2019-2020

1
VMV COMMERCE, JMT ARTS &
JJP SCIENCE COLLEGE
(Institute of Computer Studies and Research)
Academic Year 2019-20 Wardhaman Nagar, Nagpur-08.

Department of MCA

CERTIFICATE

This is to certify that the project entitled “Medical Store Mangement


System” by Adesh Gajbhiye And Shubham Vaidya in partial
fulfillment of M.C.A.(II) (Master of Computer Application), Sem-II
degree examination, had not been submitted for any other
examination and does not form part of any other course undergone
by the candidate.
It is further certified that they have completed their project

as prescribed by Rashtrasant Tukadoji Maharaj Nagpur University,

Nagpur.

Name Of Guide Dr. U. A. Lanjewar


Dr. U.A. Lanjewar In-charge

Internal Examiner External Examiner

Place: Nagpur
Date:

2
VMV COMMERCE, JMT ARTS &
JJP SCIENCE COLLEGE
(Institute of Computer Studies and Research)
Academic Year 2019-20 Wardhaman Nagar, Nagpur-08.

Department of MCA

DECLARATION

We here-by declare that the project entitled

“An Automation Of Common Man Service Provider’’ has

completed by us in partial fulfillment of M.C.A. (II) (Master of

Computer Application), Sem.-II degree examination as

prescribed by Rashtrasant Tukadoji Maharaj Nagpur University,

Nagpur and had not been submitted for any other examination and

does not form the part of any other course undergone by us.

Name of Students Student Signature(s)

1. Adesh S. Gajbhiye

2. Shgubham Vaidya

Place:Nagpur

Date:

3
ACKNOWLEDGEMENT
With immense pride and sense of gratitude, we take this golden
opportunity to express our sincere regards to the honorable In-
charge Dr. U. A. Lanjewar of institute for providing us facilities
and inspiration to gather professional knowledge and material
without which it would have been impossible to complete this
hard task.

We are extremely thankful to our Project Guide ---Name of


Guide-- for his project guideline throughout the project. Our
sincere regards to him for giving us his outstanding guidance,
enthusiastic suggestions and invaluable encouragement which
helped us to complete the project.

We will be failing in our duty if we do not thank the non-


teaching staff of the college for their cooperation.

We would like to thank all who helped us in making this project


complete and successful one.

Adesh S. Gajbhiye
Shubham Vaidya

(MCA-II)

4
INDEX

SR.NO CONTENTS PAGE NO.

1 INTRODUCTION

2 OBJECTIVES

SYSTEM ANALYSIS
3.1 PRESENT SYSTEM IN USE
3.2 PROBLEM DEFINITION
3.3 FLAWS IN PRESENT SYSTEM
3
3.4 NEED FOR NEW SYSTEM
3.5 PROPOSED SYSTEM
3.6 FEASIBILITY STUDY
3.7 PROJECT CATEGORY

SOFTWARE ENGINEERING PARADIGM


APPLIED
4
4.1 MODULES
4.2 SYSTEM/MODULAR CHART

SOFTWARE AND HARDWARE


5
REQUIREMENT SPECIFICATION
SOFTWARE DESIGN
6.1 DATA STRUCTURE
6.2 TABLE
6.3 DATA FLOW DIAGRAM
6 6.4 E-R DIAGRAM
6.5 FORM DESIGN
6.6 SOURCE CODE
6.7 OUTPUT

7 TESTING

8 VALIDATION

9 SYSTEM SECURITY MEASURES

10 IMPLEMENTATION AND MAINTENANCE

11 FUTURE SCOPE OF THE PROJECT

12 SUGGESTION AND CONCLUSION

13 BIBLIOGRAPHY AND REFERENCES

5
INTRODUCTION

Medicines are one of the important factors that are necessary to cure a
person’s diseases.

“Prevention is better than cure” is one of the famous proverbs.

Taking precautionary measures before getting suffered from the dreadful


diseases is very important.

The medicines are required when you do not follow this famous saying.

Due to the delay of the medicines, there are chances that the person might
even loose his life.

To solve all these problems, the medical shop management system plays a
major role.

The Medical Shop Management System helps to maintain and keep the
medicines in the medical store in the proper place.

When you need a particular medicine, you can get to know the exact
location of that particular medicine that you are searching for.

6
OBJECTIVES

The main objective of the Medical Shop Management System is to manage the
details of Medical Shop, Stocks, Inventory, Sells, Company.

It manages all the information about Medical Shop, Medicines, Company,


Medical Shop.

The project is totally built at administrative end and thus only the
administrator is guaranteed the access.

The purpose of the project is to build an application program to reduce the


manual work for managing the Medical Shop, Stocks, Medicines, Inventory.

It tracks all the details about the Inventory, Sells, Company .

7
SYSTEM ANALYSIS

System analysis is a process of gathering and interpreting facts diagnosing


problems and the information about medical store management system to
recommended Improvements of the system.

3.1 PRESENT SYSTEM IN USE

This is a Project in which we have tried to develop such a type of system which
can save the time for searching medicine of customer which is spend by them
on different types of important activities like buying medicine and different
cosmetic products etc.

This system can be used in any pharmaceutical shops having a database to


maintain. The software used can generate reports, as per the user’s
requirements.

The software can print invoices, bills, receipts etc. it can also maintain the
record of supplies sent in by the supplier.

The proposed system maintain the record of medicine stock, sales repost,
purchases report etc. And also used to quick search of medicine.

Features
 Manage the information of Stocks
 Shows the information and description of the Medical Shop, Inventory
 All the fields such as Medical Shop, Inventory, Company are validated and
does not take invalid values
 It generates the report on Medical Shop, Stocks, Medicines
 Provide filter reports on Inventory, Sells, Company
 You can easily export PDF for the Medical Shop, Medicines, Sells
 Application also provides excel export for Stocks, Inventory, Compa

8
3.2 PROBLEM DEFINATION

Medical shop management has kept paper record in filing cabinets.


Managing a very large medical shop with record on papers will be tedious and
difficult to keep track of inventories with regards to the drugs in the store,
expiry date, quantity of drugs available based on the categories and their
functions.

The pharmacist has to order drugs to replenish the already diminishing stock.
In addition, ordering of drugs is being carried out manually, significant amount
of time is allocated for writing the order as the pharmacist need to go through
the stock balance and make rough estimate of the amount to order based on
Figures.

Drugs are not supposed to be used after they have expired. This project work
will prompt the pharmacist about drugs that are close to expiry, preventing
those drugs from being sold and also providing solution to the earlier stated
problems.

9
3.3 FLAWS IN THE PRESENT SYSTEM

The existing system contains some problems which are to be removed. Some
of the main flaws are as follows:

 The current system is not user friendly.


 Important data is not kept secret.
 Due to number of reports generated, the work becomes tedious.
 The system does not generate the unique ID of customer & employee
due to which redundancy of data is occurred.
 It doesn’t have a password facility.
 Unauthorized person can easily access the system.
 Modification in the records is a time consuming process.
 It does not use alert system

10
3.4 NEED FOR NEW SYSTEM

The existing of Medical Store System is manually which require more paper work so it
need to computerized the system to get following benefits.

 Computer enhances easy and simple means of storing information.

 The space occupied for storing of information is reduced.

 Computer helps in fast retrieval of information we can search information in


short of time.

 Maintenance of data is very easy and workload is reduced.

 It’s a paperless system.

 We can generated report on demand.

 It will give faster modification.

11
3.5 PROPOSED SYSTEM

The pharmacy management system is design based on computer science


students in order to illuminate the problem of the current system which
provide by the system involved all the pharmaceutical employees of the
pharmacy.

This accessibility of the information will be great advantage as it reduced


further medical errors associated with physicians and nurses.

The system handles all aspects of the inventory control function.

It allows pharmacist to receive new batches of drugs, delete obsolete drugs


and modify the current dosage and identification of drugs in the database.

Furthermore, the system cases the process of stock replenishment. On the


other hand, PMS enables dispensation process. It stores all the physician
prescription of the patients.

A summarized list of drugs dispensed to the patient can be viewed for


monitoring purposes. With the proposed system, the pharmacist will be able to
monitor the movement of the drugs with ease.

The system is design to track the entry of refresh batches of drugs be it upon
orders from manufacture or loan from the hospital/clinic. It also monitor the
drugs movement history, thus leads to better inventory management of money
allocated for the purchase of drugs.

Compared to the current manual system, the implementation of Pharmacy


management system will reduced the time spent for paperwork, leading to
concentration on improving pharmaceutical care of patients, especially
emphasis on patients, counseling and patient medication monitoring.

12
3.6 FEASIBILITY STUDY

Feasibility study is the phase in which the analyst checks that the candidate
system is feasible for the organization or not. This entails identification,
description & evaluation of the system. Feasibility study is done to select the
best system that meets the performance requirem

If the feasibility study is to serve as a decision document, it must answer key


questions:

 Is there a new and better way to do the job that will benefit the user?
 What are the costs and savings of the alternatives?
 What is recommended?

Technical Feasibility:

Technical feasibility is concerned with the availability of hardware and software


required for the development  of the system, to see compatibility and maturity
of the technology proposed to be used and to see the availability of the
required technical manpower to develop the system.

After the study we came to conclusion that we proceed further with the tools
and development environment chosen by us. This was important in our case as
we were working on two various phases of the department that will need to be
integrated in future to make an extended system.

Operational Feasibility:

Operational feasibility is all about problems that may arise during operations.
There are two aspects related with this issue:
 What is the probability that the solution developed may not be put to use
or may not work? What is the inclination of the management and end
users towards the solution?
 Though, there is very least possibility of management being averse to
the solution, there is a significant probability that the end users may not
be interested in using the solution due to lack of training, insight etc.

13
Economic Feasibility:

It is the measure of cost effectiveness of the project. The economic feasibility


is nothing but judging whether the possible benefit of solving the problems is
worthwhile of not.
At the feasibility study level, it is impossible to estimate the cost because
member’s requirements and alternative solutions have not been identified at
this stage.
However, when the specific requirements and solutions have been identified,
the analyst weighs the cost and benefits of all solutions, this is called “cost
benefit analysis.

Behavioral Feasibility:

Behavioral feasibility is the analysis of behavior of the candidate system. In


this we analyze that the candidate system is working properly or not.
If working than it communicating proper with the environment or not.
All this matters are analyzed and a good candidate system is prepared.
Due to the change of system what is the change in behavior of the users, this
factors are also analyzed.

14
3.7 PROJECT CATEGORY APLICATION DEVELOPMENT PROJECT

The proposed system comes under “APPLICATION DEVELOPMENT” category, as


there is need to store and manipulate a huge amount of data related to
Employees, Salary, Leaves, attendance as per queries. The project is capable to
fulfill the requirement of the application area of Organization. Almost all full-
scale database system is RDBMS’s. Small database systems, however, use other
designs that provide less flexibility in posing queries .

Tools/Platform and Languages to be used:


USE PLATFORM

- VB Express for Desktop.

USED BACK=END TOOL

-Console Application.

USED FRONT END TOOL

-Windows Form

SUPPORTED SYSTEM

Windows 7, Windows 10, VB server 2012, VB Express 2012, etc

15
4 SOFTWARE ENGNEERING PARADIGM APPLIED

4.1 MODULES:

This project will contain Two modules, which are used for the various
operation and activities of the project listed below.

 USER MODULE
 ADMIN MODULE

USER MODULE:

 User login
 User can add / edit own work details
 User can edit own profile.
 Logout.

ADMIN MODULE

 Admin Login Admin can Register New Employee.


 Admin can manage all clients and companys records.
 Admin can update / edit user personal details/ work exp. details /
Education.
 Admin can update own profile
 Logout

16
4.2 SYSTEM/MODULER CHART

17
5. SOFTWARE REQUIREMENTS SPECIFICATION

 O/S: Windows 7

 Database: Microsoft SQL Server Management Studio 2010.

 Language: C#

HARDWARE REQUIREMENTS SPECIFICATION

 1 PC at least Pentium II

 128 MB Hard Disk

 20 GB Hard Disk

 1 Printer

 Other related peripherals.

18
6. SOFTWARE DESIGN

6.1 DATA STRUCTURE

Data may be organized in many different ways; the logical or mathematical


model of a particular organization of data is called a data structure. The choice
of a particular data model depends on two considerations. First, it must be rich
enough in structure to mirror the actual relationships of the data in the real
world. On the other hand, the structure should be simple enough that one can
effectively process the data when necessary. In present system Record based
structure is used.
Although a file may be maintained by means of one or more arrays, a record,
where one indicates both group items, can best be described by means of a
tree structure.

For eg. A customer information may contain:


Customer id, Customer name ,Quantity,Price etc.

Customer
information

Customer
Id Price

Customer Quantity
Name

19
6.2 TABLES

LOG IN:-

20
CUSTOMER DETAILS:-

21
COMPANY DETAILS:-

22
SALES:-

23
STOCKS:-

24
STOCKIN:-

25
STOCKOUT:-

26
6.3 DATA FLOW DIAGRAMS

LEVEL 0:

27
LEVEL 1:

28
ER DIAGRAM:-

29
6.5 FORM DESIGN

LOG IN:-

30
ADMIN FORM:-

31
MANAGE CLIENTS:-

32
COMPANY:-

33
SELL:-

STOCK:-

34
6.6 SOURCE CODE
public partial class UserMst : Form
{
DS.DS_USER.UserMst_SelectDataTable UDT = new
DS.DS_USER.UserMst_SelectDataTable();
DS.DS_USERTableAdapters.UserMst_SelectTableAdapter UAdapter = new
MEDICAL.DS.DS_USERTableAdapters.UserMst_SelectTableAdapter();
public string username, strmenu; using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MEDICAL
{

public partial class Form1 : Form


{
DS.DS_USER.UserMst_SelectDataTable UDT = new
DS.DS_USER.UserMst_SelectDataTable();
DS.DS_USERTableAdapters.UserMst_SelectTableAdapter UAdapter = new
MEDICAL.DS.DS_USERTableAdapters.UserMst_SelectTableAdapter();
public string username;
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)


{

lbltime.Text = System.DateTime.Now.ToString();
lblday.Text = System.DateTime.Now.DayOfWeek.ToString();

foreach (Control ctl in this.Controls)


{
try
{
System.Windows.Forms.Control Mdi = (MdiClient)ctl;

Mdi.BackColor = System.Drawing.Color.DarkSeaGreen;
}
catch (Exception a)
{

}
}
}
35
private void btnlogin_Click(object sender, EventArgs e)
{
if (txtname.Text == "")
{

MessageBox.Show("Enter Login Name !", "Medical System");


}
else if (txtpass.Text == "")
{
MessageBox.Show("Enter Login Password !", "Medical System");
}
else
{
UDT = UAdapter.SelectForLOGIN(txtname.Text, txtpass.Text);
if(UDT.Rows.Count>0)
{ lblname.Text = "welcome " + txtname.Text;
username = txtname.Text;
txtname.Text = "";
txtpass.Text = "";
gplogin.Visible = false;
menulogout.Visible = true;
mENUToolStripMenuItem.Enabled = true;
sELLToolStripMenuItem.Enabled = true;
cLIENTSToolStripMenuItem.Enabled = true;
rEPORTSToolStripMenuItem.Enabled = true;
mANAGEUSERToolStripMenuItem.Enabled = true;
cOMPANYToolStripMenuItem.Enabled = true;

}
else
{
MessageBox.Show("Invalid LoginName OR Password !",
"Medical System");
}
}
}

private void menulogout_Click(object sender, EventArgs e)


{
closeExistingForm();
gplogin.Visible = true;
menulogout.Visible = false;
mENUToolStripMenuItem.Enabled = false;
sELLToolStripMenuItem.Enabled = false;
cLIENTSToolStripMenuItem.Enabled = false;
rEPORTSToolStripMenuItem.Enabled = false;
mANAGEUSERToolStripMenuItem.Enabled = false;
cOMPANYToolStripMenuItem.Enabled = false;

lblname.Text = "";
}

private void nEWToolStripMenuItem_Click(object sender, EventArgs e)


{
closeExistingForm();
Form additem = new ADDItem(username,"Add");
36
additem.MdiParent = this;
additem.Show();
}
private void closeExistingForm()
{
try
{
this.ActiveMdiChild.Close();
}
catch (Exception)
{

}
private void eXITToolStripMenuItem_Click(object sender, EventArgs e)
{
Application.Exit();
}

private void aDDNEWToolStripMenuItem_Click(object sender, EventArgs


e)
{
closeExistingForm();
Form additem = new UserMst(username,"Add");
additem.MdiParent = this;
additem.Show();
}

private void aDDNEWToolStripMenuItem1_Click(object sender, EventArgs


e)
{
closeExistingForm();
Form additem = new Company("Add");
additem.MdiParent = this;
additem.Show();

private void aDDNEWToolStripMenuItem2_Click(object sender, EventArgs


e)
{
closeExistingForm();
Form additem = new Client("Add");
additem.MdiParent = this;
additem.Show();

private void sELLToolStripMenuItem_Click(object sender, EventArgs e)


{
DS.DS_SALES.SALES_SELECTDataTable SDT = new
MEDICAL.DS.DS_SALES.SALES_SELECTDataTable();
DS.DS_SALESTableAdapters.SALES_SELECTTableAdapter SAdapter = new
MEDICAL.DS.DS_SALESTableAdapters.SALES_SELECTTableAdapter();
int del = SAdapter.Delete();
closeExistingForm();
37
Form additem = new SELL();
additem.MdiParent = this;
additem.Show();
}

private void timer1_Tick(object sender, EventArgs e)


{
lbltime.Text = System.DateTime.Now.ToString();

private void stockReportToolStripMenuItem_Click(object sender,


EventArgs e)
{
closeExistingForm();
Form srpt = new StockReport();
srpt.MdiParent = this;
srpt.Show();
}

private void sellReportToolStripMenuItem_Click(object sender,


EventArgs e)
{
closeExistingForm();
Form sellrpt = new SellReport();
sellrpt.MdiParent = this;
sellrpt.Show();
}

private void updateStockToolStripMenuItem_Click(object sender,


EventArgs e)
{
closeExistingForm();
Form additem = new ADDItem(username,"Update");
additem.MdiParent = this;
additem.Show();
}

private void totalStockReportToolStripMenuItem_Click(object sender,


EventArgs e)
{
closeExistingForm();
Form tsrpt = new TotalStockReport();
tsrpt.MdiParent = this;
tsrpt.Show();

private void deleteStockToolStripMenuItem_Click(object sender,


EventArgs e)
{
closeExistingForm();
Form additem = new ADDItem(username, "Delete");
additem.MdiParent = this;
additem.Show();
}

38
private void repotsToolStripMenuItem_Click(object sender, EventArgs
e)
{
closeExistingForm();
Form additem = new ADDItem(username, "View");
additem.MdiParent = this;
additem.Show();
}

private void dELETEToolStripMenuItem2_Click(object sender, EventArgs


e)
{
closeExistingForm();
Form additem = new Client("Delete");
additem.MdiParent = this;
additem.Show();
}

private void vIEWToolStripMenuItem_Click(object sender, EventArgs e)


{
closeExistingForm();
Form additem = new Client("View");
additem.MdiParent = this;
additem.Show();
}

private void dELETEToolStripMenuItem_Click(object sender, EventArgs


e)
{
closeExistingForm();
Form additem = new UserMst(username, "Delete");
additem.MdiParent = this;
additem.Show();
}

private void rEPORTSToolStripMenuItem1_Click(object sender,


EventArgs e)
{
closeExistingForm();
Form additem = new UserMst(username, "View");
additem.MdiParent = this;
additem.Show();
}

private void cHNAEGPASSWORDToolStripMenuItem_Click(object sender,


EventArgs e)
{
closeExistingForm();
Form additem = new UserMst(username, "Password");
additem.MdiParent = this;
additem.Show();
}

private void dELETEToolStripMenuItem1_Click(object sender, EventArgs


e)
{
closeExistingForm();
39
Form additem = new Company("Delete");
additem.MdiParent = this;
additem.Show();
}

private void rEPORTSToolStripMenuItem2_Click(object sender,


EventArgs e)
{
closeExistingForm();
Form additem = new Company("View");
additem.MdiParent = this;
additem.Show();
}

private void pictureBox1_Click(object sender, EventArgs e)


{

private void lbltitle_Click(object sender, EventArgs e)


{

private void mANAGEUSERToolStripMenuItem_Click(object sender,


EventArgs e)
{

}
}
}

USER CODE:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MEDICAL
{

public UserMst(string uname, string strmnu)


{
username = uname;
strmenu = strmnu;
InitializeComponent();
}

private void tabPage2_Click(object sender, EventArgs e)


{
40
}

private void label7_Click(object sender, EventArgs e)


{

private void button1_Click(object sender, EventArgs e)


{
if (txtname.Text == "")
{
MessageBox.Show("Error", "Medical System");
}
else if (txtpass.Text == "")
{
MessageBox.Show("Error", "Medical System");

}
else if (txtpass.Text != txtcpass.Text)
{
MessageBox.Show("Error", "Medical System");
}
else
{
int isrt = UAdapter.Insert(txtname.Text, txtpass.Text,
System.DateTime.Now.Date);
txtpass.Text = "";
txtname.Text = "";
txtcpass.Text = "";
MessageBox.Show("User Added Sucssesfully !!", "Medical
System");

private void tabControl1_SelectedIndexChanged(object sender,


EventArgs e)
{
if (tabControl1.SelectedIndex == 0)
{

}
else if (tabControl1.SelectedIndex == 1)
{
UDT = UAdapter.SelectUser();
comboBox1.DataSource = UDT;
comboBox1.DisplayMember = "U_Name";
comboBox1.ValueMember = "U_ID";
comboBox1.Text = "SELECT";

41
}
else if (tabControl1.SelectedIndex == 2)
{
UDT = UAdapter.SelectUser();
dataGridView1.DataSource = UDT;

}
else if (tabControl1.SelectedIndex == 3)
{

}
}

private void button2_Click(object sender, EventArgs e)


{
if (comboBox1.Text == username.ToString())
{
MessageBox.Show("You can't delete your profile !!",
"Medical System");
}
else
{
int del =
UAdapter.Delete(Convert.ToInt32(comboBox1.SelectedValue));
MessageBox.Show("User Deleted Successfuly !!",
"Medical System");
UDT = UAdapter.SelectUser();
comboBox1.DataSource = UDT;
comboBox1.DisplayMember = "U_Name";
comboBox1.ValueMember = "U_ID";
comboBox1.Text = "SELECT";
}
}

private void button3_Click(object sender, EventArgs e)


{
if (textBox1.Text == "")
{
MessageBox.Show("Error", "Medical System");

}
else if (textBox1.Text != textBox2.Text)
{
MessageBox.Show("Error", "Medical System");
}
else
{
UAdapter.UserMst_Update_password(username.ToString(),
textBox1.Text);
MessageBox.Show("Password has been changed !!",
"Medical System");
txtcpass.Text = "";
42
txtpass.Text = "";
}
}

private void UserMst_Load(object sender, EventArgs e)


{
if (strmenu == "Add")
{

tabControl1.SelectedIndex = 0;
}
else if (strmenu == "Delete")
{

tabControl1.SelectedIndex = 1;
}
else if (strmenu == "View")
{

tabControl1.SelectedIndex = 2;
}
else if (strmenu == "Password")
{

tabControl1.SelectedIndex = 3;
}

private void txtpass_TextChanged(object sender, EventArgs e)


{

private void label1_Click(object sender, EventArgs e)


{

}
}
}

43
CLINT CODE:-

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MEDICAL
{
public partial class UserMst : Form
{
DS.DS_USER.UserMst_SelectDataTable UDT = new
DS.DS_USER.UserMst_SelectDataTable();
DS.DS_USERTableAdapters.UserMst_SelectTableAdapter UAdapter =
new MEDICAL.DS.DS_USERTableAdapters.UserMst_SelectTableAdapter();
public string username, strmenu;
public UserMst(string uname, string strmnu)
{
username = uname;
strmenu = strmnu;
InitializeComponent();
}

private void tabPage2_Click(object sender, EventArgs e)


{

private void label7_Click(object sender, EventArgs e)


{

private void button1_Click(object sender, EventArgs e)


{
if (txtname.Text == "")
{
MessageBox.Show("Error", "Medical System");
}
else if (txtpass.Text == "")
{
MessageBox.Show("Error", "Medical System");

}
else if (txtpass.Text != txtcpass.Text)
{
MessageBox.Show("Error", "Medical System");
}
44
else
{
int isrt = UAdapter.Insert(txtname.Text, txtpass.Text,
System.DateTime.Now.Date);
txtpass.Text = "";
txtname.Text = "";
txtcpass.Text = "";
MessageBox.Show("User Added Sucssesfully !!", "Medical
System");

private void tabControl1_SelectedIndexChanged(object sender,


EventArgs e)
{
if (tabControl1.SelectedIndex == 0)
{

}
else if (tabControl1.SelectedIndex == 1)
{
UDT = UAdapter.SelectUser();
comboBox1.DataSource = UDT;
comboBox1.DisplayMember = "U_Name";
comboBox1.ValueMember = "U_ID";
comboBox1.Text = "SELECT";

}
else if (tabControl1.SelectedIndex == 2)
{
UDT = UAdapter.SelectUser();
dataGridView1.DataSource = UDT;

}
else if (tabControl1.SelectedIndex == 3)
{

}
}

private void button2_Click(object sender, EventArgs e)


{
if (comboBox1.Text == username.ToString())
{
MessageBox.Show("You can't delete your profile !!",
"Medical System");
}
else
{
45
int del =
UAdapter.Delete(Convert.ToInt32(comboBox1.SelectedValue));
MessageBox.Show("User Deleted Successfuly !!",
"Medical System");
UDT = UAdapter.SelectUser();
comboBox1.DataSource = UDT;
comboBox1.DisplayMember = "U_Name";
comboBox1.ValueMember = "U_ID";
comboBox1.Text = "SELECT";
}
}

private void button3_Click(object sender, EventArgs e)


{
if (textBox1.Text == "")
{
MessageBox.Show("Error", "Medical System");

}
else if (textBox1.Text != textBox2.Text)
{
MessageBox.Show("Error", "Medical System");
}
else
{
UAdapter.UserMst_Update_password(username.ToString(),
textBox1.Text);
MessageBox.Show("Password has been changed !!",
"Medical System");
txtcpass.Text = "";
txtpass.Text = "";
}
}

private void UserMst_Load(object sender, EventArgs e)


{
if (strmenu == "Add")
{

tabControl1.SelectedIndex = 0;
}
else if (strmenu == "Delete")
{

tabControl1.SelectedIndex = 1;
}
else if (strmenu == "View")
{

tabControl1.SelectedIndex = 2;
}
else if (strmenu == "Password")
46
{

tabControl1.SelectedIndex = 3;
}

private void txtpass_TextChanged(object sender, EventArgs e)


{

private void label1_Click(object sender, EventArgs e)


{

}
}
}

COMPANY CODE:-

47
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MEDICAL
{
public partial class Company : Form
{
DS.DS_COMPANY.CompanyMst_SelectDataTable CDT = new
MEDICAL.DS.DS_COMPANY.CompanyMst_SelectDataTable();
DS.DS_COMPANYTableAdapters.CompanyMst_SelectTableAdapter
CAdapter = new
MEDICAL.DS.DS_COMPANYTableAdapters.CompanyMst_SelectTableAdapter();
public string strmenu;
public Company(string strmnu)
{
strmenu = strmnu;
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)


{
int ist = CAdapter.Insert(txtname.Text, txtpersn.Text,
txtadd.Text, txtmobile.Text);
MessageBox.Show("Company Detail Addedd !!", "Medical
System");

txtname.Text = "";
txtpersn.Text = "";
txtadd.Text = "";
txtmobile.Text = "";
txtname.Focus();
}

private void tabControl1_SelectedIndexChanged(object sender,


EventArgs e)
{
if (tabControl1.SelectedIndex == 0)
{

}
else if (tabControl1.SelectedIndex == 1)
{

CDT = CAdapter.SelectComapny();
comboBox1.DataSource = CDT;
comboBox1.DisplayMember = "Cname";
48
comboBox1.ValueMember = "CID";
comboBox1.Text = "SELECT";
}
else if (tabControl1.SelectedIndex == 2)
{
CDT = CAdapter.SelectComapny();
dataGridView1.DataSource = CDT;
}
}

private void button2_Click(object sender, EventArgs e)


{
if (MessageBox.Show("Are you sure !! You want to
Delete !!", "Medical system", MessageBoxButtons.OKCancel) ==
DialogResult.OK)
{
int del =
CAdapter.Delete(Convert.ToInt32(comboBox1.SelectedValue));
MessageBox.Show("Delete Company !!", "Medical
System");
CDT = CAdapter.SelectComapny();
comboBox1.DataSource = CDT;
comboBox1.DisplayMember = "Cname";
comboBox1.ValueMember = "CID";
comboBox1.Text = "SELECT";

private void Company_Load(object sender, EventArgs e)


{
if (strmenu == "Add")
{
tabControl1.SelectedIndex = 0;
}
else if (strmenu == "Delete")
{
tabControl1.SelectedIndex = 1;

}
else if (strmenu == "View")
{
tabControl1.SelectedIndex = 2;
}

private void label1_Click(object sender, EventArgs e)


{

}
49
}
}

SELL CODE:-

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace MEDICAL
{
public partial class SELL : Form
{
DS.DS_SALES.SALES_SELECT_SUM_TOTALDataTable SUMDT = new
MEDICAL.DS.DS_SALES.SALES_SELECT_SUM_TOTALDataTable();
DS.DS_SALESTableAdapters.SALES_SELECT_SUM_TOTALTableAdapter
SUMAdapter = new
MEDICAL.DS.DS_SALESTableAdapters.SALES_SELECT_SUM_TOTALTableAdapter();

DS.DS_CLIENT.ClientMst_SelectDataTable CDT = new


MEDICAL.DS.DS_CLIENT.ClientMst_SelectDataTable();
DS.DS_CLIENTTableAdapters.ClientMst_SelectTableAdapter CAdapter =
new MEDICAL.DS.DS_CLIENTTableAdapters.ClientMst_SelectTableAdapter();

DS.DS_SALES.SALES_SELECTDataTable SDT = new


MEDICAL.DS.DS_SALES.SALES_SELECTDataTable();
DS.DS_SALESTableAdapters.SALES_SELECTTableAdapter SAdapter = new
MEDICAL.DS.DS_SALESTableAdapters.SALES_SELECTTableAdapter();

DS.DS_ITEM.StockInMst_SelectDataTable IDT = new


MEDICAL.DS.DS_ITEM.StockInMst_SelectDataTable();
DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter IAdapter = new
MEDICAL.DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter();

DS.DS_STOCK.StockMst_SelectDataTable StockDT = new


MEDICAL.DS.DS_STOCK.StockMst_SelectDataTable();
DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter StockAdapter =
new MEDICAL.DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter();

DS.DS_SOUT.StockOutMst_SelectDataTable SOotDT = new


MEDICAL.DS.DS_SOUT.StockOutMst_SelectDataTable();
DS.DS_SOUTTableAdapters.StockOutMst_SelectTableAdapter SOutAdapter =
new MEDICAL.DS.DS_SOUTTableAdapters.StockOutMst_SelectTableAdapter();
public SELL()
{
InitializeComponent();
}

private void groupBox1_Enter(object sender, EventArgs e)


50
{

private void SELL_Load(object sender, EventArgs e)


{
int del = SAdapter.Delete();
SqlConnection con = new SqlConnection("Data
Source='.\\SQLEXPRESS';Integrated Security='true';Initial
Catalog='MEDICAL'");
SqlCommand cmd = new SqlCommand("SELECT I_name FROM StockInMst",
con);
con.Open();
SqlDataReader reader = cmd.ExecuteReader();
AutoCompleteStringCollection SCollection = new
AutoCompleteStringCollection();
while (reader.Read())
{
SCollection.Add(reader.GetString(0));
}
txtiname.AutoCompleteCustomSource = SCollection;
con.Close();

CDT = CAdapter.SelectClient();
comboBox1.DataSource = CDT;
comboBox1.DisplayMember = "cu_name";
comboBox1.ValueMember = "cu_id";
}

private void gvsales_CellContentClick(object sender,


DataGridViewCellEventArgs e)
{
try
{
if (gvsales.Rows[e.RowIndex].Cells[4].Selected == true)
{

string namee =
gvsales.Rows[e.RowIndex].Cells[0].Value.ToString();
SAdapter.SALES_DELETE_by_name(namee);
// STADapter.DeleteById(Convert.ToInt32(m));
// BindGrid();

SDT = SAdapter.SelectBy_PNAME(txtpname.Text);
gpdispatch.Visible = true;
gvsales.AutoGenerateColumns = false;
gvsales.DataSource = SDT;

SUMDT = SUMAdapter.SelectTotla();
lblqnt.Text = SUMDT.Rows[0]["qnt"].ToString();
lbltprice.Text = SUMDT.Rows[0]["Tprice"].ToString();
}

}
catch (Exception )
51
{ }
}

private void txtiname_KeyDown(object sender, KeyEventArgs e)


{

private void txtiname_TextChanged(object sender, EventArgs e)


{

private void txtiname_KeyPress(object sender, KeyPressEventArgs e)


{

private void txtiname_Leave(object sender, EventArgs e)


{
if (txtiname.Text != "")
{
label8.Text = txtiname.Text;
StockDT = StockAdapter.SelectBY_INAME(txtiname.Text);
IDT = IAdapter.SelectByINmae(txtiname.Text);
if (StockDT.Rows.Count > 0)
{
if (StockDT.Rows[0]["AvailableQuantity"].ToString() ==
"0")
{
MessageBox.Show("No Enought Quantity !!", "Medical
System");
}
else
{

SDT = SAdapter.SelectBY_NAME(txtiname.Text);
if (SDT.Rows.Count > 0)
{

SDT = SAdapter.SelectBY_NAME(txtiname.Text);

int exiqnt =Convert.ToInt32( SDT.Rows[0]


["Quantity"].ToString());
if (Convert.ToInt32(StockDT.Rows[0]
["AvailableQuantity"].ToString()) > exiqnt)
{
int QNT = Convert.ToInt32(SDT.Rows[0]
["Quantity"].ToString()) + 1;
double TPRICE = Convert.ToInt32(SDT.Rows[0]
["Price"].ToString()) * QNT;
int existsalseupdate =
SAdapter.Update(txtiname.Text, QNT.ToString(), TPRICE);

}
else
52
{
MessageBox.Show("No Enought Quantity",
"Medical system");
}

}
else
{
lblq.Text = StockDT.Rows[0]
["AvailableQuantity"].ToString();
lblp.Text = IDT.Rows[0]["I_Price"].ToString();
lbll.Text = IDT.Rows[0]
["I_location"].ToString();
txtq.Text = "1";

double tprice = Convert.ToDouble(IDT.Rows[0]


["I_Price"].ToString());
int salinst = SAdapter.Insert(txtpname.Text,
txtiname.Text, tprice, 1, tprice);
}
SDT = SAdapter.SelectBy_PNAME(txtpname.Text);
gpdispatch.Visible = true;
gvsales.AutoGenerateColumns = false;
gvsales.DataSource = SDT;

SUMDT = SUMAdapter.SelectTotla();
lblqnt.Text = SUMDT.Rows[0]["qnt"].ToString();
lbltprice.Text = SUMDT.Rows[0]["Tprice"].ToString();

}
gpdispatch.Visible = true;
}
else
{
MessageBox.Show("Item Not Available !!", "Medical
System");
}
}
// txtiname.Text = "";
// txtiname.Focus();
}

private void txtiname_DragEnter(object sender, DragEventArgs e)


{

private void txtiname_Click(object sender, EventArgs e)


{

private void comboBox1_SelectedIndexChanged(object sender, EventArgs


e)
{
53
txtpname.Text = comboBox1.Text;
}

private void label1_Click(object sender, EventArgs e)


{

private void txtq_TextChanged(object sender, EventArgs e)


{

private void txtq_Leave(object sender, EventArgs e)


{
if (txtq.Text != "")
{
StockDT = StockAdapter.SelectBY_INAME(label8.Text);
IDT = IAdapter.SelectByINmae(label8.Text);
if (StockDT.Rows.Count > 0)
{

if (StockDT.Rows[0]["AvailableQuantity"].ToString() ==
"0")
{
MessageBox.Show("No Enought Quantity !!", "Medical
System");
}
else
{

SDT = SAdapter.SelectBY_NAME(label8.Text);
if (SDT.Rows.Count > 0)
{
SDT = SAdapter.SelectBY_NAME(label8.Text);

int exiqnt = Convert.ToInt32(SDT.Rows[0]


["Quantity"].ToString());
int qntt = exiqnt + Convert.ToInt32(txtq.Text);
if (Convert.ToInt32(StockDT.Rows[0]
["AvailableQuantity"].ToString()) > qntt)
{
// int QNT = Convert.ToInt32(SDT.Rows[0]
["Quantity"].ToString()) + 1;
double TPRICE = Convert.ToInt32(SDT.Rows[0]
["Price"].ToString()) * qntt;
int existsalseupdate =
SAdapter.Update(label8.Text, qntt.ToString(), TPRICE);
SDT =
SAdapter.SelectBy_PNAME(txtpname.Text);
gpdispatch.Visible = true;
gvsales.AutoGenerateColumns = false;
gvsales.DataSource = SDT;

SUMDT = SUMAdapter.SelectTotla();

54
lblqnt.Text = SUMDT.Rows[0]
["qnt"].ToString();
lbltprice.Text = SUMDT.Rows[0]
["Tprice"].ToString();
}
else
{
MessageBox.Show("No Enought Quantity",
"Medical system");
}

}
}
}

private void button1_Click(object sender, EventArgs e)


{
if (MessageBox.Show("Are you sure !! You want to Confirm this
Order !!", "Medical system", MessageBoxButtons.OKCancel) == DialogResult.OK)
{
if (gvsales.Rows.Count == 0)
{
MessageBox.Show("Enter Some Item First !!");
}
else
{
SDT = SAdapter.SelectBy_PNAME(txtpname.Text);

for (int i = 0; i < SDT.Rows.Count; i++)


{
int sout = SOutAdapter.Insert(txtpname.Text,
SDT.Rows[i]["IName"].ToString(), Convert.ToInt32(SDT.Rows[i]
["Quantity"].ToString()), Convert.ToDouble(SDT.Rows[i]["Price"].ToString()),
Convert.ToDouble(SDT.Rows[i]["TPrice"].ToString()), 0,
System.DateTime.Now.Date);

StockAdapter.StockMst_SELL_Update_Quantity(Convert.ToInt32(SDT.Rows[i]
["Quantity"].ToString()), Convert.ToDouble(SDT.Rows[i]
["TPrice"].ToString()),SDT.Rows[i]["IName"].ToString());
}

int del = SAdapter.Delete();

MessageBox.Show("Your Order has been Submitted !!",


"Medical System");

gvsales.DataSource= null;
}
gpdispatch.Visible = false;
}
55
}

private void button2_Click(object sender, EventArgs e)


{
if (MessageBox.Show("Are you sure !! You want to Cancel this
Order !!", "Medical system", MessageBoxButtons.OKCancel) == DialogResult.OK)
{
int del = SAdapter.Delete();
gpdispatch.Visible = false;

}
}

private void label3_Click(object sender, EventArgs e)


{

}
}
}

SELL REPORT:-

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace MEDICAL
{
public partial class SellReport : Form
{
//DS.DS_STOCK.StockMst_SelectDataTable SDT = new
DS.DS_STOCK.StockMst_SelectDataTable();
//DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter SAdapter =
new DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter();
//DS.DS_ITEM.StockInMst_SelectDataTable IDT = new
MEDICAL.DS.DS_ITEM.StockInMst_SelectDataTable();
//DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter IAdapter =
new MEDICAL.DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter();

DS.DS_CLIENT.ClientMst_SelectDataTable CDT = new


DS.DS_CLIENT.ClientMst_SelectDataTable();
DS.DS_CLIENTTableAdapters.ClientMst_SelectTableAdapter CAdapter =
new DS.DS_CLIENTTableAdapters.ClientMst_SelectTableAdapter();

DS.DS_SOUT.StockOutMst_SelectDataTable SOotDT = new


MEDICAL.DS.DS_SOUT.StockOutMst_SelectDataTable();
DS.DS_SOUTTableAdapters.StockOutMst_SelectTableAdapter SOutAdapter =
new MEDICAL.DS.DS_SOUTTableAdapters.StockOutMst_SelectTableAdapter();
public SellReport()
{
56
InitializeComponent();
}

private void SellReport_Load(object sender, EventArgs e)


{
SqlConnection con = new SqlConnection("Data
Source='.\\SQLEXPRESS';Integrated Security='true';Initial
Catalog='MEDICAL'");
SqlCommand cmd = new SqlCommand("SELECT I_name FROM StockInMst",
con);
con.Open();
SqlDataReader reader = cmd.ExecuteReader();
AutoCompleteStringCollection SCollection = new
AutoCompleteStringCollection();
while (reader.Read())
{
SCollection.Add(reader.GetString(0));
}
txtiname.AutoCompleteCustomSource = SCollection;
con.Close();

SqlCommand cmdd = new SqlCommand("SELECT cu_name FROM


clientmst", con);
con.Open();
SqlDataReader readerr = cmdd.ExecuteReader();
AutoCompleteStringCollection SCollectionn = new
AutoCompleteStringCollection();
while (readerr.Read())
{
SCollectionn.Add(readerr.GetString(0));
}
txtcname.AutoCompleteCustomSource = SCollectionn;
con.Close();
}

private void btncustsearch_Click(object sender, EventArgs e)


{
txtiname.Text = "";
SOotDT = SOutAdapter.Select_by_Clintname(txtcname.Text);
GVReports.DataSource = SOotDT;
}

private void btnitemsearch_Click(object sender, EventArgs e)


{
txtcname.Text = "";
SOotDT = SOutAdapter.Select_by_Iname(txtiname.Text);
GVReports.DataSource = SOotDT;
}

private void label1_Click(object sender, EventArgs e)


{

}
}
}

57
STOCK:-

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace MEDICAL
{

public partial class StockReport : Form


{
DS.DS_STOCK.StockMst_SelectDataTable SDT = new
DS.DS_STOCK.StockMst_SelectDataTable();
DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter SAdapter = new
DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter();
DS.DS_ITEM.StockInMst_SelectDataTable IDT = new
MEDICAL.DS.DS_ITEM.StockInMst_SelectDataTable();
DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter IAdapter = new
MEDICAL.DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter();

public StockReport()
{
InitializeComponent();
}

private void btncomsearch_Click(object sender, EventArgs e)


{
txtiname.Text = "";
//SDT = SAdapter.SelectBY_INAME(txtiname.Text);
IDT = IAdapter.Select_By_CNAME(txtcname.Text);
GVReports.DataSource = IDT;
}

private void btnitemsearch_Click(object sender, EventArgs e)


{
txtcname.Text = "";
//SDT = SAdapter.SelectBY_INAME(txtiname.Text);
IDT = IAdapter.SelectByINmae(txtiname.Text);
GVReports.DataSource = IDT;

private void StockReport_Load(object sender, EventArgs e)


{
SqlConnection con = new SqlConnection("Data
Source='.\\SQLEXPRESS';Integrated Security='true';Initial
Catalog='MEDICAL'");
SqlCommand cmd = new SqlCommand("SELECT I_name FROM StockInMst",
con);

58
con.Open();
SqlDataReader reader = cmd.ExecuteReader();
AutoCompleteStringCollection SCollection = new
AutoCompleteStringCollection();
while (reader.Read())
{
SCollection.Add(reader.GetString(0));
}
txtiname.AutoCompleteCustomSource = SCollection;
con.Close();

SqlCommand cmdd = new SqlCommand("SELECT cname FROM companymst",


con);
con.Open();
SqlDataReader readerr = cmdd.ExecuteReader();
AutoCompleteStringCollection SCollectionn = new
AutoCompleteStringCollection();
while (readerr.Read())
{
SCollectionn.Add(readerr.GetString(0));
}
txtcname.AutoCompleteCustomSource = SCollectionn;
con.Close();
}

private void label1_Click(object sender, EventArgs e)


{

}
}
}

TOTAL STOCK:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace MEDICAL
{
public partial class TotalStockReport : Form
{
DS.DS_STOCK.StockMst_SelectDataTable SDT = new
DS.DS_STOCK.StockMst_SelectDataTable();
DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter SAdapter = new
DS.DS_STOCKTableAdapters.StockMst_SelectTableAdapter();

59
DS.DS_ITEM.StockInMst_SelectDataTable IDT = new
MEDICAL.DS.DS_ITEM.StockInMst_SelectDataTable();
DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter IAdapter = new
MEDICAL.DS.DS_ITEMTableAdapters.StockInMst_SelectTableAdapter();

public TotalStockReport()
{
InitializeComponent();
}

private void btnitemsearch_Click(object sender, EventArgs e)


{

//SDT = SAdapter.SelectBY_INAME(txtiname.Text);
SDT = SAdapter.SelectBY_INAME(txtiname.Text);
GVReports.DataSource = SDT;
}

private void btncompsearch_Click(object sender, EventArgs e)


{

private void TotalStockReport_Load(object sender, EventArgs e)


{
SqlConnection con = new SqlConnection("Data
Source='.\\SQLEXPRESS';Integrated Security='true';Initial
Catalog='MEDICAL'");
SqlCommand cmd = new SqlCommand("SELECT I_name FROM StockInMst",
con);
con.Open();
SqlDataReader reader = cmd.ExecuteReader();
AutoCompleteStringCollection SCollection = new
AutoCompleteStringCollection();
while (reader.Read())
{
SCollection.Add(reader.GetString(0));
}
txtiname.AutoCompleteCustomSource = SCollection;
con.Close();

SDT = SAdapter.SelectStock();
GVReports.DataSource = SDT;

6.7 OUTPUT

60
LOG IN:

USERS

61
62
63
64
65
7. SOFTWARE TESTING

Testing of the software as a mean of accessing or measuring the software to


determine its quality.
The area of testing is one of the key process area in ensuring the quality of the
software known as Software Quality Assurance (SQA).
Testing is done with one primary objective to ensure the quality of the
software before it is actually implemented.
The main purpose of testing from developer’s point of view is to gain
confidence. If no error are found at least he is sure that product under
development is meeting it required goal in terms of quality.
There is no way to find when to stop testing however people have following
certain norms and guidelines over the course of time. They are as follows.
When the rate of finding error has reached an acceptable level. Based on the
size of the system, “enough” error have been found where “enough” can be a
quantitative parameter based on historical data.
Measuring coverage of testing as percentage of line executed divided by total
number of lines in the system. If the percentage id below acceptable limits,
then the test plans have to be enhanced to test areas where code not been
tested.

7.1 VALIDATION TESTING


In validation testing we ensure that all the data entered was displayed properly
on the view screen and that we got expected result .

7.2 INTEGRATION TESTING


The last step was to integrate the various modules in the software.
We implemented top-down integration was performed in five steps:
 The main control module was used as test drive and stubs were
substituted for all component directly subordinate to the main control
module.
 Depending on depth first search subordinate stubs was replaced with
actual component. Tests were conducted as each component with real
component. Integration testing was conducted to ensure execution of
some subset of tests have already been conducted had not propagated
unintended side effects. On completion of each set of tests, another
stub id replace with real component.

66
8. VALIDATION

One of the most important phases of project management is known as


validation.

The process of validation generally occurs as one step or multiple steps of the
process, usually in stages and it is used to determined if the project is meeting
specification.

The specification of the project highly detailed, and it is up to the project


manager to evaluate the validation process to be sure the project is meeting
the requirements.

67
9. SYSTEM SECURITY MEASURES

In this system, several measures have been taken to provide some security.
Loss of confidentiality is reduced to a great extent.

The facility to impose strict authorization is completely in the hands of the


system administrator.

He/She has the full authority to add or delete user to and from the system
respectively. The software used for this system include the username and
password, so the security is provided.

When anyone opens the software it has the provision for entering username
and password. We have to enter the correct username and password; otherwise
we cannot enter into the system. Username and Password is saved in system
database for security.

68
10. IMPLEMENTATION AND MAINTENANCE

The implementation or installation as it is called is concerned with actually


installing the system on the operator’s computer system and then testing it. In
the implementation phase, the actual working system is developed according
to the design phase.
This is the most important stage where both system and user are considered.
During implementation, the components built during development are put into
operational user.
Some of the following activities which take place during system
implementation phase are
1. Writing testing, debugging documenting programs.
2. Conversing data from old to new system.
3. Giving training to operator about how to operate the system.
4. Ordering installing any new hardware.
5. Developing operating procedure for computer center staff.
6. Establishing a maintenance procedure to repair and enhance the system.
7. Completing system documentation.
8. Evaluating the final system to make sure it is fulfilling original need that it
began operation on time and within budget.

69
11.FUTURE PROJECT SCOPE OF THE
Our “Medical Shop Management System” is according to the need of the
organization. Though the project is made by considering the users name there
are some limitations of the project, which can be modified in the future.

1) Our system is offline but in future we can make it online.


2) When it becomes online then it will provide the various facilities to users.
3) The user can do online request for services.
4) The user can do online payment towards the services they used.

The programmer, while creating any project needs to keep in mind that, not
only the user requirements of the present project but also the future scope of
the project, that is, the expansion of the project to meet more user
requirements .

We have kept this in mind and prepared the project more exclusively to be
more user friendly, advanced, requirements of the current IT age. Our project
also has other facilities that make it easy to use and implement in the day-to-
day life.

Furthermore, this project is user-friendly. So that, a person who is an end-user


in computer world, can also easily access through this project. It is made in
keeping all above said in mind. That it will acquire the future scope of it.

70
12. SUGGESTIONS AND CONCLUSIONS

This system is user-friendly software for service provider. It has been designed
to automate, manage and look after the over-all processing.

It is capable of providing easy and effective storage of information related to


activities happening in the stipulated area. With these the objective of the
system design will be achieved.

In order to allow for future expansion, the system has been designed in such a
way that will allow possible modification has it may deem necessary by the
medicine store management, whenever the idea arises.

71
13. BIBLIOGRAPHY AND REFERENCES

BOOKS AUTHOR
C# 5.0 IN A NUTSHEL JOSEPH ALBAHARI
HEAD FIRST C# JENNIFER GEENE
MURACHS C# 2012 JOEL MURACH.

REFERENCE:

www.codeproject.com
www.developers.com
www.codecademy.com

72

You might also like