Sie sind auf Seite 1von 100

YASHWANTRAO CHAVAN MAHARASHTRA

OPEN UNIVERSITY (YCMOU), NASHIK

Final Year BCA Project

PROJECT REPORT

M.P.TRADING
SUBMITTED BY

NAME OF THE PRN NO


STUDENT

NARENDRA PAL 2015017000377472

AMIR KHAN 2015017000917941

Academic Year 2017 – 2018

T.Y.BCA
PROJECT GUIDE

Ms. Pratibha Atkar & Ms. Pooja Panchal

1
CERTIFICATE OF EVALUATION
This is to certify that the undersigned have
assessed and evaluated the Project Work titled,

M.P.TRADING
SUBMITTED BY

NAME OF THE PRN NO


STUDENT

Narendra pal 2015017000377472

Amir Khan 2015017000917941

The Project Report has been accepted for the


Fulfillment of BCA Program

Name of Examiner Signature of Examiner

Stamp of Study Center

2
CERTIFICATE OF COMPLETION

This is to certify that the below given student of BCA


have completed the Project work titled,

M.P.TRADING
Under my Guidance and Supervision, The Project Report
has been written according to the guidelines provided
by the,

YASHWANTRAO CHAVAN MAHARASHTRA


OPEN UNIVERSITY (YCMOU), NASHIK

STUDENT NAME PRN NO

Narendra Pal 2015017000377472

Amir Khan 2015017000917941


___________________
Signature of HOD
[RAJESH.VISHWAKARMA]

___________________
Guide
[Ms. PRATIBHA ATKAR]
[Ms. POOJA PANCHAL]
Stamp of Study Center
3
ACKNOWLEDGEMENT

It is my sincere thanks to all who are in debt to my


project. Through acknowledgement it is my privilege
and prestige to thank to all those for giving out their
precious and valuable time for making my project more
live and successful.

I would also like express my gratitude to those who


gave me the hope and possibility to complete my
project. Also I would like to thank the people of St.
Angelo’s i.e. Head of Department, Mr.
RAJESH.VISHWAKARMA for making the moves to next
level and guided me to work on unique concepts. And
last but not the least; I would also give my sincere
thanks to Ms. PRATIBHA ATKAR & Ms. POOJA
PANCHAL the guide of my project for helping me to
understand the difficult codes and also encouraging me
to go ahead with the project.

Thanks to all for their support, help, interests and


valuable hints.

THANK YOU!!

4
M.P.TRADING

INDEX
 SYNOPSIS
 Introduction
 Objective
 Modules
 Scope
 Technology Used
 Functionality
 SOFTWARE REQUIREMENT SPECIFICATION
 MODEL USED
 FEASIBILITY STUDY
 Analysis
 Working of Present Manual System
 Drawback of Present System
 Proposed System
 Overview of Languages

 DATA TABLES
 Administrator

5
 User Info
 Purpose
 Cancel Info
 Feedback
 Dates
 Payment

 Project Definitions
 DESIGN
 Architecture Diagram
 Entity Relation Diagram
 Context Diagram
 Data Flow Diagram
 Use Case Diagram
 SCREEN SHOTS OF M.P.TRADING
 CODING OF M.P.TRADING
 FUTURE SCOPE
 Future Scope of Application

 CONCLUSION

 REFERENCE

6
SYNOPSIS

Introduction
A M.P.Trading system act as a delivery and import and export firm which
provide the facilities to customer according to their needs and the requirement
The records of all User’s as well as the information about the product and is
maintained manually on registers. The M.P.Trading is crucial to the success of
any kind of modern business organization, and hence projects are constantly
being developed to make business more competitive.
In this project report we have tried to show the various phases of project
development like Analysis, Design and coding. We have included graphical
representations like Entity Relationship diagram, Sequence Diagram,
Deployment Diagram etc. and also Related Images, Screen Layouts and Report
Layouts.

Project development and implementations is increasingly technology specific


and because of the diverse development environments in the real world we have
tried to make this project up to today’s expectations. Learning project
development today therefore requires an appreciation of the tried-and true
techniques widely embraced by the experienced analysis plus the mastery of
new and emerging tools and is increasingly expected to apply in their project.

In the present organization there is no any proper arrangement or management of


the stored records of the stock, staffs, bills and customers. So it is very time
consuming when finding a particular type of the record or data.

This project is used to store all the details regarding the items.

This project will handle all type of delivery, and very much concentrate in
trading.

It will generate all possible reports, which are need by Consulate.

7
Existing System:
 Less Efficiency and accuracy due to lot of manual entries
 More Time Delay for payments.
 Increased expenditure for storage
 Lag of information while enquire about particular employee
 Increased in Labor

 OBJECTIVE

The main objective of the application is to automate the existing system

of manually mai ntaing the records of the applications maint

enance fee collection receipts, processing invoice etc. The proposed

software help to store all data digitally and can be searched with in no

time compare to the manual searching.

The modules involved in this project are:

 Login Form – This form enables a user especially Administrator to

gain access to this software.

 User details Form – To keep track of the User’s details.

8
 User Information Form– To keep track of new or existing User

in the trading System.

 Available stock –Allow user to check the availability of stock

 Cancel stock – This form stores the specified user can be cancel

stock by user Id. .

 Renewal stock Form– To renew the stock of a firm.

 Approve stock– To store the details of a User that approve for the

quality

 Delivery Dates– To store the information required for Delivery

Dates .

 User Delivery Status– Display the status of the user and help them

to track easily.

 Cancel Dates– When the order are cancelled get displayed here in

this page.

 Stock type– The user stock type(Dried Raisins or Normal)

 About Us Form – The form displaying details about Trading

system WebApplication.

9
 Contact Us Details Form– This form shows the trading contact

details.

 Feedback – This form shows the anyone user surfing this service to

write a something self opinion (User Interaction).

 Feedback Details Form– This form shows the feedback details only

see this admin.

MODEL USED

ITERATIVE MODEL AS CONVENTIONAL PROCESS


MODEL FOR PROCESS

AIM

To provide iterative model as conventional model for trading system for


Analysis, Design, Coding, Testing and Maintenance.

WATERFALL MODEL

Waterfall Model is one of the most widely used Software Development Process.
It is also called as "Linear Sequential model" or the "classic life cycle" or
iterative model. It is widely used in the commercial development projects. It is
called so because here, we move to next phase (step) after getting input from
previous phase, like in a waterfall, water flows down to from the upper steps.
The basic waterfall model consists of 2 phases: Analysis & Coding

10
It is further break down into in four stages: ANALYSIS, DESIGN, CODING
AND TESTING.

It is further break down into in seven stages to manage & control the intellectual
freedom associated with software development i.e.

1) System Requirement
2) Software Requirement
3) Analysis
4) Program Design
5) Coding
6) Testing
7) Operations

11
SYSTEM REQUIREMENT

 Identify, select and document functional, scheduling and


financial requirements.
 It defines the purpose of the information system.
 The deliverable at the end of this stage is the feasibility study.

12
SOFTWARE REQUIREMENT

 Identify, select and document the software features necessary to


satisfy the system requirements.
 A deliverable at the end of this stage is the software requirements
document.
 Another deliverable is the preliminary design specification.

Analysis

 Methodically work through the details of each requirement.


 Document inputs, outputs, processing and algorithms.
 Resolve problems, handle dependencies and develop plans to mitigate
risks.

Program Design

 Use programming techniques to design software and hardware within


the constraints and objectives set in the earlier stages.
 A deliverable at the end of this stage is the design specification.
 Another deliverable is the test plan.

Coding

 Implement the program as designed in the earlier stages.


 The deliverable at the end of this stage is the software program.

Testing

 Test the software and record the results.


 A deliverable at the end of this stage is the updated test plan.
 Another deliverable is the updated design specification.

13
Operations

 The deliverable at the start of this stage is the operating manual.


 Deliver, install and configure the completed software.
 Provide maintenance and support of the software.

ADVANTAGES OF WATERFALL MODEL

 This model is simple and easy to understand and use.


 It is easy to manage due to the rigidity of the model – each phase has
specific deliverables and a review process.
 In this model phases are processed and completed one at a time.
Phases do not overlap.
 Waterfall model works well for smaller projects where requirements
are very well understood.

DISADVANTAGES OF WATERFALL MODEL

 Once an application is in the testing stage, it is very difficult to go


back and change something that was not well-thought out in the
concept stage.
 No working software is produced until late during the life cycle.
 High amounts of risk and uncertainty.
 Not a good model for complex and object-oriented projects.
 Poor model for long and ongoing projects.
 Not suitable for the projects where requirements are at a moderate to
high risk of changing.

14
WHEN TO USE THE WATERFALL MODEL

 This model is used only when the requirements are very well known,
clear and fixed.
 Product definition is stable.
 Technology is understood.
 There are no ambiguous requirements
 Ample resources with required expertise are available freely
 The project is short.

ITERATIVE MODEL

In Iterative model, iterative process starts with a simple implementation of a


small set of the software requirements and iteratively enhances the evolving
versions until the complete system is implemented and ready to be deployed.

An iterative life cycle model does not attempt to start with a full specification of
requirements. Instead, development begins by specifying and implementing just
part of the software, which is then reviewed in order to identify further
requirements. This process is then repeated, producing a new version of the
software at the end of each iteration of the model.

In incremental model the whole requirement is divided into various builds.


During each iteration the development module goes through the requirements,
design, implementation and testing phases. Each subsequent release of the
module adds function to the previous release. The process continues till the
complete system is ready as per the requirement.

The key to successful use of an iterative software development lifecycle is


rigorous validation of requirements, and verification & testing of each version

15
of the software against those requirements within each cycle of the model. As
the software evolves through successive cycles, tests have to be repeated and
extended to verify each version of the software.

Iterative Model

PHASES OF ITERATIVE MODEL

HIGH LEVEL ANALYSIS

It includes the following tasks:

1) Vision

The Vision Technologies (Vision) software engineering team uses a


disciplined approach to design, develop, integrate, operate, and maintain
software and Web applications. This structured approach, which draws upon

16
the principles of SEI/CMMI, allows us to provide our clients with
applications that meet their unique needs. We have full-spectrum experience,
from open source to commercial off-the-shelf (COTS) and government off-
the-shelf (GOTS) applications. Beyond that, we are fully capable of specialty
design, integrating disparate software packages, and customizing
functionality.

2) Domain Analysis
Formulate the scope of the project. Plan and prepare the business case.
With the Vision as a guide, we define our risk mitigation strategy,
develop an initial project plan, and identify known cost, schedule, and
profitability trade-offs.

3) Architecture Design
Determine the Architecture of the System or the Changes that needs to be
done.

4) Project environment
Determines the physical resources, software tools, and procedures the
team will follow.

5) Use Case Models


Actors & their roles are defined.

17
DESIGN

Propose design of the first iteration or prototype to be developed. Tools such as


flowcharts, Algorithms, IPO (input processing & output), HIPO (Hierarchy
IPO), Data flow diagrams and Control flow diagrams etc. are used.

IMPLEMENTATION

Implementation of proposed system is done with the Existing System and


slowly replaces it with older one & then totally replace it old one.

INTEGRATION

All components are gathered and are integrated together. An Integration testing
is done to ensure the proper working of system.

DEPLOYMENT

User Acceptance testing is conducted & is deployed to fully functional area.

These phases are repeated for each build & a feedback is gathered from user to
keep the project in track.

ADVANTAGES OF ITERATIVE MODEL

 In iterative model we can only create a high-level design of the


application before we actually begin to build the product and define
the design solution for the entire Software.
 People and interactions are emphasized rather than process and tools.
 Customers, developers and testers constantly interact with each other.
 Working software is delivered frequently (weeks rather than months).
 Face-to-face conversation is the best form of communication.
 Close daily co-operation between business people and developers.
 Continuous attention to technical excellence and good design.

18
 Regular adaptation to changing circumstances.
 Even late changes in requirements are welcomed

DISADVANTAGES OF ITERATIVE MODEL

 In case of some software deliverables, especially the large ones, it is


difficult to assess the effort required at the beginning of the software
development life cycle.
 There is lack of emphasis on necessary designing and documentation.
 The project can easily get taken off track if the customer
representative is not clear what final outcome that they want.
 Only senior programmers are capable of taking the kind of decisions
required during the development process. Hence it has no place for
newbie programmers, unless combined with experienced resources.

 Each phase of iteration is rigid with no overlaps.

WHEN TO USE ITERATIVE MODEL


 Requirements of the complete system are clearly defined and
understood.
 When the project is big.
 Major requirements must be defined; however, some details can
evolve with time.

19
WHY ITERATIVE MODEL?

Characteristics Iterative Model Waterfall Model

Risks Less High

Product Quality Low in 1st iteration & Once Developed


Obtained gradually increases difficult to
with successful reverse changes
iterations hence low
quality

Prototype Prototype achieved at NO prototype is


early stage developed until
late stages

Time Less More time

Customer Due to early Less Customer


satisfaction prototype customer satisfaction
satisfaction is
achieved

Scalability Highly Scalable Less Scalable

Used when Project is big & Project is small.


complex

20
CONCLUSION

Hence Iterative is suitable for my project as it helps to achieve Changes &


avoids risks or at least reduces it.

21
FEASIBILITY
STUDY
 Economic Feasibility:
Helps organizations assess the viability, cost, and benefits associated
with projects before financial resources are allocated. It also serves as
an independent project assessment, and enhances project credibility, as a
result. It helps decision-makers determine the positive economic benefits
to the organization that the proposed system will provide.

Technical Feasibility:
It involves analysing the technical requirements such as hardware and
software requirements.

 Social feasibility:
The implementation of the system is not going to change the complete work
style of the operational user. It will not affect the trading system, admin,
authorities and relationships of the user. As there are computer literate
people it will be easy for them to handle.

22
SYSTEM
ANALYSIS
1. Fact Finding Techniques:

Fact finding technique is one of the parts the system analysis. Fact finding
technique is basically used for finding and knowing the gather in system. For
gathering information system analyst prefers any fact finding technique such as
 Study Of Existing System:

 In existing system everything was done manually, for ordering stock. One h

if he doesn’t get his number on that particular day then he has to come back

for the next day, and has to follow the procedure of standing in the queue.

So it a time consuming process and it has various other issues like providing

fresh and backup stock.

 Government Office:
 In this option there was a huge process and time consuming by the officers
who takes a lot times to pass the custom trading tax
 Indirect method:
 In this method there was some indirect method which is illegal.
 So we should use this system instead of any indirect method.
 Customer:
 If any customer want to get stock/product then there was a
huge process, and time consuming.
23
 Product list was done with Emails and Manual file works.

 Limitations of Current System:


 All information about all stock, info, invoice and information are stored
within the registers.

 The registers and the paper works are not maintained properly.

 There is waste of time during finding particular set of data.

 There should be a major problem in case of loss of some important data


which is in the form of paper work, due to the lack of back up and
security facility.

 Many information of User is required to be maintain in so many years


because some authorized person visit to the trading firm for audit.

 Present system changes per year so all type of stock documents and
product registers are change.

 Neither give the personal information about trading System to anyone.

24
 OVERVIEW OF LANGUAGES USED

 INTRODUCION TO C#

 WHY TO CHOOSE C#?

C# is an elegant, simple, type-safe, object-oriented language that allows


enterprise programmers to build a breadth of applications.
C# also gives you the capability to build durable system-level components by
virtue of the following features:

 Full COM/Platform support for existing code integration.


 Robustness through garbage collection and type safety.
 Security provided through intrinsic code trust mechanisms.
 Full support of extensible metadata concepts.

You can also interoperate with other languages, across platforms, with legacy
data, by virtue of the following features:

 Full interoperability support through COM+ 1.0 and .NET Framework


services with tight library-based access.
 XML support for wWeb-based component interaction.
 Versioning to provide ease of administration and deployment.

 WHY TO CHOOSE Microsoft SQL Server 2008 R2?


Microsoft SQL Server 2008 R2 Express with Service Pack 2 is a free, feature-
rich edition of SQL Server that is ideal for learning, developing, powering
desktop, web & small server applications, and for redistribution by ISVs.

Key Features Offered by SQL Server 2008 R2 SP2 Express:


 Supports stored procedures, triggers, functions, and views
 Store all kinds of business data with native support for relational data,
XML, FILESTREAM and spatial data
 Improved performance, usability, visualization, in addition to
integration with the Microsoft 2007 Office System in SQL Server
Reporting Services
 Simplify development efforts by leveraging existing T-SQL skills,
ADO.NET Entity Framework and LINQ
 Closely integrated with Visual Studio and Visual Web Developer

25
SQL Server 2008 R2 SP2 Express Editions:
 SQL Server 2008 R2 Express with Tools

Core edition of Express that supports development. Includes SQL Server


2008 Database Engine and SQL Server Management Studio Express
 SQL Server 2008 R2 Express with Advanced Services

Extends SQL Server 2008 Express with tools to include support for
Integrated Full-text Search and Reporting Services
 SQL Server 2008 R2 Express (Runtime Only)

Includes the SQL Database Engine only and is designed for deployments
and ISV redistribution

 SQL Server 2008 R2 SP2 Management Studio Express

Free, easy-to-use graphical management tool for configuring, managing,


and administering SQL Server 2008 R2 SP2 Express. It can also manage
instances of the SQL Server Database Engine created by any edition of
SQL Server 2008 R2 SP2.

Customers looking to download SQL Server Express and SQL Server


Management Studio Express for the first time, please download the bundle:
SQL Server 2008 Express with Tools.

26
Visa Processing Application
System Server
Management

Database

27
PROJECT CONSTRAINTS
1. Compatibility
 The System should run in all operating system and hardware
specifications with fewer servers.

2. Reliability & Availability


 The Interfaces with User login should be available at minimum.
 Backups should be spot tested.

3. Performance
 It should allow the software to run simultaneously on all the machines
without any hassle.

4. Security
 Security at early stage is given at basic level i.e. Password Protection
for each user.
 As future vision the System will be able to provide security to user
profile data & the feeds he makes on public wall.

CONCLUSION
The overall Description constitutes the SRS of the System.

It is easy to use, since it uses the GUI provided in the user dialogue User
friendly screens are provided. The usage of software increases the efficiency
decreases the efforts. It has been thoroughly tested and implemented

28
DATA TABLE
Table Name: Administrator

This table stores the Administrator Privileges.

Field Name Data Type Description Attributes

UserName Vachar UserId Primary key

Password Varchar UserPassword Field Size:10

29
Table Name: User Information
This table stores the information of Users(Register).

Field Name Data Type Description Attributes

Uid Varchar(max) User Id Primary key

UserName Varchar(max) User Name Not null

Password Varchar(max) Password Not null

Fisrtname Varchar(max) First Name Not null

Lastname Varchar(max) Last Name Not null

Address varchar(max) Adress Not null

Orders Varchar(max) Orders Not null

Product buy Varchar(max) Purchase stock Not null

Date of birth Date time() Birth date Not null

Payment Int Type Field Size:4

Receiptno Int Receipt No Field Size:4

Upload photo Varchar(max) Profile Photo Not null

30
Table Name: Stock(No.of orders)
This table stores the stocks.

Field Name Data Type Description Attributes

Numbers Varchar(max) State Not null

Stock place Varchar(max) Where it placed Not null


from

31
Table Name: cancel table Info
This table stores the details about cancelling.

Field Name Data Type Description Attributes

ID Varchar(max) Profile Id Primary key

FirstName Varchar(max) First Name Not null

Order Id Int Order no Integer

Purchase date Varchar(max) Date of purchase Not null

32
Table Name: Feedback

This table stores about the feedback.

Field Name Data Type Description Attributes

UserId Int User Id Integer

Name Varchar(30) Name Field Size:30

Email id Varchar(max) Email Id Not null

Comments Varchar(max) Comments Not null

33
Table Name: Stock Dates

This table stores the Dates of stocks.

Field Name Data Type Description Attributes

Stock Dates Varchar(max) Stock Dates Not null

34
Table Name: Stock Dates Registry

This table stores the Dates of stock registryfor Release date to the
Administrator.

Field Name Data Type Description Attributes

UserId Varchar(max) User Id(Name) Not null

Name Varchar(max) Name Not null

Buyer Firm Varchar(max) Buyer Not null

35
Project Definitions
A trading system is a group of specific parameters that combine to create buy
and sell signals for a given security. Trading systems can be developed using
many different technologies, including Microsoft Excel, MATLAB, Trade
Station, R, Python, and other platforms and languages. The buy and sell signals
from these platforms may appear in a file for you to execute or be
programmatically executed using a brokerage that supports automated trading.

There are countless different inputs that can be used when building trading
systems. Technical indicators are the most common, but many trading systems
incorporate fundamental data, such as revenue, cash flow, debt-to-equity, or
other financial ratios. Others even incorporate news, tweets, and other data from
around the web that could provide a signal. The only requirement is that the
data must be represented in a way that a computer can analyze.

A trading system is a set of rules that formulate buy and sell signals without any
ambiguity or any subjective elements. These signals are mostly generated
by technical indicators or combinations of technical indicators. The primary aim
of a trading system is to manage risk and to increase profitability in any market
environment. Optimal levels of risk and reward are accomplished by modifying
the different parameters within each rule of the system.
A benefit of trading with a system is the removal of emotion from trading:
systematical trader will, for instance, not place an excessively high risk trade
due to frustration from a prior losing trade.
.

36
 Registration:
 When an User want to add in this application it easily to registration in
this application.

 Manage Profile:
 User can easily edit profile to desire change.

 Available Stock Dates:


 User easily check the available Stock dates by this page .To know when
he can order for next product .

 Cancel Order:
 In this page we can cancel the requested Order.

 Stock Approval:
 To approval the requested stock to buyer and seller from manufacturer.

 Renew Inventory:
 User can easily renew their product through this website.

 Customer Status:
 It will display the customer current status of requested product.

 FeedBack:
 If Users want communicating with owner its feel feedback and send that
feedback it direct connect with admin and read that connect.

37
SYSTEM DESIGN

Use of Case Diagram:


Case Diagram for User’s:

38
Case Diagram for User:

39
Case Diagram for Operator and User:

40
Case Diagram for Admin and User’s:

Create new User

Check availability details

Save User detail

Stock Details

Admin
User’s
Search User’s details

Delete details of the


unauthorized user

Trading audit details

41
4.Entity Relationship Diagram:

42
5. Activity Diagram:

43
7.Sequence Diagram:

44
8. State Diagram

45
Gantt Chart:

46
Component Diagram:

47
Package Diagram:

Interface

M.P.Trading

Database

48
SCREEN SHOTS OF
M.P.TRADING
 Home (Start-up Screen):HomePage

49
 Login Form:

50
 Information Page

51
 Admin/Admin Info:

52
 Trading Form (Grapes):

53
 Trading Form (Fertilizer):

54
 Trading Form (MISAEE):

55
 Trading Form (Packing):

56
 Trading Form (Delivery):

57
 Payment Form:

58
 Forget Password

59
 Made By Info:

60
CODING
M.P.TRADING

61
Form 1:
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 WindowsFormsApp15
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void label1_Click(object


sender, EventArgs e)
{

private void button1_Click(object


sender, EventArgs e)

{
if (textBox1.Text == "ajay" &&
textBox2.Text == "ajay")

62
{
Form4 fm = new Form4();
fm.Show();
this.Hide();

}
else if(textBox1.Text == "" &&
textBox2.Text == "")
{
MessageBox.Show("please enter
properly");
}
else if(textBox1.Text!="ajay")
{
MessageBox.Show("please enter
user name properly");
}
else if(textBox2.Text!="ajay")
{
MessageBox.Show("please enter
password properly");
}
}

private void button2_Click(object


sender, EventArgs e)
{
}

private void
textBox2_TextChanged(object sender, EventArgs
e)
{
63
}

private void button2_Click_1(object


sender, EventArgs e)
{
Form2 fm = new Form2();
fm.Show();
this.Hide();

private void button3_Click(object


sender, EventArgs e)
{
Form4 fm = new Form4();
fm.Show();
}

private void
linkLabel1_LinkClicked(object sender,
LinkLabelLinkClickedEventArgs e)
{
Form7 f = new Form7();
f.Show();
this.Hide();
}

private void
linkLabel2_LinkClicked(object sender,
LinkLabelLinkClickedEventArgs e)
64
{
Form8 f = new Form8();
f.Show();
this.Hide();

private void panel1_Paint(object


sender, PaintEventArgs e)
{
this.AutoSize = true;
}

private void Form1_Load(object


sender, EventArgs e)
{

65
Form1.Designer.cs:

namespace WindowsFormsApp15
{
partial class Form1
{
/// <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
66
/// <summary>
/// Required method for Designer
support - do not modify
/// the contents of this method with
the code editor.
/// </summary>
private void InitializeComponent()
{

System.ComponentModel.ComponentResourceManage
r resources = new
System.ComponentModel.ComponentResourceManage
r(typeof(Form1));
this.button1 = new
System.Windows.Forms.Button();
this.label3 = new
System.Windows.Forms.Label();
this.label4 = new
System.Windows.Forms.Label();
this.textBox1 = new
System.Windows.Forms.TextBox();
this.textBox2 = new
System.Windows.Forms.TextBox();
this.button2 = new
System.Windows.Forms.Button();
this.panel1 = new
System.Windows.Forms.Panel();
this.label1 = new
System.Windows.Forms.Label();
this.label2 = new
System.Windows.Forms.Label();

67
this.panel2 = new
System.Windows.Forms.Panel();
this.linkLabel1 = new
System.Windows.Forms.LinkLabel();
this.label5 = new
System.Windows.Forms.Label();
this.linkLabel2 = new
System.Windows.Forms.LinkLabel();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Font = new
System.Drawing.Font("Arial Rounded MT Bold",
9.75F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
this.button1.Location = new
System.Drawing.Point(44, 209);
this.button1.Name = "button1";
this.button1.Size = new
System.Drawing.Size(87, 33);
this.button1.TabIndex = 0;
this.button1.Text = "LOG IN";

this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new
System.EventHandler(this.button1_Click);
//
// label3
//
68
this.label3.AutoSize = true;
this.label3.Font = new
System.Drawing.Font("Arial Rounded MT Bold",
9.75F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
this.label3.ForeColor =
System.Drawing.SystemColors.Control;
this.label3.Location = new
System.Drawing.Point(8, 77);
this.label3.Name = "label3";
this.label3.Size = new
System.Drawing.Size(62, 15);
this.label3.TabIndex = 3;
this.label3.Text = "USER-ID";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new
System.Drawing.Font("Arial Rounded MT Bold",
9.75F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
this.label4.ForeColor =
System.Drawing.SystemColors.Control;
this.label4.Location = new
System.Drawing.Point(3, 135);
this.label4.Name = "label4";
this.label4.Size = new
System.Drawing.Size(84, 15);
this.label4.TabIndex = 4;
this.label4.Text = "PASSWORD";
69
//
// textBox1
//
this.textBox1.Location = new
System.Drawing.Point(93, 73);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new
System.Drawing.Size(189, 23);
this.textBox1.TabIndex = 5;
//
// textBox2
//
this.textBox2.Location = new
System.Drawing.Point(93, 133);
this.textBox2.MaxLength = 10;
this.textBox2.Multiline = true;
this.textBox2.Name = "textBox2";
this.textBox2.PasswordChar = '*';
this.textBox2.Size = new
System.Drawing.Size(189, 23);
this.textBox2.TabIndex = 6;
this.textBox2.TextChanged += new
System.EventHandler(this.textBox2_TextChanged
);
//
// button2
//
this.button2.Font = new
System.Drawing.Font("Arial Rounded MT Bold",
9.75F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));

70
this.button2.Location = new
System.Drawing.Point(213, 210);
this.button2.Name = "button2";
this.button2.Size = new
System.Drawing.Size(83, 32);
this.button2.TabIndex = 11;
this.button2.Text = "RESISTER";

this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new
System.EventHandler(this.button2_Click_1);
//
// panel1
//
this.panel1.BackColor =
System.Drawing.Color.Red;

this.panel1.Controls.Add(this.label1);

this.panel1.Controls.Add(this.label2);
this.panel1.Location = new
System.Drawing.Point(0, 1);
this.panel1.Name = "panel1";
this.panel1.Size = new
System.Drawing.Size(922, 100);
this.panel1.TabIndex = 12;
this.panel1.Paint += new
System.Windows.Forms.PaintEventHandler(this.p
anel1_Paint);
//
// label1
//
this.label1.AutoSize = true;
71
this.label1.BackColor =
System.Drawing.Color.Transparent;
this.label1.Font = new
System.Drawing.Font("Arial Rounded MT Bold",
27.75F, System.Drawing.FontStyle.Underline,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
this.label1.ForeColor =
System.Drawing.Color.White;
this.label1.Location = new
System.Drawing.Point(333, 20);
this.label1.Name = "label1";
this.label1.Size = new
System.Drawing.Size(269, 43);
this.label1.TabIndex = 4;
this.label1.Text = "M.P TRADING";
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor =
System.Drawing.Color.WhiteSmoke;
this.label2.Font = new
System.Drawing.Font("MS Reference Sans
Serif", 9.75F, System.Drawing.FontStyle.Bold,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
this.label2.ForeColor =
System.Drawing.Color.DarkRed;
this.label2.Location = new
System.Drawing.Point(348, 74);
this.label2.Name = "label2";

72
this.label2.Size = new
System.Drawing.Size(243, 16);
this.label2.TabIndex = 5;
this.label2.Text = "IMPORT AND
EXPORT COMPANY";
//
// panel2
//
this.panel2.BackColor =
System.Drawing.Color.Green;

this.panel2.Controls.Add(this.linkLabel1);

this.panel2.Controls.Add(this.label5);

this.panel2.Controls.Add(this.button1);

this.panel2.Controls.Add(this.label3);

this.panel2.Controls.Add(this.label4);

this.panel2.Controls.Add(this.textBox1);

this.panel2.Controls.Add(this.textBox2);

this.panel2.Controls.Add(this.button2);
this.panel2.Location = new
System.Drawing.Point(28, 117);
this.panel2.Name = "panel2";
this.panel2.Size = new
System.Drawing.Size(323, 246);
this.panel2.TabIndex = 13;
//
73
// linkLabel1
//
this.linkLabel1.AutoSize = true;
this.linkLabel1.Location = new
System.Drawing.Point(107, 170);
this.linkLabel1.Name =
"linkLabel1";
this.linkLabel1.Size = new
System.Drawing.Size(132, 16);
this.linkLabel1.TabIndex = 13;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "FORGET
PASSWORD";
this.linkLabel1.LinkClicked +=
new
System.Windows.Forms.LinkLabelLinkClickedEven
tHandler(this.linkLabel1_LinkClicked);
//
// label5
//
this.label5.AutoSize = true;
this.label5.BackColor =
System.Drawing.Color.Red;
this.label5.Font = new
System.Drawing.Font("Arial Rounded MT Bold",
18F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
this.label5.ForeColor =
System.Drawing.SystemColors.ButtonFace;
this.label5.Location = new
System.Drawing.Point(105, 14);
this.label5.Name = "label5";
74
this.label5.Size = new
System.Drawing.Size(96, 28);
this.label5.TabIndex = 12;
this.label5.Text = "LOGIN ";
//
// linkLabel2
//
this.linkLabel2.AutoSize = true;
this.linkLabel2.Location = new
System.Drawing.Point(795, 467);
this.linkLabel2.Name =
"linkLabel2";
this.linkLabel2.Size = new
System.Drawing.Size(40, 16);
this.linkLabel2.TabIndex = 14;
this.linkLabel2.TabStop = true;
this.linkLabel2.Text = "about";
this.linkLabel2.LinkClicked +=
new
System.Windows.Forms.LinkLabelLinkClickedEven
tHandler(this.linkLabel2_LinkClicked);
//
// Form1
//
this.AutoScaleDimensions = new
System.Drawing.SizeF(7F, 16F);
this.AutoScaleMode =
System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage =
((System.Drawing.Image)(resources.GetObject("
$this.BackgroundImage")));
this.ClientSize = new
System.Drawing.Size(934, 492);
75
this.Controls.Add(this.linkLabel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.panel2);
this.DoubleBuffered = true;
this.Font = new
System.Drawing.Font("Maiandra GD", 9.75F,
System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point,
((byte)(0)));
this.Name = "Form1";
this.Text = "HOME";
this.Load += new
System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();

#endregion

private System.Windows.Forms.Button
button1;
private System.Windows.Forms.Label
label3;
private System.Windows.Forms.Label
label4;
private System.Windows.Forms.TextBox
textBox1;
76
private System.Windows.Forms.TextBox
textBox2;
private System.Windows.Forms.Button
button2;
private System.Windows.Forms.Panel
panel1;
private System.Windows.Forms.Label
label1;
private System.Windows.Forms.Label
label2;
private System.Windows.Forms.Panel
panel2;
private System.Windows.Forms.Label
label5;
private
System.Windows.Forms.LinkLabel linkLabel1;
private
System.Windows.Forms.LinkLabel linkLabel2;
}
}

77
Form2.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;
using System.Data.SqlClient;

namespace WindowsFormsApp15
{
public partial class Form2 : Form
{
SqlCommand cmd = new SqlCommand();
SqlConnection con = new
SqlConnection();
public Form2()
{
InitializeComponent();
}

private void label4_Click(object


sender, EventArgs e)
{

78
}

private void label5_Click(object


sender, EventArgs e)
{

private void label7_Click(object


sender, EventArgs e)
{

private void
checkBox1_CheckedChanged(object sender,
EventArgs e)
{

private void Form2_Load(object


sender, EventArgs e)
{

con.ConnectionString = "Data
Source=SHREE\\SQLEXPRESS;Initial
Catalog=mptrading;Integrated Security=True";

con.Open();
//lable
label9.Hide();
label10.Hide();
79
label11.Hide();
label12.Hide();
label13.Hide();
label9.ForeColor = Color.Red;
label10.ForeColor = Color.Red;
label11.ForeColor = Color.Red;
label12.ForeColor = Color.Red;
label13.ForeColor = Color.Red;

button2.BackgroundImageLayout =
ImageLayout.Stretch;

private void button1_Click(object


sender, EventArgs e)
{
SqlCommand cmd = new
SqlCommand("insert into reg" +
"(name,password,phone,address)values(@name,@p
assword,@phone,@address)", con);

//if text box empty


if
(textBox1.Text==""||textBox2.Text==""||textBo
x3.Text==""||textBox4.Text==""||textBox5.Text
=="")

{
80
MessageBox.Show("please enter
the information properly");

}
else
{

cmd.Parameters.AddWithValue("@name",
textBox1.Text);
if (textBox4.Text ==
textBox5.Text)
{

cmd.Parameters.AddWithValue("@phone",
textBox2.Text);
}

cmd.Parameters.AddWithValue("@address",
textBox3.Text);

cmd.Parameters.AddWithValue("@password",
textBox4.Text);
cmd.ExecuteNonQuery();
MessageBox.Show("registered
succesfully");
}

private void
textBox1_TextChanged(object sender, EventArgs
e)
81
{
if (textBox1.Text.Trim() ==
string.Empty)
{
label9.Show();
label9.Text = "enter you
name";
return;
}

}
private void
textBox3_TextChanged(object sender, EventArgs
e)
{
if (textBox3.Text.Trim() ==
string.Empty)
{
label13.Show();
label13.Text = "enter you
address";
return;
}

}
private void textBox4_Click(object
sender, EventArgs e)
{

82
if (textBox1.Text.Trim() ==
string.Empty)
{
label9.Show();
label9.Text = "enter you
name";
return;
}

private void
textBox4_TextChanged(object sender, EventArgs
e)
{
if (textBox4.Text.Trim() ==
string.Empty)
{
label10.Show();
label10.Text = "enter
password";
return;
}

private void
textBox5_TextChanged(object sender, EventArgs
e)
{
if (textBox5.Text.Trim() ==
string.Empty)
{
83
label11.Show();
label11.Text = "enter your
password again same as above";
return;
}

private void label9_Click(object


sender, EventArgs e)
{

private void button2_Click(object


sender, EventArgs e)
{

private void panel1_Paint(object


sender, PaintEventArgs e)
{

private void button2_Click_1(object


sender, EventArgs e)
{
Form1 f = new Form1();
f.Show();
this.Hide();
}
84
private void label12_Click(object
sender, EventArgs e)
{

}
}
}

85
Form3.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;
using System.Data.SqlClient;

namespace WindowsFormsApp15
{
public partial class Form3 : Form
{
public static string name = "", date
= "", mode = "",label="";
public static int gkg = 0, price = 0,
tamount = 0;

SqlCommand cmd = new SqlCommand();


SqlConnection con = new
SqlConnection();
public Form3()
{
InitializeComponent();
dateTimePicker1.Format =
DateTimePickerFormat.Short;
dateTimePicker2.Format =
DateTimePickerFormat.Short;

86
dateTimePicker3.Format =
DateTimePickerFormat.Short;
dateTimePicker4.Format =
DateTimePickerFormat.Short;
dateTimePicker5.Format =
DateTimePickerFormat.Short;
dateTimePicker6.Format =
DateTimePickerFormat.Short;

dateTimePicker1.Value =
DateTime.Today;
dateTimePicker2.Value =
DateTime.Today;
dateTimePicker3.Value =
DateTime.Today;
dateTimePicker4.Value =
DateTime.Today;
dateTimePicker5.Value =
DateTime.Today;
dateTimePicker6.Value =
DateTime.Today;
}

87
Form4.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 WindowsFormsApp15
{
public partial class Form4 : Form
{
public Form4()
{
InitializeComponent();
}
// int x = -0;
// string txt= "marguee can ";
// int tan = 15;
// private object color;

private void Form4_Load(object


sender, EventArgs e)
{
ToolTip tp = new ToolTip();
tp.ShowAlways = true;
tp.SetToolTip(button1, "CLICK
HERE TO INSERT THE INFORMATION");

88
tp.SetToolTip(button2, "CLICK
HERE TO CHECK OR SEE THE INFORMATION ");
}

private void
textBox1_TextChanged(object sender, EventArgs
e)
{

private void label1_Click(object


sender, EventArgs e)
{
// label1.ForeColor =
System.Drawing.Color.Chocolate;
}

private void timer1_Tick(object


sender, EventArgs e)
{
this.Refresh();
label1.Left += 1;

if (label1.Left >= this.Width)


{
label1.Left = label1.Width *
-0;
}

89
}

private void label1_Click_1(object


sender, EventArgs e)
{

private void button1_Click_1(object


sender, EventArgs e)
{
Form3 fm = new Form3();
fm.Show();
this.Hide();
}

private void button2_Click(object


sender, EventArgs e)
{

Form5 fm = new Form5();


fm.Show();
this.Hide();
}

private void button3_Click(object


sender, EventArgs e)
{
Form1 F = new Form1();
F.Show();
this.Hide();
90
Form5.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;
using System.Data.SqlClient;

namespace WindowsFormsApp15
{
public partial class Form5 : Form
{
public static string name = "";
public Form5()
{
InitializeComponent();
}
// SqlCommand cmd = new SqlCommand();
SqlConnection con = new
SqlConnection();
SqlDataAdapter sda;
public static DataSet ds = new
DataSet();
DataTable dt = new DataTable();
SqlCommandBuilder scb;
public static string shopname;

91
private void Form5_Load(object
sender, EventArgs e)
{

panel1.BorderStyle =
BorderStyle.Fixed3D;
}

private void label2_Click(object


sender, EventArgs e)
{

private void label3_Click(object


sender, EventArgs e)
{

private void button2_Click(object


sender, EventArgs e)
{
Form4 fm = new Form4();
fm.Show();
this.Hide();
}

private void label1_Click(object


sender, EventArgs e)
{

92
}

private void label1_Click_1(object


sender, EventArgs e)
{

private void button4_Click(object


sender, EventArgs e)
{

SqlConnection con = new


SqlConnection("Data
Source=SHREE\\SQLEXPRESS;Initial
Catalog=mptrading;Integrated Security=True");
con.Open();
if (radioButton10.Checked==true)
{
sda = new
SqlDataAdapter(@"Select * from fertilizer
where shop = '" + textBox1.Text + "' ",
con);
sda.Fill(ds, "fertilizer");
dataGridView1.DataSource =
ds;
dataGridView1.DataMember =
"fertilizer";

}
else if (radioButton9.Checked ==
true)
{
93
sda = new
SqlDataAdapter(@"Select * from grapes where
fname = '" + textBox1.Text + "' ", con);
sda.Fill(ds, "grapes");
dataGridView1.DataSource =
ds;
dataGridView1.DataMember =
"grapes";

}
else if (radioButton11.Checked ==
true)
{
sda = new
SqlDataAdapter(@"Select * from misaee where
worker = '" + textBox1.Text + "' ", con);
sda.Fill(ds, "misaee");
dataGridView1.DataSource =
ds;
dataGridView1.DataMember =
"misaee";

}
else if (radioButton3.Checked ==
true)
{
sda = new
SqlDataAdapter(@"Select * from delivery
where name = '" + textBox1.Text + "' ",
con);
sda.Fill(ds, "delivery");
dataGridView1.DataSource =
ds;
94
dataGridView1.DataMember =
"delivery";

}
else if(textBox1.Text=="")
{
MessageBox.Show("please enter
name");
}

public static DataSet show(string


shname)
{
SqlDataAdapter sda;
SqlConnection con = new
SqlConnection(@"Data Source =
SHREE\\SQLEXPRESS; Initial Catalog =
mptrading; Integrated Security = True");
con.Open();
sda = new SqlDataAdapter("select
* from fertilizer where shop='" + shopname +
"'", con);
DataSet ds = new DataSet();
sda.Fill(ds, "fertilizer");
con.Close();
return ds;
}

private void
radioButton11_CheckedChanged(object sender,
EventArgs e)
95
{

private void button3_Click(object


sender, EventArgs e)
{
Form11 F = new Form11();
F.Show();
this.Hide();
}
}

96
Form6.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 WindowsFormsApp15
{
public partial class Form6 : Form
{
public Form6()
{
InitializeComponent();
}
}
}

97
Form7.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 WindowsFormsApp15
{
public partial class Form6 : Form
{
public Form6()
{
InitializeComponent();
}
}

98
FUTURE
ENHANCEMENTS.
Being a computer system, the system has lots of scope. It not only carried out
work faster but also efficiently. A lots of manual work like searching, personal
alias is reduced to a large extent. As this is computerized system the
management is completely depends on computer for accessing details about
customer. Here in case there is power failure or some hardware problem which
can’t be fixed easily, the manager can’t continue this work. He gets struck in the
middle of the day and this dealing need to be postponed.

Also the software needs to be maintained properly from time to time, that is if it

requires being updated or modified etc., then the management need to take care
of it.

M.P.Trading system is web-based tool to reduce communication gap between

buyer, seller and customer. Especially in fast growing IT market technologies

are changing very fast, based on technology it reduces manual process of

trading process. This process will make trading very easy, fast and by one

sitting the applicant can update all the orders and products.

99
REFERENCE AND
BIBLIOGRAPHY

References
1)Professional ASP.NET 2.0 in neutral language(By: Bill Evjen,Scott
Hanselman).

2)Head First Asp.net(By Farhan Muhammad, S. Srinivasa Sivakumar, Devin


Rader).

Bibliography
1)https://msdn.microsoft.com/

2) https://www.asp.net/
3)www.youtube.com

4)https://stackoverflow.com
5) https://www.w3schools.com/asp/

100

Das könnte Ihnen auch gefallen