Design and Implementation of Order Generation System (C#)

Table of contents
Chapter 1 Introduction 2
1.1 Significance of design and development 2
1.2 Mission and Objectives 2
1.3 The software and hardware environment for design, development and operation 3
Chapter 2 System Analysis and Design 4
2.1 System requirements analysis 4
1. Requirements Analysis 4
2. The data flow diagram is as follows: 4
3. Data dictionary 6
2.2 Conceptual structure design of database 8
2.3 Data Structures 8
2.4 Database Creation 10
Chapter Three System Development and Implementation 12
4. Login screen 12
5. User registration interface 12
6. Purchase interface 13
Admin login 14
7. Employee information and order information interface 14
Chapter 4 Summary 16
References 18
1. User login: 19
2. User Registration: 20
8. Purchase interface 21
1.2 Tasks and objectives
1. The centralized management of customer information by the order generation system prevents the loss of customer information and realizes the functions of customer login and registration;
2. The centralized management of commodity information by the order generation system prevents the loss of commodity information and realizes the operation of adding, deleting, modifying and checking the commodity list;
3. The order generation system automatically generates order information according to the type and quantity of goods purchased and canceled by customers, and modifies the inventory information of goods;
4. The centralized management of employee information by the order generation system prevents the loss of employee information and realizes the addition, deletion, modification and query of employee information.
1.3 The software and hardware environment for design, development and operation
This system adopts Visual Studio 2015 to develop and design the operation interface, and adopts
sql server 2008 design database.

namespace dingdanshengcheng
{<!-- -->
    partial class Form1
    {<!-- -->
        /// <summary>
        /// Required designer variables.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up all resources in use.
        /// </summary>
        /// <param name="disposing">true if the managed resource should be released; otherwise, false. </param>
        protected override void Dispose(bool disposing)
        {<!-- -->
            if (disposing & amp; & amp; (components != null))
            {<!-- -->
                components. Dispose();
            }
            base. Dispose(disposing);
        }

        #region Windows Forms Designer Generated Code

        /// <summary>
        /// Designer support required method - don't
        /// Use the code editor to modify the content of this method.
        /// </summary>
        private void InitializeComponent()
        {<!-- -->
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.label3 = new System.Windows.Forms.Label();
            this.button2 = new System.Windows.Forms.Button();
            this.button1 = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.mima = new System.Windows.Forms.TextBox();
            this.myname = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.SuspendLayout();
            //
            // linkLabel1
            //
            this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new System.Drawing.Point(234, 255);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(65, 12);
            this.linkLabel1.TabIndex = 23;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "Administrator Login";
            this.linkLabel1.LinkClicked + = new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label3.Location = new System.Drawing.Point(116, 36);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(72, 16);
            this.label3.TabIndex = 22;
            this.label3.Text = "User Login";
            //
            //button2
            //
            this.button2.Location = new System.Drawing.Point(171, 202);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 23);
            this.button2.TabIndex = 21;
            this.button2.Text = "Register";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            //
            //button1
            //
            this.button1.Location = new System.Drawing.Point(67, 202);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 20;
            this.button1.Text = "Login";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            //label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(65, 85);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(41, 12);
            this.label1.TabIndex = 16;
            this.label1.Text = "Username";
            //
            // mima
            //
            this.mima.Location = new System.Drawing.Point(146, 135);
            this.mima.Name = "mima";
            this.mima.Size = new System.Drawing.Size(100, 21);
            this.mima.TabIndex = 19;
            //
            // myname
            //
            this.myname.Location = new System.Drawing.Point(146, 82);
            this.myname.Name = "myname";
            this.myname.Size = new System.Drawing.Size(100, 21);
            this.myname.TabIndex = 18;
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(65, 138);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(29, 12);
            this.label2.TabIndex = 17;
            this.label2.Text = "Password";
            //
            //Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(309, 296);
            this.Controls.Add(this.linkLabel1);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.mima);
            this.Controls.Add(this.myname);
            this.Controls.Add(this.label2);
            this.Name = "Form1";
            this.Text = "Login";
            this. ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.LinkLabel linkLabel1;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Button button2;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox mima;
        public System.Windows.Forms.TextBox myname;
        private System.Windows.Forms.Label label2;
    }
}