Главная страница

диплом. Разработка информационной системы автосервиса


Скачать 1 Mb.
НазваниеРазработка информационной системы автосервиса
Анкордиплом
Дата04.04.2022
Размер1 Mb.
Формат файлаdocx
Имя файла1608485.docx
ТипДиплом
#440872
страница7 из 8
1   2   3   4   5   6   7   8

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override global::System.Data.DataTable CreateInstance() {

return new КлиентыDataTable();

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

internal void InitVars() {

this.columnКодКлиента = base.Columns["КодКлиента"];

this.columnНаименование = base.Columns["Наименование"];

this.columnКонтакты = base.Columns["Контакты"];

this.columnПримечание = base.Columns["Примечание"];

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

private void InitClass() {

this.columnКодКлиента = new global::System.Data.DataColumn "КодКлиента", typeof(int), null, global::System.Data.MappingType.Element);

base.Columns.Add(this.columnКодКлиента);

this.columnНаименование = new global::System.Data.DataColumn "Наименование", typeof(string), null, global:: ystem.Data.MappingType.Element);

base.Columns.Add(this.columnНаименование);

this.columnКонтакты = new global::System.Data.DataColumn "Контакты", typeof(string), null, global::System.Data.MappingType.Element);

base.Columns.Add(this.columnКонтакты);

this.columnПримечание = new global::System.Data.DataColumn "Примечание", typeof(string), null, global::System.Data.MappingType.Element);

base.Columns.Add(this.columnПримечание);

this.Constraints.Add(new global::System.Data.UniqueConstraint "Constraint1", new global::System.Data.DataColumn[] {

this.columnКодКлиента}, true));

this.columnКодКлиента.AutoIncrement = true;

this.columnКодКлиента.AutoIncrementSeed = -1;

this.columnКодКлиента.AutoIncrementStep = -1;

this.columnКодКлиента.AllowDBNull = false;

this.columnКодКлиента.ReadOnly = true;

this.columnКодКлиента.Unique = true;

this.columnНаименование.AllowDBNull = false;

this.columnНаименование.MaxLength = 100;

this.columnКонтакты.MaxLength = 200;

this.columnПримечание.MaxLength = 200;

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public КлиентыRow NewКлиентыRow() {

return ((КлиентыRow)(this.NewRow()));

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {

return new КлиентыRow(builder);

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override global::System.Type GetRowType() {

return typeof(КлиентыRow);

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {

base.OnRowChanged(e);

if ((this.КлиентыRowChanged != null)) {

this.КлиентыRowChanged(this, new КлиентыRowChangeEvent(((КлиентыRow)(e.Row)), e.Action));

}

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {

base.OnRowChanging(e);

if ((this.КлиентыRowChanging != null)) {

this.КлиентыRowChanging(this, new КлиентыRowChangeEvent(((КлиентыRow)(e.Row)), e.Action));

}

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {

base.OnRowDeleted(e);

if ((this.КлиентыRowDeleted != null)) {

this.КлиентыRowDeleted(this, new КлиентыRowChangeEvent(((КлиентыRow)(e.Row)), e.Action));

}

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {

base.OnRowDeleting(e);

if ((this.КлиентыRowDeleting != null)) {

this.КлиентыRowDeleting(this, new КлиентыRowChangeEvent(((КлиентыRow)(e.Row)), e.Action));

}

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {

global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();

global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();

MyDataSet ds = new MyDataSet();

global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();

any1.Namespace = "http://www.w3.org/2001/XMLSchema";

any1.MinOccurs = new decimal(0);

any1.MaxOccurs = decimal.MaxValue;

any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;

sequence.Items.Add(any1);

global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();

any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";

any2.MinOccurs = new decimal(1);

any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;

sequence.Items.Add(any2);

global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();

attribute1.Name = "namespace";

attribute1.FixedValue = ds.Namespace;

type.Attributes.Add(attribute1);

global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();

attribute2.Name = "tableTypeName";

attribute2.FixedValue = "КлиентыDataTable";

type.Attributes.Add(attribute2);

type.Particle = sequence;

global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();

if (xs.Contains(dsSchema.TargetNamespace)) {

global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();

global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();

try {

global::System.Xml.Schema.XmlSchema schema = null;

dsSchema.Write(s1);

for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {

schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));

s2.SetLength(0);

schema.Write(s2);

if ((s1.Length == s2.Length)) {

s1.Position = 0;

s2.Position = 0;

for (; ((s1.Position != s1.Length)

&& (s1.ReadByte() == s2.ReadByte())); ) {

;

}

if ((s1.Position == s1.Length)) {

return type;

}

///Represents the strongly named DataTable class.

///


[global::System.Serializable()]

[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]

public partial class МестаХраненияDataTable : global::System.Data.TypedTableBase<МестаХраненияRow> {

private global::System.Data.DataColumn columnКодМестаХранения;

private global::System.Data.DataColumn columnНаименование;

private global::System.Data.DataColumn columnПримечание;

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public МестаХраненияDataTable() {

this.TableName = "МестаХранения";

this.BeginInit();

this.InitClass();

this.EndInit();

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

internal МестаХраненияDataTable(global::System.Data.DataTable table) {

this.TableName = table.TableName;

if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {

this.CaseSensitive = table.CaseSensitive;

}

if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {

this.Locale = table.Locale;

}

if ((table.Namespace != table.DataSet.Namespace)) {

this.Namespace = table.Namespace;

}

this.Prefix = table.Prefix;

this.MinimumCapacity = table.MinimumCapacity;

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected МестаХраненияDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :

base(info, context) {

this.InitVars();

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public global::System.Data.DataColumn КодМестаХраненияColumn {

get {

return this.columnКодМестаХранения;

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public global::System.Data.DataColumn НаименованиеColumn {

get {

return this.columnНаименование;

}

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public global::System.Data.DataColumn ПримечаниеColumn {

get {

return this.columnПримечание;

}

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

[global::System.ComponentModel.Browsable(false)]

public int Count {

get {

return this.Rows.Count;

}

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public МестаХраненияRow this[int index] {

get {

return ((МестаХраненияRow)(this.Rows[index]));

}

}

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public event МестаХраненияRowChangeEventHandler МестаХраненияRowChanging;

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public event МестаХраненияRowChangeEventHandler МестаХраненияRowChanged;

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public event МестаХраненияRowChangeEventHandler МестаХраненияRowDeleting;

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public event МестаХраненияRowChangeEventHandler МестаХраненияRowDeleted;

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public void AddМестаХраненияRow(МестаХраненияRow row) {

this.Rows.Add(row);

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public МестаХраненияRow AddМестаХраненияRow(string Наименование, string Примечание) {

МестаХраненияRow rowМестаХраненияRow = ((МестаХраненияRow)(this.NewRow()));

object[] columnValuesArray = new object[] {

null,

Наименование,

Примечание};

rowМестаХраненияRow.ItemArray = columnValuesArray;

this.Rows.Add(rowМестаХраненияRow);

return rowМестаХраненияRow;

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public МестаХраненияRow FindByКодМестаХранения(int КодМестаХранения) {

return ((МестаХраненияRow)(this.Rows.Find(new object[] {

КодМестаХранения})));

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public override global::System.Data.DataTable Clone() {

МестаХраненияDataTable cln = ((МестаХраненияDataTable)(base.Clone()));

cln.InitVars();

return cln;

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override global::System.Data.DataTable CreateInstance() {

return new МестаХраненияDataTable();

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

internal void InitVars() {

this.columnКодМестаХранения = base.Columns["КодМестаХранения"];

this.columnНаименование = base.Columns["Наименование"];

this.columnПримечание = base.Columns["Примечание"];

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

private void InitClass() {

this.columnКодМестаХранения = new global::System.Data.DataColumn "КодМестаХранения", typeof(int), null, global::System.Data.MappingType.Element);

base.Columns.Add(this.columnКодМестаХранения);

this.columnНаименование = new global::System.Data.DataColumn ("Наименование", typeof(string), null, global::System.Data.MappingType.Element);

base.Columns.Add(this.columnНаименование);

this.columnПримечание = new global::System.Data.DataColumn("Примечание", typeof(string), null, global::System.Data.MappingType.Element);

base.Columns.Add(this.columnПримечание);

this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {

this.columnКодМестаХранения}, true));

this.columnКодМестаХранения.AutoIncrement = true;

this.columnКодМестаХранения.AutoIncrementSeed = -1;

this.columnКодМестаХранения.AutoIncrementStep = -1;

this.columnКодМестаХранения.AllowDBNull = false;

this.columnКодМестаХранения.ReadOnly = true;

this.columnКодМестаХранения.Unique = true;

this.columnНаименование.AllowDBNull = false;

this.columnНаименование.MaxLength = 100;

this.columnПримечание.MaxLength = 100;

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

public МестаХраненияRow NewМестаХраненияRow() {

return ((МестаХраненияRow)(this.NewRow()));

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {

return new МестаХраненияRow(builder);

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]

protected override global::System.Type GetRowType() {

return typeof(МестаХраненияRow);

}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1   2   3   4   5   6   7   8


написать администратору сайта