Разработка ИС для учета детских садов города

Автор работы: Пользователь скрыл имя, 26 Февраля 2014 в 21:00, курсовая работа

Краткое описание

Целью данной курсовой работы является разработка приложения для учёта детских садов города.
С помощью созданного приложения руководители городских органов управления смогут отслеживать комплектацию детских садов работниками и детьми.
Данное приложение актуально, так как позволит получать в кратчайшие сроки всю необходимую информацию для комплектации детских садов города. При этом все манипуляции с данными не потребуют затрат большого количества времени, так как вся система очень наглядна и визуально понятна.

Вложенные файлы: 1 файл

8060_Информатика.doc

— 1.64 Мб (Скачать файл)

            //

            this.детскиеСадыToolStripMenuItem.Name = "детскиеСадыToolStripMenuItem";

            this.детскиеСадыToolStripMenuItem.Size = new System.Drawing.Size(125, 21);

            this.детскиеСадыToolStripMenuItem.Text = "Детские сады";

            this.детскиеСадыToolStripMenuItem.Click += new System.EventHandler(this.детскиеСадыToolStripMenuItem_Click);

            //

            // должностиToolStripMenuItem

            //

            this.должностиToolStripMenuItem.Name = "должностиToolStripMenuItem";

            this.должностиToolStripMenuItem.Size = new System.Drawing.Size(103, 21);

            this.должностиToolStripMenuItem.Text = "Должности";

            this.должностиToolStripMenuItem.Click += new System.EventHandler(this.должностиToolStripMenuItem_Click);

            //

            // отчетыToolStripMenuItem

            //

            this.отчетыToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {

            this.отчетОФактическойКомплектацииToolStripMenuItem,

            this.отчетОСвободныхМестахToolStripMenuItem});

            this.отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";

            this.отчетыToolStripMenuItem.Size = new System.Drawing.Size(77, 21);

            this.отчетыToolStripMenuItem.Text = "Отчеты";

            //

            // отчетОФактическойКомплектацииToolStripMenuItem

            //

            this.отчетОФактическойКомплектацииToolStripMenuItem.Name = "отчетОФактическойКомплектацииToolStripMenuItem";

            this.отчетОФактическойКомплектацииToolStripMenuItem.Size = new System.Drawing.Size(355, 22);

            this.отчетОФактическойКомплектацииToolStripMenuItem.Text = "Отчет о фактической комплектации";

            this.отчетОФактическойКомплектацииToolStripMenuItem.Click += new System.EventHandler(this.отчетОФактическойКомплектацииToolStripMenuItem_Click);

            //

            // отчетОСвободныхМестахToolStripMenuItem

            //

            this.отчетОСвободныхМестахToolStripMenuItem.Name = "отчетОСвободныхМестахToolStripMenuItem";

            this.отчетОСвободныхМестахToolStripMenuItem.Size = new System.Drawing.Size(355, 22);

            this.отчетОСвободныхМестахToolStripMenuItem.Text = "Отчет о свободных местах";

            this.отчетОСвободныхМестахToolStripMenuItem.Click += new System.EventHandler(this.отчетОСвободныхМестахToolStripMenuItem_Click);

            //

            // frmMain

            //

            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

            this.BackgroundImage = global::kindergarten.Properties.Resources.kid;

            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;

            this.ClientSize = new System.Drawing.Size(510, 432);

            this.Controls.Add(this.MainMenu);

            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;

            this.MainMenuStrip = this.MainMenu;

            this.Name = "frmMain";

            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

            this.Text = "Учет детских садов города";

            this.MainMenu.ResumeLayout(false);

            this.MainMenu.PerformLayout();

            this.ResumeLayout(false);

            this.PerformLayout();

 

        }

 

        #endregion

 

        private System.Windows.Forms.MenuStrip MainMenu;

        private System.Windows.Forms.ToolStripMenuItem детскиеСадыToolStripMenuItem;

        private System.Windows.Forms.ToolStripMenuItem должностиToolStripMenuItem;

        private System.Windows.Forms.ToolStripMenuItem отчетыToolStripMenuItem;

        private System.Windows.Forms.ToolStripMenuItem отчетОФактическойКомплектацииToolStripMenuItem;

        private System.Windows.Forms.ToolStripMenuItem отчетОСвободныхМестахToolStripMenuItem;

    }

}

Form1.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 kindergarten

{

    public partial class frmMain : Form

    {

        public frmMain()

        {

            InitializeComponent();

        }

 

        private void должностиToolStripMenuItem_Click(object sender, EventArgs e)

        {

            fposition fpos = new fposition();

            fpos.ShowDialog();

        }

 

        private void детскиеСадыToolStripMenuItem_Click(object sender, EventArgs e)

        {

            sprKinderGarten spr = new sprKinderGarten();

            spr.ShowDialog();

        }

 

        private void отчетОФактическойКомплектацииToolStripMenuItem_Click(object sender, EventArgs e)

        {

            FormRepGrup frm = new FormRepGrup();

            frm.Show();

 

        }

 

        private void отчетОСвободныхМестахToolStripMenuItem_Click(object sender, EventArgs e)

        {

            FormRepVakan frm = new FormRepVakan();

            frm.Show();

        }

    }

}

Приложение 2. Форма справочника детских садов sprKinderGarten.cs

sprKinderGarten.Designer.cs

namespace kindergarten

{

    partial class sprKinderGarten

    {

        /// <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

 

        /// <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.Container();

            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(sprKinderGarten));

            this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);

            this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();

            this.садыBindingSource = new System.Windows.Forms.BindingSource(this.components);

            this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);

            this.kinderGartenDataSet2 = new kindergarten.KinderGartenDataSet2();

            this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();

            this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();

            this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();

            this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();

            this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();

            this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();

            this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();

            this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();

            this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();

            this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();

            this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();

            this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();

            this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();

            this.dataGridView1 = new System.Windows.Forms.DataGridView();

            this.кодDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();

            this.наименованиеDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();

            this.адресDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();

            this.номерDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();

            this.садыTableAdapter = new kindergarten.KinderGartenDataSet2TableAdapters.СадыTableAdapter();

            ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();

            this.bindingNavigator1.SuspendLayout();

            ((System.ComponentModel.ISupportInitialize)(this.садыBindingSource)).BeginInit();

            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();

            ((System.ComponentModel.ISupportInitialize)(this.kinderGartenDataSet2)).BeginInit();

            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();

            this.SuspendLayout();

            //

            // bindingNavigator1

            //

            this.bindingNavigator1.AddNewItem = this.bindingNavigatorAddNewItem;

            this.bindingNavigator1.BindingSource = this.садыBindingSource;

            this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;

            this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;

            this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {

            this.bindingNavigatorMoveFirstItem,

            this.bindingNavigatorMovePreviousItem,

            this.bindingNavigatorSeparator,

            this.bindingNavigatorPositionItem,

            this.bindingNavigatorCountItem,

            this.bindingNavigatorSeparator1,

            this.bindingNavigatorMoveNextItem,

            this.bindingNavigatorMoveLastItem,

            this.bindingNavigatorSeparator2,

            this.bindingNavigatorAddNewItem,

            this.bindingNavigatorDeleteItem,

            this.toolStripButton1,

            this.toolStripButton2,

            this.toolStripButton3});

            this.bindingNavigator1.Location = new System.Drawing.Point(0, 0);

            this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;

            this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;

            this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;

            this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;

            this.bindingNavigator1.Name = "bindingNavigator1";

            this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;

            this.bindingNavigator1.Size = new System.Drawing.Size(778, 25);

            this.bindingNavigator1.TabIndex = 0;

            this.bindingNavigator1.Text = "bindingNavigator1";

            //

            // bindingNavigatorAddNewItem

            //

            this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;

            this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));

            this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";

            this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;

            this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);

            this.bindingNavigatorAddNewItem.Text = "Add new";

            //

            // садыBindingSource

            //

            this.садыBindingSource.DataMember = "Сады";

            this.садыBindingSource.DataSource = this.bindingSource1;

            //

            // bindingSource1

            //

            this.bindingSource1.DataSource = this.kinderGartenDataSet2;

            this.bindingSource1.Position = 0;

            //

            // kinderGartenDataSet2

            //

            this.kinderGartenDataSet2.DataSetName = "KinderGartenDataSet2";

            this.kinderGartenDataSet2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;

            //

            // bindingNavigatorCountItem

            //

            this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";

            this.bindingNavigatorCountItem.Size = new System.Drawing.Size(33, 22);

            this.bindingNavigatorCountItem.Text = "of {0}";

            this.bindingNavigatorCountItem.ToolTipText = "Total number of items";

            //

            // bindingNavigatorDeleteItem

            //

            this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;

            this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));

            this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";

            this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;

            this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);

            this.bindingNavigatorDeleteItem.Text = "Delete";

            //

            // bindingNavigatorMoveFirstItem

            //

            this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;

            this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));

            this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";

            this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;

            this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);

            this.bindingNavigatorMoveFirstItem.Text = "Move first";

            //

            // bindingNavigatorMovePreviousItem

            //

            this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;

            this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));

            this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";

            this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;

            this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);

            this.bindingNavigatorMovePreviousItem.Text = "Move previous";

            //

            // bindingNavigatorSeparator

            //

            this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";

            this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);

            //

            // bindingNavigatorPositionItem

            //

            this.bindingNavigatorPositionItem.AccessibleName = "Position";

            this.bindingNavigatorPositionItem.AutoSize = false;

            this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";

            this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 20);

            this.bindingNavigatorPositionItem.Text = "0";

            this.bindingNavigatorPositionItem.ToolTipText = "Current position";

            //

            // bindingNavigatorSeparator1

            //

            this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";

            this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);

            //

            // bindingNavigatorMoveNextItem

Информация о работе Разработка ИС для учета детских садов города