Автор работы: Пользователь скрыл имя, 26 Февраля 2014 в 21:00, курсовая работа
Целью данной курсовой работы является разработка приложения для учёта детских садов города.
С помощью созданного приложения руководители городских органов управления смогут отслеживать комплектацию детских садов работниками и детьми.
Данное приложение актуально, так как позволит получать в кратчайшие сроки всю необходимую информацию для комплектации детских садов города. При этом все манипуляции с данными не потребуют затрат большого количества времени, так как вся система очень наглядна и визуально понятна.
//
this.
this.
this.
this.
this.
this.
//
// bindingNavigatorMoveLastItem
//
this.
this.
this.
this.
this.
this.
//
// bindingNavigatorSeparator2
//
this.
this.
//
// toolStripButton1
//
this.toolStripButton1.
this.toolStripButton1.Image = ((System.Drawing.Image)(
this.toolStripButton1.
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
this.toolStripButton1.Text = "Обновить";
this.toolStripButton1.Click += new System.EventHandler(this.
//
// toolStripButton2
//
this.toolStripButton2.
this.toolStripButton2.Image = ((System.Drawing.Image)(
this.toolStripButton2.
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(23, 22);
this.toolStripButton2.Text = "Персонал детского сада";
this.toolStripButton2.Click += new System.EventHandler(this.
//
// toolStripButton3
//
this.toolStripButton3.
this.toolStripButton3.Image = ((System.Drawing.Image)(
this.toolStripButton3.
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
this.toolStripButton3.Text = "Группы";
this.toolStripButton3.Click += new System.EventHandler(this.
//
// dataGridView1
//
this.dataGridView1.
this.dataGridView1.
this.dataGridView1.Columns.
this.
this.
this.
this.
this.dataGridView1.DataSource = this.садыBindingSource;
this.dataGridView1.Location = new System.Drawing.Point(0, 28);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.Size = new System.Drawing.Size(778, 489);
this.dataGridView1.TabIndex = 1;
//
// кодDataGridViewTextBoxColumn
//
this.
this.
this.
this.
this.
//
// наименованиеDataGridViewTextBo
//
this.
this.
this.
this.
//
// адресDataGridViewTextBoxColumn
//
this.
this.
this.
this.
//
// номерDataGridViewTextBoxColumn
//
this.
this.
this.
//
// садыTableAdapter
//
this.садыTableAdapter.
//
// sprKinderGarten
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScale
this.ClientSize = new System.Drawing.Size(778, 518);
this.Controls.Add(this.
this.Controls.Add(this.
this.Name = "sprKinderGarten";
this.StartPosition = System.Windows.Forms.FormStart
this.Text = "Справочник детские сады";
this.Load += new System.EventHandler(this.
((System.ComponentModel.ISuppo
this.bindingNavigator1.
this.bindingNavigator1.
((System.ComponentModel.ISuppo
((System.ComponentModel.ISuppo
((System.ComponentModel.ISuppo
((System.ComponentModel.ISuppo
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.BindingNa
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.ToolStrip
private System.Windows.Forms.BindingSo
private System.Windows.Forms.DataGridV
private KinderGartenDataSet2 kinderGartenDataSet2;
private System.Windows.Forms.BindingSo
private KinderGartenDataSet2TableAdapt
private System.Windows.Forms.DataGridV
private System.Windows.Forms.DataGridV
private System.Windows.Forms.DataGridV
private System.Windows.Forms.DataGridV
}
}
sprKinderGarten.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 sprKinderGarten : Form
{
public sprKinderGarten()
{
InitializeComponent();
}
private void sprKinderGarten_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'kinderGartenDataSet2.Сады' table. You can move, or remove it, as needed.
this.садыTableAdapter.Fill(thi
// TODO: This line of code loads data into the 'kinderGartenDataSet1.Сады' table. You can move, or remove it, as needed.
//this.садыTableAdapter.Fill(
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
садыTableAdapter.Update(
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
int kod = Convert.ToInt32(((DataRowView)
sprPersonal spr = new sprPersonal();
spr.SetCodParent(kod);
spr.ShowDialog();
}
private void toolStripButton3_Click(object sender, EventArgs e)
{
int kod = Convert.ToInt32(((DataRowView)
GrupsKinder spr = new GrupsKinder();
spr.SetCodParent(kod);
spr.ShowDialog();
}
}
}
Приложение 3. Форма справочника Должностей fposition. cs
fposition.Designer.cs
namespace kindergarten
{
partial class fposition
{
/// <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.dgPosition = new System.Windows.Forms.DataGridV
this.
this.должностиBindingSource = new System.Windows.Forms.BindingSo
this.bindingSource1 = new System.Windows.Forms.BindingSo
this.kinderGartenDataSet = new kindergarten.KinderGartenDataS
this.должностиTableAdapter = new kindergarten.
this.bindingNavigator1 = new System.Windows.Forms.BindingNa
this.
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStrip
this.
this.
this.
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStrip
this.
this.
this.
this.
this.
this.toolStripButton1 = new System.Windows.Forms.ToolStrip
((System.ComponentModel.ISuppo
((System.ComponentModel.ISuppo
((System.ComponentModel.ISuppo
((System.ComponentModel.ISuppo
((System.ComponentModel.ISuppo
this.bindingNavigator1.
this.SuspendLayout();
//
// dgPosition
//
this.dgPosition.
this.dgPosition.
this.dgPosition.Columns.
this.
this.dgPosition.DataSource = this.должностиBindingSource;
this.dgPosition.Location = new System.Drawing.Point(-4, 28);
this.dgPosition.Name = "dgPosition";
this.dgPosition.Size = new System.Drawing.Size(560, 246);
this.dgPosition.TabIndex = 1;
this.dgPosition.
//
// наименованиеDataGridViewTextBo
//
this.
this.
this.
this.
//
// должностиBindingSource
//
this.должностиBindingSource.
this.должностиBindingSource.
//
// bindingSource1
//
this.bindingSource1.DataSource = this.kinderGartenDataSet;
this.bindingSource1.Position = 0;
//
Информация о работе Разработка ИС для учета детских садов города