Автор работы: Пользователь скрыл имя, 28 Февраля 2014 в 14:11, курсовая работа
Целью данной курсовой работы является разработка приложения для учета поступлений и продаж автомобилей в автосалоне.
С помощью созданного приложения работники (менеджеры) автосалона смогут вести учет поступления и реализации автомобилей.
ВВЕДЕНИЕ	3
1)	ОПИСАНИЕ ПРЕДМЕТНОЙ ОБЛАСТИ	4
2)	ИНФОЛОГИЧЕСКАЯ МОДЕЛЬ ДАННЫХ	6
3)	ЛОГИЧЕСКАЯ МОДЕЛЬ БАЗЫ ДАННЫХ	7
4)	ФИЗИЧЕСКАЯ МОДЕЛЬ ДАННЫХ	9
5)	РАЗРАБОТКА ОБЪЕКТОВ БАЗЫ ДАННЫХ (ПРЕДСТАВЛЕНИЙ, ПОЛЬЗОВАТЕЛЬСКИХ ФУНКЦИЙ, ХРАНИМЫХ ПРОЦЕДУР, ТРАНЗАКЦИЙ, ТРИГГЕРОВ) И ОТДЕЛЬНЫХ ЗАПРОСОВ К БАЗЕ ДАННЫХ	17
6)	ОПИСАНИЕ ПРОЕКТА	20
7)	ДЕМОНСТРАЦИЯ РАБОТАЮЩЕГО ПРОЕКТА	27
ЗАКЛЮЧЕНИЕ	30
СПИСОК ИСПОЛЬЗОВАННОЙ ЛИТЕРАТУРЫ	31
Список использованной литературы
Приложение 1. Главная форма MainForm
FormMain.Designer.cs
namespace cars
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
        private System.ComponentModel.IContain
/// <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
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
            System.ComponentModel.Componen
this.panel1 = new System.Windows.Forms.Panel();
this.cbClose = new System.Windows.Forms.Button();
this.cbRep = new System.Windows.Forms.Button();
this.cbUchet = new System.Windows.Forms.Button();
this.cbSpr = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
            this.pictureBox1 = new System.Windows.Forms.PictureBo
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
            
((System.ComponentModel.ISuppo
this.SuspendLayout();
//
// panel1
//
            this.panel1.Controls.Add(this.
            this.panel1.Controls.Add(this.
            this.panel1.Controls.Add(this.
            this.panel1.Controls.Add(this.
            this.panel1.Dock = System.Windows.Forms.DockStyle
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(465, 33);
this.panel1.TabIndex = 0;
//
// cbClose
//
            this.cbClose.FlatStyle = System.Windows.Forms.FlatStyle
this.cbClose.Location = new System.Drawing.Point(320, 3);
this.cbClose.Name = "cbClose";
this.cbClose.Size = new System.Drawing.Size(91, 23);
this.cbClose.TabIndex = 3;
this.cbClose.Text = "Выход";
            this.cbClose.
            this.cbClose.Click += new System.EventHandler(this.
//
// cbRep
//
            this.cbRep.FlatStyle = System.Windows.Forms.FlatStyle
this.cbRep.Location = new System.Drawing.Point(212, 3);
this.cbRep.Name = "cbRep";
this.cbRep.Size = new System.Drawing.Size(91, 23);
this.cbRep.TabIndex = 2;
this.cbRep.Text = "Отчеты";
            this.cbRep.
            this.cbRep.Click += new System.EventHandler(this.
//
// cbUchet
//
            this.cbUchet.FlatStyle = System.Windows.Forms.FlatStyle
this.cbUchet.Location = new System.Drawing.Point(109, 3);
this.cbUchet.Name = "cbUchet";
this.cbUchet.Size = new System.Drawing.Size(91, 23);
this.cbUchet.TabIndex = 1;
this.cbUchet.Text = "Учет";
            this.cbUchet.
            this.cbUchet.Click += new System.EventHandler(this.
//
// cbSpr
//
            this.cbSpr.FlatStyle = System.Windows.Forms.FlatStyle
this.cbSpr.Location = new System.Drawing.Point(4, 3);
this.cbSpr.Name = "cbSpr";
this.cbSpr.Size = new System.Drawing.Size(91, 23);
this.cbSpr.TabIndex = 0;
this.cbSpr.Text = "Справочники";
            this.cbSpr.
            this.cbSpr.Click += new System.EventHandler(this.
//
// panel2
//
            this.panel2.Controls.Add(this.
            this.panel2.Controls.Add(this.
            this.panel2.Dock = System.Windows.Forms.DockStyle
this.panel2.Location = new System.Drawing.Point(0, 33);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(465, 295);
this.panel2.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Black;
            this.label1.FlatStyle = System.Windows.Forms.FlatStyle
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.
            this.label1.ForeColor = System.Drawing.SystemColors.
this.label1.Location = new System.Drawing.Point(3, 3);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(307, 26);
this.label1.TabIndex = 1;
this.label1.Text = "АРМ менеджера автосалона";
//
// pictureBox1
//
            this.pictureBox1.Dock = System.Windows.Forms.DockStyle
            this.pictureBox1.Image = ((System.Drawing.Image)(
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(465, 295);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBo
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScale
this.ClientSize = new System.Drawing.Size(465, 328);
            this.Controls.Add(this.panel2)
            this.Controls.Add(this.panel1)
this.Name = "FormMain";
            this.StartPosition = System.Windows.Forms.FormStart
this.Text = "АРМ менеджера по продажам автомобилей в автосалоне";
            this.panel1.ResumeLayout(false
            this.panel2.ResumeLayout(false
this.panel2.PerformLayout();
            
((System.ComponentModel.ISuppo
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button cbClose;
private System.Windows.Forms.Button cbRep;
private System.Windows.Forms.Button cbUchet;
private System.Windows.Forms.Button cbSpr;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label1;
        private System.Windows.Forms.PictureBo
}
}
FormMain.cs
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 cars
{
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
}
private void cbClose_Click(object sender, EventArgs e)
{
Close();
}
private void cbSpr_Click(object sender, EventArgs e)
{
FormSpr frm =new FormSpr();
frm.ShowDialog();
}
private void cbUchet_Click(object sender, EventArgs e)
{
FormUchet frm = new FormUchet();
frm.ShowDialog();
}
private void cbRep_Click(object sender, EventArgs e)
{
FormRep frm = new FormRep();
frm.Show();
}
}
}
Приложение 2. форма справочников
FormSpr.Designer.cs
namespace cars
{
partial class FormSpr
{
/// <summary>
/// Required designer variable.
/// </summary>
        private System.ComponentModel.IContain
/// <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
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
            this.components = new System.ComponentModel.Containe
            
System.ComponentModel.Componen
            this.tabControl1 = new System.Windows.Forms.TabContro
            this.tabPage1 = new System.Windows.Forms.TabPage()
            this.tabPage2 = new System.Windows.Forms.TabPage()
            this.tabPage3 = new System.Windows.Forms.TabPage()
            this.tabPage4 = new System.Windows.Forms.TabPage()
            this.tabPage5 = new System.Windows.Forms.TabPage()
            this.bindingNavigator1 = new System.Windows.Forms.BindingNa
            this.
            this.
            this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStrip
            this.
            this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStrip
            this.
            this.
            this.
            this.
            this.
            this.
            this.toolStripButton1 = new System.Windows.Forms.ToolStrip
            this.bindingNavigator2 = new System.Windows.Forms.BindingNa
            this.toolStripButton2 = new System.Windows.Forms.ToolStrip
            this.toolStripLabel1 = new System.Windows.Forms.ToolStrip
            this.toolStripButton3 = new System.Windows.Forms.ToolStrip
            this.toolStripButton4 = new System.Windows.Forms.ToolStrip
            this.toolStripButton5 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStrip
            this.toolStripTextBox1 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStrip
            this.toolStripButton6 = new System.Windows.Forms.ToolStrip
            this.toolStripButton7 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStrip
            this.toolStripButton8 = new System.Windows.Forms.ToolStrip
            this.bindingNavigator3 = new System.Windows.Forms.BindingNa
            this.toolStripButton9 = new System.Windows.Forms.ToolStrip
            this.toolStripLabel2 = new System.Windows.Forms.ToolStrip
            this.toolStripButton10 = new System.Windows.Forms.ToolStrip
            this.toolStripButton11 = new System.Windows.Forms.ToolStrip
            this.toolStripButton12 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStrip
            this.toolStripTextBox2 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator5 = new System.Windows.Forms.ToolStrip
            this.toolStripButton13 = new System.Windows.Forms.ToolStrip
            this.toolStripButton14 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator6 = new System.Windows.Forms.ToolStrip
            this.toolStripButton15 = new System.Windows.Forms.ToolStrip
            this.bindingNavigator4 = new System.Windows.Forms.BindingNa
            this.toolStripButton16 = new System.Windows.Forms.ToolStrip
            this.toolStripLabel3 = new System.Windows.Forms.ToolStrip
            this.toolStripButton17 = new System.Windows.Forms.ToolStrip
            this.toolStripButton18 = new System.Windows.Forms.ToolStrip
            this.toolStripButton19 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator7 = new System.Windows.Forms.ToolStrip
            this.toolStripTextBox3 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator8 = new System.Windows.Forms.ToolStrip
            this.toolStripButton20 = new System.Windows.Forms.ToolStrip
            this.toolStripButton21 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator9 = new System.Windows.Forms.ToolStrip
            this.toolStripButton22 = new System.Windows.Forms.ToolStrip
            this.bindingNavigator5 = new System.Windows.Forms.BindingNa
            this.toolStripButton23 = new System.Windows.Forms.ToolStrip
            this.toolStripLabel4 = new System.Windows.Forms.ToolStrip
            this.toolStripButton24 = new System.Windows.Forms.ToolStrip
            this.toolStripButton25 = new System.Windows.Forms.ToolStrip
            this.toolStripButton26 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator10 = new System.Windows.Forms.ToolStrip
            this.toolStripTextBox4 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator11 = new System.Windows.Forms.ToolStrip
            this.toolStripButton27 = new System.Windows.Forms.ToolStrip
            this.toolStripButton28 = new System.Windows.Forms.ToolStrip
            this.toolStripSeparator12 = new System.Windows.Forms.ToolStrip
            this.toolStripButton29 = new System.Windows.Forms.ToolStrip
            this.dataGridView1 = new System.Windows.Forms.DataGridV
this.автосалонDataSet = new cars.АвтосалонDataSet();
            this.маркиBindingSource = new System.Windows.Forms.BindingSo
            this.маркиTableAdapter = new cars.
            this.
            this.
this.panel1 = new System.Windows.Forms.Panel();
            this.splitter1 = new System.Windows.Forms.Splitter(
            this.dataGridView2 = new System.Windows.Forms.DataGridV
            this.моделиBindingSource = new System.Windows.Forms.BindingSo
            this.моделиTableAdapter = new cars.
Информация о работе Разработка АРМ менеджера по продажам автомобилей в автосалоне