Work.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										127
									
								
								DB/MainDB.cs
									
									
									
									
									
								
							
							
						
						
									
										127
									
								
								DB/MainDB.cs
									
									
									
									
									
								
							@@ -12,10 +12,18 @@ namespace Diplom_B.DB
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	public class MainDB : DbContext
 | 
						public class MainDB : DbContext
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		public DbSet<Zakazchik> Zakazchiki { get; set; }
 | 
					 | 
				
			||||||
		public DbSet<User> Users { get; set; }
 | 
							public DbSet<User> Users { get; set; }
 | 
				
			||||||
 | 
							public DbSet<Status> Statusy { get; set; }
 | 
				
			||||||
 | 
							public DbSet<Dogovor> Dogovory { get; set; }
 | 
				
			||||||
		public DbSet<Izdelie> Izdeliya { get; set; }
 | 
							public DbSet<Izdelie> Izdeliya { get; set; }
 | 
				
			||||||
 | 
							public DbSet<DogIzd> DogIzds { get; set; }
 | 
				
			||||||
 | 
							public DbSet<Zakazchik> Zakazchiki { get; set; }
 | 
				
			||||||
 | 
							public DbSet<Document> Documenty { get; set; }
 | 
				
			||||||
		public DbSet<Izveschenie> Izvescheniya { get; set; }
 | 
							public DbSet<Izveschenie> Izvescheniya { get; set; }
 | 
				
			||||||
 | 
							public DbSet<DocIzv> DocIzvs { get; set; }
 | 
				
			||||||
 | 
							public DbSet<Postavka> Postavki { get; set; }
 | 
				
			||||||
 | 
							public DbSet<Oplata> Oplaty { get; set; }
 | 
				
			||||||
 | 
							
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		public MainDB() {
 | 
							public MainDB() {
 | 
				
			||||||
			//Database.Migrate();
 | 
								//Database.Migrate();
 | 
				
			||||||
@@ -35,15 +43,38 @@ namespace Diplom_B.DB
 | 
				
			|||||||
		public int Id { get; set; }
 | 
							public int Id { get; set; }
 | 
				
			||||||
		public string Name { get; set; }
 | 
							public string Name { get; set; }
 | 
				
			||||||
		public string Pass { get; set; }
 | 
							public string Pass { get; set; }
 | 
				
			||||||
 | 
							public int Dog { get; set; }
 | 
				
			||||||
 | 
							public int Doc { get; set; }
 | 
				
			||||||
 | 
							public int Izv { get; set; }
 | 
				
			||||||
 | 
							public int Post { get; set; }
 | 
				
			||||||
 | 
							public int Izd { get; set; }
 | 
				
			||||||
 | 
							public int Zak { get; set; }
 | 
				
			||||||
 | 
							public int Set { get; set; }
 | 
				
			||||||
 | 
							public int Default { get; set; }
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	public class Zakazchik
 | 
						public class Status
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
							[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
				
			||||||
		public int Id { get; set; }
 | 
							public int Id { get; set; }
 | 
				
			||||||
		public string Name { get; set; }
 | 
							public string Stat { get; set; }
 | 
				
			||||||
		public string Adress { get; set; }
 | 
						}
 | 
				
			||||||
		public string Phone { get; set; }
 | 
						public class Dogovor
 | 
				
			||||||
		public string Email { get; set; }
 | 
						{
 | 
				
			||||||
 | 
							[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
				
			||||||
 | 
							public int Id { get; set; }
 | 
				
			||||||
 | 
							public string DogNum { get; set; }
 | 
				
			||||||
 | 
							public List<DogIzd> DogIzds { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							[ForeignKey("Zakazchik")]
 | 
				
			||||||
 | 
							public int ZakazchikId { get; set; }
 | 
				
			||||||
 | 
							public Zakazchik Zakazchik { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							public DateTime DataPostavky { get; set; }
 | 
				
			||||||
 | 
							public string Garantiy { get; set; }
 | 
				
			||||||
 | 
							public string PrikazZapusk { get; set; }
 | 
				
			||||||
 | 
							public double Avans { get; set; }
 | 
				
			||||||
 | 
							public List<Oplata> Platejy { get; set; }
 | 
				
			||||||
 | 
							public string Primechanie { get; set; }
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	public class Izdelie
 | 
						public class Izdelie
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
@@ -57,6 +88,44 @@ namespace Diplom_B.DB
 | 
				
			|||||||
		public int OtdelRazrab { get; set; }
 | 
							public int OtdelRazrab { get; set; }
 | 
				
			||||||
		public string Ved { get; set; }
 | 
							public string Ved { get; set; }
 | 
				
			||||||
		public string GlavKonstr { get; set; }
 | 
							public string GlavKonstr { get; set; }
 | 
				
			||||||
 | 
							public List<Postavka> Postavky { get; set; }
 | 
				
			||||||
 | 
							public List<DogIzd> DogIzds { get; set; }
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						public class DogIzd
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
				
			||||||
 | 
							public int Id { get; set; }
 | 
				
			||||||
 | 
							public int Kolvo { get; set; }
 | 
				
			||||||
 | 
							
 | 
				
			||||||
 | 
							[ForeignKey("Dogovor")]
 | 
				
			||||||
 | 
							public int DogovorId { get; set; }
 | 
				
			||||||
 | 
							public Dogovor Dogovor { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							[ForeignKey("Izdelie")]
 | 
				
			||||||
 | 
							public int IzdelieId { get; set; }
 | 
				
			||||||
 | 
							public Izdelie Izdelie { get; set; }
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						public class Zakazchik
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
				
			||||||
 | 
							public int Id { get; set; }
 | 
				
			||||||
 | 
							public string Name { get; set; }
 | 
				
			||||||
 | 
							public string Adress { get; set; }
 | 
				
			||||||
 | 
							public string Phone { get; set; }
 | 
				
			||||||
 | 
							public string Email { get; set; }
 | 
				
			||||||
 | 
							public List<Dogovor> Dogovory { get; set; }
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						public class Document
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
				
			||||||
 | 
							public int Id { get; set; }
 | 
				
			||||||
 | 
							public string InvNum { get; set; }
 | 
				
			||||||
 | 
							public string DecNum { get; set; }
 | 
				
			||||||
 | 
							public string Name { get; set; }
 | 
				
			||||||
 | 
							public string FileName { get; set; }
 | 
				
			||||||
 | 
							public byte[] FileStruct { get; set; }
 | 
				
			||||||
 | 
							public string Primechanie { get; set; }
 | 
				
			||||||
 | 
							public List<DocIzv> DocIzvs { get; set; }
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	public class Izveschenie
 | 
						public class Izveschenie
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
@@ -69,6 +138,52 @@ namespace Diplom_B.DB
 | 
				
			|||||||
		public string UkazVnedr { get; set; }
 | 
							public string UkazVnedr { get; set; }
 | 
				
			||||||
		public string FileName { get; set; }
 | 
							public string FileName { get; set; }
 | 
				
			||||||
		public byte[] FileStruct { get; set; }
 | 
							public byte[] FileStruct { get; set; }
 | 
				
			||||||
 | 
							public List<DocIzv> DocIzvs { get; set; }
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						public class DocIzv
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
				
			||||||
 | 
							public int Id { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							[ForeignKey("Document")]
 | 
				
			||||||
 | 
							public int DocumentId { get; set; }
 | 
				
			||||||
 | 
							public Document Document { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							[ForeignKey("Izveschenie")]
 | 
				
			||||||
 | 
							public int IzveschenieId { get; set; }
 | 
				
			||||||
 | 
							public Izveschenie Izveschenie { get; set; }
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						public class Postavka
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
				
			||||||
 | 
							public int Id { get; set; }
 | 
				
			||||||
 | 
							public string ZavNum { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							[ForeignKey("Dogovor")]
 | 
				
			||||||
 | 
							public int? DogovorId { get; set; }
 | 
				
			||||||
 | 
							public Dogovor Dogovor { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							[ForeignKey("Status")]
 | 
				
			||||||
 | 
							public int? StatNum { get; set; }
 | 
				
			||||||
 | 
							public Status Status { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							public DateTime DataPostavki { get; set; }
 | 
				
			||||||
 | 
							public string Primechanie { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							public int? IzdelieId { get; set; }
 | 
				
			||||||
 | 
							public Izdelie Izdelie { get; set; }
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						public class Oplata
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 | 
				
			||||||
 | 
							public int Id { get; set; }
 | 
				
			||||||
 | 
							public double Summa { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							[ForeignKey("Dogovor")]
 | 
				
			||||||
 | 
							public int DogovorId { get; set; }
 | 
				
			||||||
 | 
							public Dogovor Dogovor { get; set; }
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										21
									
								
								DB/WorkDB.cs
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								DB/WorkDB.cs
									
									
									
									
									
								
							@@ -11,6 +11,7 @@ namespace Diplom_B.DB
 | 
				
			|||||||
		public static void Init()
 | 
							public static void Init()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			using (var DB = new MainDB())
 | 
								using (var DB = new MainDB())
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					var usr = (from u in DB.Users
 | 
										var usr = (from u in DB.Users
 | 
				
			||||||
										 where u.Name == "admin"
 | 
															 where u.Name == "admin"
 | 
				
			||||||
@@ -20,9 +21,27 @@ namespace Diplom_B.DB
 | 
				
			|||||||
						DB.Users.Add(new DB.User()
 | 
											DB.Users.Add(new DB.User()
 | 
				
			||||||
						{
 | 
											{
 | 
				
			||||||
							Name = "admin",
 | 
												Name = "admin",
 | 
				
			||||||
						Pass = "admin"
 | 
												Pass = "admin",
 | 
				
			||||||
 | 
												Dog = 3,
 | 
				
			||||||
 | 
												Doc = 3,
 | 
				
			||||||
 | 
												Izv = 3,
 | 
				
			||||||
 | 
												Post = 3,
 | 
				
			||||||
 | 
												Izd = 3,
 | 
				
			||||||
 | 
												Zak = 3,
 | 
				
			||||||
 | 
												Set = 3,
 | 
				
			||||||
 | 
												Default = 1
 | 
				
			||||||
						});
 | 
											});
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										var stat = (from u in DB.Statusy
 | 
				
			||||||
 | 
																select u).ToArray();
 | 
				
			||||||
 | 
										if (stat.Length < 1)
 | 
				
			||||||
 | 
										{
 | 
				
			||||||
 | 
											DB.Statusy.Add(new Status() {Stat = "Без статуса." });
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				DB.SaveChanges();
 | 
									DB.SaveChanges();
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -266,11 +266,29 @@
 | 
				
			|||||||
  <ItemGroup>
 | 
					  <ItemGroup>
 | 
				
			||||||
    <Compile Include="DB\MainDB.cs" />
 | 
					    <Compile Include="DB\MainDB.cs" />
 | 
				
			||||||
    <Compile Include="DB\WorkDB.cs" />
 | 
					    <Compile Include="DB\WorkDB.cs" />
 | 
				
			||||||
    <Compile Include="ZakazchikForm.cs">
 | 
					    <Compile Include="DocForm.cs">
 | 
				
			||||||
      <SubType>Form</SubType>
 | 
					      <SubType>Form</SubType>
 | 
				
			||||||
    </Compile>
 | 
					    </Compile>
 | 
				
			||||||
    <Compile Include="ZakazchikForm.Designer.cs">
 | 
					    <Compile Include="DocForm.Designer.cs">
 | 
				
			||||||
      <DependentUpon>ZakazchikForm.cs</DependentUpon>
 | 
					      <DependentUpon>DocForm.cs</DependentUpon>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="DogForm.cs">
 | 
				
			||||||
 | 
					      <SubType>Form</SubType>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="DogForm.Designer.cs">
 | 
				
			||||||
 | 
					      <DependentUpon>DogForm.cs</DependentUpon>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="SetForm.cs">
 | 
				
			||||||
 | 
					      <SubType>Form</SubType>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="SetForm.Designer.cs">
 | 
				
			||||||
 | 
					      <DependentUpon>SetForm.cs</DependentUpon>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="ZakForm.cs">
 | 
				
			||||||
 | 
					      <SubType>Form</SubType>
 | 
				
			||||||
 | 
					    </Compile>
 | 
				
			||||||
 | 
					    <Compile Include="ZakForm.Designer.cs">
 | 
				
			||||||
 | 
					      <DependentUpon>ZakForm.cs</DependentUpon>
 | 
				
			||||||
    </Compile>
 | 
					    </Compile>
 | 
				
			||||||
    <Compile Include="MainForm.cs">
 | 
					    <Compile Include="MainForm.cs">
 | 
				
			||||||
      <SubType>Form</SubType>
 | 
					      <SubType>Form</SubType>
 | 
				
			||||||
@@ -305,11 +323,14 @@
 | 
				
			|||||||
    <Compile Include="Program.cs" />
 | 
					    <Compile Include="Program.cs" />
 | 
				
			||||||
    <Compile Include="Properties\AssemblyInfo.cs" />
 | 
					    <Compile Include="Properties\AssemblyInfo.cs" />
 | 
				
			||||||
    <Compile Include="User.cs" />
 | 
					    <Compile Include="User.cs" />
 | 
				
			||||||
 | 
					    <EmbeddedResource Include="DogForm.resx">
 | 
				
			||||||
 | 
					      <DependentUpon>DogForm.cs</DependentUpon>
 | 
				
			||||||
 | 
					    </EmbeddedResource>
 | 
				
			||||||
    <EmbeddedResource Include="PostForm.resx">
 | 
					    <EmbeddedResource Include="PostForm.resx">
 | 
				
			||||||
      <DependentUpon>PostForm.cs</DependentUpon>
 | 
					      <DependentUpon>PostForm.cs</DependentUpon>
 | 
				
			||||||
    </EmbeddedResource>
 | 
					    </EmbeddedResource>
 | 
				
			||||||
    <EmbeddedResource Include="ZakazchikForm.resx">
 | 
					    <EmbeddedResource Include="ZakForm.resx">
 | 
				
			||||||
      <DependentUpon>ZakazchikForm.cs</DependentUpon>
 | 
					      <DependentUpon>ZakForm.cs</DependentUpon>
 | 
				
			||||||
    </EmbeddedResource>
 | 
					    </EmbeddedResource>
 | 
				
			||||||
    <EmbeddedResource Include="IzvForm.resx">
 | 
					    <EmbeddedResource Include="IzvForm.resx">
 | 
				
			||||||
      <DependentUpon>IzvForm.cs</DependentUpon>
 | 
					      <DependentUpon>IzvForm.cs</DependentUpon>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										40
									
								
								DocForm.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								DocForm.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Diplom_B
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						partial class DocForm
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							/// <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();
 | 
				
			||||||
 | 
								this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
				
			||||||
 | 
								this.ClientSize = new System.Drawing.Size(800, 450);
 | 
				
			||||||
 | 
								this.Text = "DocForm";
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							#endregion
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										20
									
								
								DocForm.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								DocForm.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using System.Collections.Generic;
 | 
				
			||||||
 | 
					using System.ComponentModel;
 | 
				
			||||||
 | 
					using System.Data;
 | 
				
			||||||
 | 
					using System.Drawing;
 | 
				
			||||||
 | 
					using System.Linq;
 | 
				
			||||||
 | 
					using System.Text;
 | 
				
			||||||
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
 | 
					using System.Windows.Forms;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Diplom_B
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						public partial class DocForm : Form
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							public DocForm()
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								InitializeComponent();
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										47
									
								
								DogForm.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								DogForm.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Diplom_B
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						partial class DogForm
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							/// <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.SuspendLayout();
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// DogForm
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 | 
				
			||||||
 | 
								this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
				
			||||||
 | 
								this.ClientSize = new System.Drawing.Size(800, 450);
 | 
				
			||||||
 | 
								this.Name = "DogForm";
 | 
				
			||||||
 | 
								this.Text = "Form1";
 | 
				
			||||||
 | 
								this.ResumeLayout(false);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							#endregion
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										20
									
								
								DogForm.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								DogForm.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using System.Collections.Generic;
 | 
				
			||||||
 | 
					using System.ComponentModel;
 | 
				
			||||||
 | 
					using System.Data;
 | 
				
			||||||
 | 
					using System.Drawing;
 | 
				
			||||||
 | 
					using System.Linq;
 | 
				
			||||||
 | 
					using System.Text;
 | 
				
			||||||
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
 | 
					using System.Windows.Forms;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Diplom_B
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						public partial class DogForm : Form
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							public DogForm()
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								InitializeComponent();
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										218
									
								
								IzdForm.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										218
									
								
								IzdForm.Designer.cs
									
									
									
										generated
									
									
									
								
							@@ -29,9 +29,7 @@ namespace Diplom_B
 | 
				
			|||||||
		/// </summary>
 | 
							/// </summary>
 | 
				
			||||||
		private void InitializeComponent()
 | 
							private void InitializeComponent()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			this.searchBox = new System.Windows.Forms.TextBox();
 | 
								this.idzGridView = new System.Windows.Forms.DataGridView();
 | 
				
			||||||
			this.resetSearchButton = new System.Windows.Forms.Button();
 | 
					 | 
				
			||||||
			this.label1 = new System.Windows.Forms.Label();
 | 
					 | 
				
			||||||
			this.groupBox1 = new System.Windows.Forms.GroupBox();
 | 
								this.groupBox1 = new System.Windows.Forms.GroupBox();
 | 
				
			||||||
			this.clearButton = new System.Windows.Forms.Button();
 | 
								this.clearButton = new System.Windows.Forms.Button();
 | 
				
			||||||
			this.idLable = new System.Windows.Forms.Label();
 | 
								this.idLable = new System.Windows.Forms.Label();
 | 
				
			||||||
@@ -57,41 +55,36 @@ namespace Diplom_B
 | 
				
			|||||||
			this.shifrBox = new System.Windows.Forms.TextBox();
 | 
								this.shifrBox = new System.Windows.Forms.TextBox();
 | 
				
			||||||
			this.decBox = new System.Windows.Forms.TextBox();
 | 
								this.decBox = new System.Windows.Forms.TextBox();
 | 
				
			||||||
			this.label2 = new System.Windows.Forms.Label();
 | 
								this.label2 = new System.Windows.Forms.Label();
 | 
				
			||||||
			this.idzGridView = new System.Windows.Forms.DataGridView();
 | 
								this.label1 = new System.Windows.Forms.Label();
 | 
				
			||||||
			this.groupBox1.SuspendLayout();
 | 
								this.resetSearchButton = new System.Windows.Forms.Button();
 | 
				
			||||||
 | 
								this.searchBox = new System.Windows.Forms.TextBox();
 | 
				
			||||||
 | 
								this.mainMenuStrip = new System.Windows.Forms.MenuStrip();
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.документыToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.извещенияToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.поставкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.изделияToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
			((System.ComponentModel.ISupportInitialize)(this.idzGridView)).BeginInit();
 | 
								((System.ComponentModel.ISupportInitialize)(this.idzGridView)).BeginInit();
 | 
				
			||||||
 | 
								this.groupBox1.SuspendLayout();
 | 
				
			||||||
 | 
								this.mainMenuStrip.SuspendLayout();
 | 
				
			||||||
			this.SuspendLayout();
 | 
								this.SuspendLayout();
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// searchBox
 | 
								// idzGridView
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.searchBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
 | 
								this.idzGridView.AllowUserToAddRows = false;
 | 
				
			||||||
 | 
								this.idzGridView.AllowUserToDeleteRows = false;
 | 
				
			||||||
 | 
								this.idzGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 | 
				
			||||||
 | 
					            | System.Windows.Forms.AnchorStyles.Left) 
 | 
				
			||||||
            | System.Windows.Forms.AnchorStyles.Right)));
 | 
					            | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
			this.searchBox.Location = new System.Drawing.Point(387, 12);
 | 
								this.idzGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
 | 
				
			||||||
			this.searchBox.Name = "searchBox";
 | 
								this.idzGridView.Location = new System.Drawing.Point(345, 55);
 | 
				
			||||||
			this.searchBox.Size = new System.Drawing.Size(561, 20);
 | 
								this.idzGridView.Name = "idzGridView";
 | 
				
			||||||
			this.searchBox.TabIndex = 3;
 | 
								this.idzGridView.RowHeadersVisible = false;
 | 
				
			||||||
			this.searchBox.Tag = "";
 | 
								this.idzGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
 | 
				
			||||||
			this.searchBox.TextChanged += new System.EventHandler(this.searchBox_TextChanged);
 | 
								this.idzGridView.Size = new System.Drawing.Size(684, 292);
 | 
				
			||||||
			// 
 | 
								this.idzGridView.TabIndex = 12;
 | 
				
			||||||
			// resetSearchButton
 | 
					 | 
				
			||||||
			// 
 | 
					 | 
				
			||||||
			this.resetSearchButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
 | 
					 | 
				
			||||||
			this.resetSearchButton.Location = new System.Drawing.Point(954, 10);
 | 
					 | 
				
			||||||
			this.resetSearchButton.Name = "resetSearchButton";
 | 
					 | 
				
			||||||
			this.resetSearchButton.Size = new System.Drawing.Size(75, 23);
 | 
					 | 
				
			||||||
			this.resetSearchButton.TabIndex = 4;
 | 
					 | 
				
			||||||
			this.resetSearchButton.Text = "Сбросить";
 | 
					 | 
				
			||||||
			this.resetSearchButton.UseVisualStyleBackColor = true;
 | 
					 | 
				
			||||||
			this.resetSearchButton.Click += new System.EventHandler(this.resetSearchButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
					 | 
				
			||||||
			// label1
 | 
					 | 
				
			||||||
			// 
 | 
					 | 
				
			||||||
			this.label1.AutoSize = true;
 | 
					 | 
				
			||||||
			this.label1.Location = new System.Drawing.Point(342, 15);
 | 
					 | 
				
			||||||
			this.label1.Name = "label1";
 | 
					 | 
				
			||||||
			this.label1.Size = new System.Drawing.Size(39, 13);
 | 
					 | 
				
			||||||
			this.label1.TabIndex = 5;
 | 
					 | 
				
			||||||
			this.label1.Text = "Поиск";
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// groupBox1
 | 
								// groupBox1
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -121,10 +114,10 @@ namespace Diplom_B
 | 
				
			|||||||
			this.groupBox1.Controls.Add(this.shifrBox);
 | 
								this.groupBox1.Controls.Add(this.shifrBox);
 | 
				
			||||||
			this.groupBox1.Controls.Add(this.decBox);
 | 
								this.groupBox1.Controls.Add(this.decBox);
 | 
				
			||||||
			this.groupBox1.Controls.Add(this.label2);
 | 
								this.groupBox1.Controls.Add(this.label2);
 | 
				
			||||||
			this.groupBox1.Location = new System.Drawing.Point(12, 10);
 | 
								this.groupBox1.Location = new System.Drawing.Point(12, 27);
 | 
				
			||||||
			this.groupBox1.Name = "groupBox1";
 | 
								this.groupBox1.Name = "groupBox1";
 | 
				
			||||||
			this.groupBox1.Size = new System.Drawing.Size(324, 319);
 | 
								this.groupBox1.Size = new System.Drawing.Size(324, 320);
 | 
				
			||||||
			this.groupBox1.TabIndex = 6;
 | 
								this.groupBox1.TabIndex = 11;
 | 
				
			||||||
			this.groupBox1.TabStop = false;
 | 
								this.groupBox1.TabStop = false;
 | 
				
			||||||
			this.groupBox1.Text = "Информационное окно";
 | 
								this.groupBox1.Text = "Информационное окно";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -136,7 +129,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.clearButton.TabIndex = 24;
 | 
								this.clearButton.TabIndex = 24;
 | 
				
			||||||
			this.clearButton.Text = "Сбросить";
 | 
								this.clearButton.Text = "Сбросить";
 | 
				
			||||||
			this.clearButton.UseVisualStyleBackColor = true;
 | 
								this.clearButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.clearButton.Click += new System.EventHandler(this.clearButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// idLable
 | 
								// idLable
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -193,7 +185,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.deleteButton.TabIndex = 18;
 | 
								this.deleteButton.TabIndex = 18;
 | 
				
			||||||
			this.deleteButton.Text = "Удалить";
 | 
								this.deleteButton.Text = "Удалить";
 | 
				
			||||||
			this.deleteButton.UseVisualStyleBackColor = true;
 | 
								this.deleteButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// changeButton
 | 
								// changeButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -203,7 +194,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.changeButton.TabIndex = 17;
 | 
								this.changeButton.TabIndex = 17;
 | 
				
			||||||
			this.changeButton.Text = "Изменить";
 | 
								this.changeButton.Text = "Изменить";
 | 
				
			||||||
			this.changeButton.UseVisualStyleBackColor = true;
 | 
								this.changeButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.changeButton.Click += new System.EventHandler(this.changeButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// createButton
 | 
								// createButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -213,7 +203,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.createButton.TabIndex = 16;
 | 
								this.createButton.TabIndex = 16;
 | 
				
			||||||
			this.createButton.Text = "Создать";
 | 
								this.createButton.Text = "Создать";
 | 
				
			||||||
			this.createButton.UseVisualStyleBackColor = true;
 | 
								this.createButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.createButton.Click += new System.EventHandler(this.createButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// label9
 | 
								// label9
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -336,27 +325,99 @@ namespace Diplom_B
 | 
				
			|||||||
			this.label2.TabIndex = 0;
 | 
								this.label2.TabIndex = 0;
 | 
				
			||||||
			this.label2.Text = "№";
 | 
								this.label2.Text = "№";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// idzGridView
 | 
								// label1
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.idzGridView.AllowUserToAddRows = false;
 | 
								this.label1.AutoSize = true;
 | 
				
			||||||
			this.idzGridView.AllowUserToDeleteRows = false;
 | 
								this.label1.Location = new System.Drawing.Point(342, 32);
 | 
				
			||||||
			this.idzGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 | 
								this.label1.Name = "label1";
 | 
				
			||||||
            | System.Windows.Forms.AnchorStyles.Left) 
 | 
								this.label1.Size = new System.Drawing.Size(39, 13);
 | 
				
			||||||
 | 
								this.label1.TabIndex = 10;
 | 
				
			||||||
 | 
								this.label1.Text = "Поиск";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// resetSearchButton
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.resetSearchButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
 | 
								this.resetSearchButton.Location = new System.Drawing.Point(954, 27);
 | 
				
			||||||
 | 
								this.resetSearchButton.Name = "resetSearchButton";
 | 
				
			||||||
 | 
								this.resetSearchButton.Size = new System.Drawing.Size(75, 23);
 | 
				
			||||||
 | 
								this.resetSearchButton.TabIndex = 9;
 | 
				
			||||||
 | 
								this.resetSearchButton.Text = "Сбросить";
 | 
				
			||||||
 | 
								this.resetSearchButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// searchBox
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.searchBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
 | 
				
			||||||
            | System.Windows.Forms.AnchorStyles.Right)));
 | 
					            | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
			this.idzGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
 | 
								this.searchBox.Location = new System.Drawing.Point(387, 29);
 | 
				
			||||||
			this.idzGridView.Location = new System.Drawing.Point(345, 38);
 | 
								this.searchBox.Name = "searchBox";
 | 
				
			||||||
			this.idzGridView.Name = "idzGridView";
 | 
								this.searchBox.Size = new System.Drawing.Size(561, 20);
 | 
				
			||||||
			this.idzGridView.RowHeadersVisible = false;
 | 
								this.searchBox.TabIndex = 8;
 | 
				
			||||||
			this.idzGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
 | 
								this.searchBox.Tag = "";
 | 
				
			||||||
			this.idzGridView.Size = new System.Drawing.Size(684, 291);
 | 
								// 
 | 
				
			||||||
			this.idzGridView.TabIndex = 7;
 | 
								// mainMenuStrip
 | 
				
			||||||
			this.idzGridView.CurrentCellChanged += new System.EventHandler(this.izdGridView_CurrentCellChanged);
 | 
								// 
 | 
				
			||||||
 | 
								this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
 | 
				
			||||||
 | 
					            this.договорToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.документыToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.извещенияToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.поставкиToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.изделияToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.заказчикиToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.настройкиToolStripMenuItem});
 | 
				
			||||||
 | 
								this.mainMenuStrip.Location = new System.Drawing.Point(0, 0);
 | 
				
			||||||
 | 
								this.mainMenuStrip.Name = "mainMenuStrip";
 | 
				
			||||||
 | 
								this.mainMenuStrip.Size = new System.Drawing.Size(1041, 24);
 | 
				
			||||||
 | 
								this.mainMenuStrip.TabIndex = 13;
 | 
				
			||||||
 | 
								this.mainMenuStrip.Text = "menuStrip1";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// договорToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Name = "договорToolStripMenuItem";
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Size = new System.Drawing.Size(66, 20);
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Text = "Договор";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// документыToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.документыToolStripMenuItem.Name = "документыToolStripMenuItem";
 | 
				
			||||||
 | 
								this.документыToolStripMenuItem.Size = new System.Drawing.Size(82, 20);
 | 
				
			||||||
 | 
								this.документыToolStripMenuItem.Text = "Документы";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// извещенияToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.извещенияToolStripMenuItem.Name = "извещенияToolStripMenuItem";
 | 
				
			||||||
 | 
								this.извещенияToolStripMenuItem.Size = new System.Drawing.Size(82, 20);
 | 
				
			||||||
 | 
								this.извещенияToolStripMenuItem.Text = "Извещения";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// поставкиToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.поставкиToolStripMenuItem.Name = "поставкиToolStripMenuItem";
 | 
				
			||||||
 | 
								this.поставкиToolStripMenuItem.Size = new System.Drawing.Size(71, 20);
 | 
				
			||||||
 | 
								this.поставкиToolStripMenuItem.Text = "Поставки";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// изделияToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
 | 
				
			||||||
 | 
								this.изделияToolStripMenuItem.Size = new System.Drawing.Size(65, 20);
 | 
				
			||||||
 | 
								this.изделияToolStripMenuItem.Text = "Изделия";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// заказчикиToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem.Name = "заказчикиToolStripMenuItem";
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem.Size = new System.Drawing.Size(76, 20);
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem.Text = "Заказчики";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// настройкиToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Name = "настройкиToolStripMenuItem";
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Size = new System.Drawing.Size(79, 20);
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Text = "Настройки";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// IzdForm
 | 
								// IzdForm
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 | 
								this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 | 
				
			||||||
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
								this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
				
			||||||
			this.ClientSize = new System.Drawing.Size(1041, 341);
 | 
								this.ClientSize = new System.Drawing.Size(1041, 359);
 | 
				
			||||||
 | 
								this.Controls.Add(this.mainMenuStrip);
 | 
				
			||||||
			this.Controls.Add(this.idzGridView);
 | 
								this.Controls.Add(this.idzGridView);
 | 
				
			||||||
			this.Controls.Add(this.groupBox1);
 | 
								this.Controls.Add(this.groupBox1);
 | 
				
			||||||
			this.Controls.Add(this.label1);
 | 
								this.Controls.Add(this.label1);
 | 
				
			||||||
@@ -365,29 +426,24 @@ namespace Diplom_B
 | 
				
			|||||||
			this.Name = "IzdForm";
 | 
								this.Name = "IzdForm";
 | 
				
			||||||
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 | 
								this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 | 
				
			||||||
			this.Text = "Изделия";
 | 
								this.Text = "Изделия";
 | 
				
			||||||
 | 
								((System.ComponentModel.ISupportInitialize)(this.idzGridView)).EndInit();
 | 
				
			||||||
			this.groupBox1.ResumeLayout(false);
 | 
								this.groupBox1.ResumeLayout(false);
 | 
				
			||||||
			this.groupBox1.PerformLayout();
 | 
								this.groupBox1.PerformLayout();
 | 
				
			||||||
			((System.ComponentModel.ISupportInitialize)(this.idzGridView)).EndInit();
 | 
								this.mainMenuStrip.ResumeLayout(false);
 | 
				
			||||||
 | 
								this.mainMenuStrip.PerformLayout();
 | 
				
			||||||
			this.ResumeLayout(false);
 | 
								this.ResumeLayout(false);
 | 
				
			||||||
			this.PerformLayout();
 | 
								this.PerformLayout();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		#endregion
 | 
							#endregion
 | 
				
			||||||
		private System.Windows.Forms.TextBox searchBox;
 | 
					
 | 
				
			||||||
		private System.Windows.Forms.Button resetSearchButton;
 | 
							private System.Windows.Forms.DataGridView idzGridView;
 | 
				
			||||||
		private System.Windows.Forms.Label label1;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.GroupBox groupBox1;
 | 
							private System.Windows.Forms.GroupBox groupBox1;
 | 
				
			||||||
		private System.Windows.Forms.Label label2;
 | 
							private System.Windows.Forms.Button clearButton;
 | 
				
			||||||
		private System.Windows.Forms.Label label5;
 | 
							private System.Windows.Forms.Label idLable;
 | 
				
			||||||
		private System.Windows.Forms.Label label4;
 | 
							private System.Windows.Forms.Label label10;
 | 
				
			||||||
		private System.Windows.Forms.Label label3;
 | 
							private System.Windows.Forms.TextBox nameBox;
 | 
				
			||||||
		private System.Windows.Forms.TextBox vedBox;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.TextBox otdRazBox;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.TextBox cenaBox;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.TextBox literaBox;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.TextBox shifrBox;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.TextBox decBox;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.Label errorLable;
 | 
							private System.Windows.Forms.Label errorLable;
 | 
				
			||||||
		private System.Windows.Forms.Button selectButton;
 | 
							private System.Windows.Forms.Button selectButton;
 | 
				
			||||||
		private System.Windows.Forms.Button deleteButton;
 | 
							private System.Windows.Forms.Button deleteButton;
 | 
				
			||||||
@@ -398,10 +454,26 @@ namespace Diplom_B
 | 
				
			|||||||
		private System.Windows.Forms.Label label8;
 | 
							private System.Windows.Forms.Label label8;
 | 
				
			||||||
		private System.Windows.Forms.Label label7;
 | 
							private System.Windows.Forms.Label label7;
 | 
				
			||||||
		private System.Windows.Forms.Label label6;
 | 
							private System.Windows.Forms.Label label6;
 | 
				
			||||||
		private System.Windows.Forms.Label label10;
 | 
							private System.Windows.Forms.Label label5;
 | 
				
			||||||
		private System.Windows.Forms.TextBox nameBox;
 | 
							private System.Windows.Forms.Label label4;
 | 
				
			||||||
    private System.Windows.Forms.Label idLable;
 | 
							private System.Windows.Forms.Label label3;
 | 
				
			||||||
    private System.Windows.Forms.Button clearButton;
 | 
							private System.Windows.Forms.TextBox vedBox;
 | 
				
			||||||
    private System.Windows.Forms.DataGridView idzGridView;
 | 
							private System.Windows.Forms.TextBox otdRazBox;
 | 
				
			||||||
 | 
							private System.Windows.Forms.TextBox cenaBox;
 | 
				
			||||||
 | 
							private System.Windows.Forms.TextBox literaBox;
 | 
				
			||||||
 | 
							private System.Windows.Forms.TextBox shifrBox;
 | 
				
			||||||
 | 
							private System.Windows.Forms.TextBox decBox;
 | 
				
			||||||
 | 
							private System.Windows.Forms.Label label2;
 | 
				
			||||||
 | 
							private System.Windows.Forms.Label label1;
 | 
				
			||||||
 | 
							private System.Windows.Forms.Button resetSearchButton;
 | 
				
			||||||
 | 
							private System.Windows.Forms.TextBox searchBox;
 | 
				
			||||||
 | 
							private System.Windows.Forms.MenuStrip mainMenuStrip;
 | 
				
			||||||
 | 
							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;
 | 
				
			||||||
 | 
							private System.Windows.Forms.ToolStripMenuItem заказчикиToolStripMenuItem;
 | 
				
			||||||
 | 
							private System.Windows.Forms.ToolStripMenuItem настройкиToolStripMenuItem;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -117,4 +117,7 @@
 | 
				
			|||||||
  <resheader name="writer">
 | 
					  <resheader name="writer">
 | 
				
			||||||
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
					    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
				
			||||||
  </resheader>
 | 
					  </resheader>
 | 
				
			||||||
 | 
					  <metadata name="mainMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
 | 
				
			||||||
 | 
					    <value>17, 17</value>
 | 
				
			||||||
 | 
					  </metadata>
 | 
				
			||||||
</root>
 | 
					</root>
 | 
				
			||||||
							
								
								
									
										220
									
								
								IzvForm.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										220
									
								
								IzvForm.Designer.cs
									
									
									
										generated
									
									
									
								
							@@ -29,6 +29,14 @@ namespace Diplom_B
 | 
				
			|||||||
		/// </summary>
 | 
							/// </summary>
 | 
				
			||||||
		private void InitializeComponent()
 | 
							private void InitializeComponent()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
 | 
								this.selectFileDialog = new System.Windows.Forms.OpenFileDialog();
 | 
				
			||||||
 | 
								this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
 | 
				
			||||||
 | 
								this.mainMenuStrip = new System.Windows.Forms.MenuStrip();
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.izvGridView = new System.Windows.Forms.DataGridView();
 | 
				
			||||||
 | 
								this.resetSearchButton = new System.Windows.Forms.Button();
 | 
				
			||||||
 | 
								this.label10 = new System.Windows.Forms.Label();
 | 
				
			||||||
 | 
								this.searchBox = new System.Windows.Forms.TextBox();
 | 
				
			||||||
			this.groupBox1 = new System.Windows.Forms.GroupBox();
 | 
								this.groupBox1 = new System.Windows.Forms.GroupBox();
 | 
				
			||||||
			this.groupBox2 = new System.Windows.Forms.GroupBox();
 | 
								this.groupBox2 = new System.Windows.Forms.GroupBox();
 | 
				
			||||||
			this.linkFileLabel = new System.Windows.Forms.LinkLabel();
 | 
								this.linkFileLabel = new System.Windows.Forms.LinkLabel();
 | 
				
			||||||
@@ -52,17 +60,87 @@ namespace Diplom_B
 | 
				
			|||||||
			this.label3 = new System.Windows.Forms.Label();
 | 
								this.label3 = new System.Windows.Forms.Label();
 | 
				
			||||||
			this.label2 = new System.Windows.Forms.Label();
 | 
								this.label2 = new System.Windows.Forms.Label();
 | 
				
			||||||
			this.label1 = new System.Windows.Forms.Label();
 | 
								this.label1 = new System.Windows.Forms.Label();
 | 
				
			||||||
			this.searchBox = new System.Windows.Forms.TextBox();
 | 
								this.документыToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
			this.label10 = new System.Windows.Forms.Label();
 | 
								this.извещенияToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
			this.resetSearchButton = new System.Windows.Forms.Button();
 | 
								this.поставкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
			this.izvGridView = new System.Windows.Forms.DataGridView();
 | 
								this.изделияToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
			this.selectFileDialog = new System.Windows.Forms.OpenFileDialog();
 | 
								this.заказчикиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
			this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
 | 
								this.настройкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.mainMenuStrip.SuspendLayout();
 | 
				
			||||||
 | 
								((System.ComponentModel.ISupportInitialize)(this.izvGridView)).BeginInit();
 | 
				
			||||||
			this.groupBox1.SuspendLayout();
 | 
								this.groupBox1.SuspendLayout();
 | 
				
			||||||
			this.groupBox2.SuspendLayout();
 | 
								this.groupBox2.SuspendLayout();
 | 
				
			||||||
			((System.ComponentModel.ISupportInitialize)(this.izvGridView)).BeginInit();
 | 
					 | 
				
			||||||
			this.SuspendLayout();
 | 
								this.SuspendLayout();
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
 | 
								// selectFileDialog
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.selectFileDialog.Title = "Выбор файла для загрузки";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// mainMenuStrip
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
 | 
				
			||||||
 | 
					            this.договорToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.документыToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.извещенияToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.поставкиToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.изделияToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.заказчикиToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.настройкиToolStripMenuItem});
 | 
				
			||||||
 | 
								this.mainMenuStrip.Location = new System.Drawing.Point(0, 0);
 | 
				
			||||||
 | 
								this.mainMenuStrip.Name = "mainMenuStrip";
 | 
				
			||||||
 | 
								this.mainMenuStrip.Size = new System.Drawing.Size(869, 24);
 | 
				
			||||||
 | 
								this.mainMenuStrip.TabIndex = 0;
 | 
				
			||||||
 | 
								this.mainMenuStrip.Text = "menuStrip1";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// договорToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Name = "договорToolStripMenuItem";
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Size = new System.Drawing.Size(66, 20);
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Text = "Договор";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// izvGridView
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.izvGridView.AllowUserToAddRows = false;
 | 
				
			||||||
 | 
								this.izvGridView.AllowUserToDeleteRows = false;
 | 
				
			||||||
 | 
								this.izvGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 | 
				
			||||||
 | 
					            | System.Windows.Forms.AnchorStyles.Left) 
 | 
				
			||||||
 | 
					            | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
 | 
								this.izvGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
 | 
				
			||||||
 | 
								this.izvGridView.Location = new System.Drawing.Point(324, 53);
 | 
				
			||||||
 | 
								this.izvGridView.Name = "izvGridView";
 | 
				
			||||||
 | 
								this.izvGridView.RowHeadersVisible = false;
 | 
				
			||||||
 | 
								this.izvGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
 | 
				
			||||||
 | 
								this.izvGridView.Size = new System.Drawing.Size(533, 256);
 | 
				
			||||||
 | 
								this.izvGridView.TabIndex = 19;
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// resetSearchButton
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.resetSearchButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
 | 
								this.resetSearchButton.Location = new System.Drawing.Point(782, 25);
 | 
				
			||||||
 | 
								this.resetSearchButton.Name = "resetSearchButton";
 | 
				
			||||||
 | 
								this.resetSearchButton.Size = new System.Drawing.Size(75, 23);
 | 
				
			||||||
 | 
								this.resetSearchButton.TabIndex = 18;
 | 
				
			||||||
 | 
								this.resetSearchButton.Text = "Сбросить";
 | 
				
			||||||
 | 
								this.resetSearchButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// label10
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.label10.AutoSize = true;
 | 
				
			||||||
 | 
								this.label10.Location = new System.Drawing.Point(321, 30);
 | 
				
			||||||
 | 
								this.label10.Name = "label10";
 | 
				
			||||||
 | 
								this.label10.Size = new System.Drawing.Size(39, 13);
 | 
				
			||||||
 | 
								this.label10.TabIndex = 17;
 | 
				
			||||||
 | 
								this.label10.Text = "Поиск";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// searchBox
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.searchBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
 | 
				
			||||||
 | 
					            | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
 | 
								this.searchBox.Location = new System.Drawing.Point(366, 27);
 | 
				
			||||||
 | 
								this.searchBox.Name = "searchBox";
 | 
				
			||||||
 | 
								this.searchBox.Size = new System.Drawing.Size(410, 20);
 | 
				
			||||||
 | 
								this.searchBox.TabIndex = 16;
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
			// groupBox1
 | 
								// groupBox1
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 | 
								this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 | 
				
			||||||
@@ -86,10 +164,10 @@ namespace Diplom_B
 | 
				
			|||||||
			this.groupBox1.Controls.Add(this.label3);
 | 
								this.groupBox1.Controls.Add(this.label3);
 | 
				
			||||||
			this.groupBox1.Controls.Add(this.label2);
 | 
								this.groupBox1.Controls.Add(this.label2);
 | 
				
			||||||
			this.groupBox1.Controls.Add(this.label1);
 | 
								this.groupBox1.Controls.Add(this.label1);
 | 
				
			||||||
			this.groupBox1.Location = new System.Drawing.Point(12, 12);
 | 
								this.groupBox1.Location = new System.Drawing.Point(12, 27);
 | 
				
			||||||
			this.groupBox1.Name = "groupBox1";
 | 
								this.groupBox1.Name = "groupBox1";
 | 
				
			||||||
			this.groupBox1.Size = new System.Drawing.Size(303, 283);
 | 
								this.groupBox1.Size = new System.Drawing.Size(303, 282);
 | 
				
			||||||
			this.groupBox1.TabIndex = 0;
 | 
								this.groupBox1.TabIndex = 15;
 | 
				
			||||||
			this.groupBox1.TabStop = false;
 | 
								this.groupBox1.TabStop = false;
 | 
				
			||||||
			this.groupBox1.Text = "Информационное окно";
 | 
								this.groupBox1.Text = "Информационное окно";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -116,7 +194,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.linkFileLabel.Text = "Ссылка на файл.";
 | 
								this.linkFileLabel.Text = "Ссылка на файл.";
 | 
				
			||||||
			this.linkFileLabel.Visible = false;
 | 
								this.linkFileLabel.Visible = false;
 | 
				
			||||||
			this.linkFileLabel.VisitedLinkColor = System.Drawing.Color.Blue;
 | 
								this.linkFileLabel.VisitedLinkColor = System.Drawing.Color.Blue;
 | 
				
			||||||
			this.linkFileLabel.Click += new System.EventHandler(this.linkFileLabel_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// resetFileButton
 | 
								// resetFileButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -126,7 +203,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.resetFileButton.TabIndex = 32;
 | 
								this.resetFileButton.TabIndex = 32;
 | 
				
			||||||
			this.resetFileButton.Text = "Удалить";
 | 
								this.resetFileButton.Text = "Удалить";
 | 
				
			||||||
			this.resetFileButton.UseVisualStyleBackColor = true;
 | 
								this.resetFileButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.resetFileButton.Click += new System.EventHandler(this.resetFileButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// fileLoadButton
 | 
								// fileLoadButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -136,7 +212,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.fileLoadButton.TabIndex = 23;
 | 
								this.fileLoadButton.TabIndex = 23;
 | 
				
			||||||
			this.fileLoadButton.Text = "Выбрать";
 | 
								this.fileLoadButton.Text = "Выбрать";
 | 
				
			||||||
			this.fileLoadButton.UseVisualStyleBackColor = true;
 | 
								this.fileLoadButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.fileLoadButton.Click += new System.EventHandler(this.fileLoadButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// errorLabel
 | 
								// errorLabel
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -168,7 +243,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.createIzvButton.TabIndex = 26;
 | 
								this.createIzvButton.TabIndex = 26;
 | 
				
			||||||
			this.createIzvButton.Text = "Создать";
 | 
								this.createIzvButton.Text = "Создать";
 | 
				
			||||||
			this.createIzvButton.UseVisualStyleBackColor = true;
 | 
								this.createIzvButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.createIzvButton.Click += new System.EventHandler(this.createIzvButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// changeIzvButton
 | 
								// changeIzvButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -178,7 +252,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.changeIzvButton.TabIndex = 27;
 | 
								this.changeIzvButton.TabIndex = 27;
 | 
				
			||||||
			this.changeIzvButton.Text = "Изменить";
 | 
								this.changeIzvButton.Text = "Изменить";
 | 
				
			||||||
			this.changeIzvButton.UseVisualStyleBackColor = true;
 | 
								this.changeIzvButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.changeIzvButton.Click += new System.EventHandler(this.changeIzvButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// idLabel
 | 
								// idLabel
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -197,7 +270,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.ResetIzvButton.TabIndex = 29;
 | 
								this.ResetIzvButton.TabIndex = 29;
 | 
				
			||||||
			this.ResetIzvButton.Text = "Сбросить";
 | 
								this.ResetIzvButton.Text = "Сбросить";
 | 
				
			||||||
			this.ResetIzvButton.UseVisualStyleBackColor = true;
 | 
								this.ResetIzvButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.ResetIzvButton.Click += new System.EventHandler(this.ResetIzvButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// deleteIzvButton
 | 
								// deleteIzvButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -207,7 +279,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.deleteIzvButton.TabIndex = 28;
 | 
								this.deleteIzvButton.TabIndex = 28;
 | 
				
			||||||
			this.deleteIzvButton.Text = "Удалить";
 | 
								this.deleteIzvButton.Text = "Удалить";
 | 
				
			||||||
			this.deleteIzvButton.UseVisualStyleBackColor = true;
 | 
								this.deleteIzvButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.deleteIzvButton.Click += new System.EventHandler(this.deleteIzvButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// ukazVnedrBox
 | 
								// ukazVnedrBox
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -298,109 +369,106 @@ namespace Diplom_B
 | 
				
			|||||||
			this.label1.TabIndex = 9;
 | 
								this.label1.TabIndex = 9;
 | 
				
			||||||
			this.label1.Text = "№";
 | 
								this.label1.Text = "№";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// searchBox
 | 
								// документыToolStripMenuItem
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.searchBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
 | 
								this.документыToolStripMenuItem.Name = "документыToolStripMenuItem";
 | 
				
			||||||
            | System.Windows.Forms.AnchorStyles.Right)));
 | 
								this.документыToolStripMenuItem.Size = new System.Drawing.Size(82, 20);
 | 
				
			||||||
			this.searchBox.Location = new System.Drawing.Point(366, 12);
 | 
								this.документыToolStripMenuItem.Text = "Документы";
 | 
				
			||||||
			this.searchBox.Name = "searchBox";
 | 
					 | 
				
			||||||
			this.searchBox.Size = new System.Drawing.Size(410, 20);
 | 
					 | 
				
			||||||
			this.searchBox.TabIndex = 1;
 | 
					 | 
				
			||||||
			this.searchBox.TextChanged += new System.EventHandler(this.searchBox_TextChanged);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// label10
 | 
								// извещенияToolStripMenuItem
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.label10.AutoSize = true;
 | 
								this.извещенияToolStripMenuItem.Name = "извещенияToolStripMenuItem";
 | 
				
			||||||
			this.label10.Location = new System.Drawing.Point(321, 15);
 | 
								this.извещенияToolStripMenuItem.Size = new System.Drawing.Size(82, 20);
 | 
				
			||||||
			this.label10.Name = "label10";
 | 
								this.извещенияToolStripMenuItem.Text = "Извещения";
 | 
				
			||||||
			this.label10.Size = new System.Drawing.Size(39, 13);
 | 
					 | 
				
			||||||
			this.label10.TabIndex = 2;
 | 
					 | 
				
			||||||
			this.label10.Text = "Поиск";
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// resetSearchButton
 | 
								// поставкиToolStripMenuItem
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.resetSearchButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
 | 
								this.поставкиToolStripMenuItem.Name = "поставкиToolStripMenuItem";
 | 
				
			||||||
			this.resetSearchButton.Location = new System.Drawing.Point(782, 10);
 | 
								this.поставкиToolStripMenuItem.Size = new System.Drawing.Size(71, 20);
 | 
				
			||||||
			this.resetSearchButton.Name = "resetSearchButton";
 | 
								this.поставкиToolStripMenuItem.Text = "Поставки";
 | 
				
			||||||
			this.resetSearchButton.Size = new System.Drawing.Size(75, 23);
 | 
					 | 
				
			||||||
			this.resetSearchButton.TabIndex = 3;
 | 
					 | 
				
			||||||
			this.resetSearchButton.Text = "Сбросить";
 | 
					 | 
				
			||||||
			this.resetSearchButton.UseVisualStyleBackColor = true;
 | 
					 | 
				
			||||||
			this.resetSearchButton.Click += new System.EventHandler(this.resetSearch_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// izvGridView
 | 
								// изделияToolStripMenuItem
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.izvGridView.AllowUserToAddRows = false;
 | 
								this.изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
 | 
				
			||||||
			this.izvGridView.AllowUserToDeleteRows = false;
 | 
								this.изделияToolStripMenuItem.Size = new System.Drawing.Size(65, 20);
 | 
				
			||||||
			this.izvGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
 | 
								this.изделияToolStripMenuItem.Text = "Изделия";
 | 
				
			||||||
            | System.Windows.Forms.AnchorStyles.Left) 
 | 
					 | 
				
			||||||
            | System.Windows.Forms.AnchorStyles.Right)));
 | 
					 | 
				
			||||||
			this.izvGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
 | 
					 | 
				
			||||||
			this.izvGridView.Location = new System.Drawing.Point(324, 38);
 | 
					 | 
				
			||||||
			this.izvGridView.Name = "izvGridView";
 | 
					 | 
				
			||||||
			this.izvGridView.RowHeadersVisible = false;
 | 
					 | 
				
			||||||
			this.izvGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
 | 
					 | 
				
			||||||
			this.izvGridView.Size = new System.Drawing.Size(533, 257);
 | 
					 | 
				
			||||||
			this.izvGridView.TabIndex = 4;
 | 
					 | 
				
			||||||
			this.izvGridView.CurrentCellChanged += new System.EventHandler(this.izvGridView_CurrentCellChanged);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// selectFileDialog
 | 
								// заказчикиToolStripMenuItem
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.selectFileDialog.Title = "Выбор файла для загрузки";
 | 
								this.заказчикиToolStripMenuItem.Name = "заказчикиToolStripMenuItem";
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem.Size = new System.Drawing.Size(76, 20);
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem.Text = "Заказчики";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// настройкиToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Name = "настройкиToolStripMenuItem";
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Size = new System.Drawing.Size(79, 20);
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Text = "Настройки";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// IzvForm
 | 
								// IzvForm
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 | 
								this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 | 
				
			||||||
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
								this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
				
			||||||
			this.ClientSize = new System.Drawing.Size(869, 307);
 | 
								this.ClientSize = new System.Drawing.Size(869, 321);
 | 
				
			||||||
			this.Controls.Add(this.izvGridView);
 | 
								this.Controls.Add(this.izvGridView);
 | 
				
			||||||
			this.Controls.Add(this.resetSearchButton);
 | 
								this.Controls.Add(this.resetSearchButton);
 | 
				
			||||||
			this.Controls.Add(this.label10);
 | 
								this.Controls.Add(this.label10);
 | 
				
			||||||
			this.Controls.Add(this.searchBox);
 | 
								this.Controls.Add(this.searchBox);
 | 
				
			||||||
			this.Controls.Add(this.groupBox1);
 | 
								this.Controls.Add(this.groupBox1);
 | 
				
			||||||
 | 
								this.Controls.Add(this.mainMenuStrip);
 | 
				
			||||||
 | 
								this.MainMenuStrip = this.mainMenuStrip;
 | 
				
			||||||
			this.Name = "IzvForm";
 | 
								this.Name = "IzvForm";
 | 
				
			||||||
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 | 
								this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 | 
				
			||||||
			this.Text = "Извещения";
 | 
								this.Text = "Извещения";
 | 
				
			||||||
 | 
								this.mainMenuStrip.ResumeLayout(false);
 | 
				
			||||||
 | 
								this.mainMenuStrip.PerformLayout();
 | 
				
			||||||
 | 
								((System.ComponentModel.ISupportInitialize)(this.izvGridView)).EndInit();
 | 
				
			||||||
			this.groupBox1.ResumeLayout(false);
 | 
								this.groupBox1.ResumeLayout(false);
 | 
				
			||||||
			this.groupBox1.PerformLayout();
 | 
								this.groupBox1.PerformLayout();
 | 
				
			||||||
			this.groupBox2.ResumeLayout(false);
 | 
								this.groupBox2.ResumeLayout(false);
 | 
				
			||||||
			this.groupBox2.PerformLayout();
 | 
								this.groupBox2.PerformLayout();
 | 
				
			||||||
			((System.ComponentModel.ISupportInitialize)(this.izvGridView)).EndInit();
 | 
					 | 
				
			||||||
			this.ResumeLayout(false);
 | 
								this.ResumeLayout(false);
 | 
				
			||||||
			this.PerformLayout();
 | 
								this.PerformLayout();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		#endregion
 | 
							#endregion
 | 
				
			||||||
 | 
							private System.Windows.Forms.OpenFileDialog selectFileDialog;
 | 
				
			||||||
 | 
							private System.Windows.Forms.SaveFileDialog saveFileDialog;
 | 
				
			||||||
 | 
							private System.Windows.Forms.MenuStrip mainMenuStrip;
 | 
				
			||||||
 | 
							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;
 | 
				
			||||||
 | 
							private System.Windows.Forms.ToolStripMenuItem заказчикиToolStripMenuItem;
 | 
				
			||||||
 | 
							private System.Windows.Forms.ToolStripMenuItem настройкиToolStripMenuItem;
 | 
				
			||||||
 | 
							private System.Windows.Forms.DataGridView izvGridView;
 | 
				
			||||||
 | 
							private System.Windows.Forms.Button resetSearchButton;
 | 
				
			||||||
 | 
							private System.Windows.Forms.Label label10;
 | 
				
			||||||
 | 
							private System.Windows.Forms.TextBox searchBox;
 | 
				
			||||||
		private System.Windows.Forms.GroupBox groupBox1;
 | 
							private System.Windows.Forms.GroupBox groupBox1;
 | 
				
			||||||
		private System.Windows.Forms.Label label6;
 | 
							private System.Windows.Forms.GroupBox groupBox2;
 | 
				
			||||||
		private System.Windows.Forms.Label label5;
 | 
							private System.Windows.Forms.LinkLabel linkFileLabel;
 | 
				
			||||||
		private System.Windows.Forms.Label label4;
 | 
							private System.Windows.Forms.Button resetFileButton;
 | 
				
			||||||
		private System.Windows.Forms.Label label3;
 | 
							private System.Windows.Forms.Button fileLoadButton;
 | 
				
			||||||
		private System.Windows.Forms.Label label2;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.Label label1;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.Label errorLabel;
 | 
							private System.Windows.Forms.Label errorLabel;
 | 
				
			||||||
		private System.Windows.Forms.Button SelectIzvButton;
 | 
							private System.Windows.Forms.Button SelectIzvButton;
 | 
				
			||||||
		private System.Windows.Forms.Button createIzvButton;
 | 
							private System.Windows.Forms.Button createIzvButton;
 | 
				
			||||||
		private System.Windows.Forms.Button changeIzvButton;
 | 
							private System.Windows.Forms.Button changeIzvButton;
 | 
				
			||||||
		private System.Windows.Forms.Label idLabel;
 | 
							private System.Windows.Forms.Label idLabel;
 | 
				
			||||||
		private System.Windows.Forms.Button ResetIzvButton;
 | 
							private System.Windows.Forms.Button ResetIzvButton;
 | 
				
			||||||
		private System.Windows.Forms.Button fileLoadButton;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.Button deleteIzvButton;
 | 
							private System.Windows.Forms.Button deleteIzvButton;
 | 
				
			||||||
		private System.Windows.Forms.LinkLabel linkFileLabel;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.TextBox ukazVnedrBox;
 | 
							private System.Windows.Forms.TextBox ukazVnedrBox;
 | 
				
			||||||
		private System.Windows.Forms.TextBox ukazZadBox;
 | 
							private System.Windows.Forms.TextBox ukazZadBox;
 | 
				
			||||||
		private System.Windows.Forms.TextBox izmNumBox;
 | 
							private System.Windows.Forms.TextBox izmNumBox;
 | 
				
			||||||
		private System.Windows.Forms.TextBox invNumBox;
 | 
							private System.Windows.Forms.TextBox invNumBox;
 | 
				
			||||||
		private System.Windows.Forms.TextBox izvNumBox;
 | 
							private System.Windows.Forms.TextBox izvNumBox;
 | 
				
			||||||
		private System.Windows.Forms.TextBox searchBox;
 | 
							private System.Windows.Forms.Label label6;
 | 
				
			||||||
		private System.Windows.Forms.Label label10;
 | 
							private System.Windows.Forms.Label label5;
 | 
				
			||||||
		private System.Windows.Forms.Button resetSearchButton;
 | 
							private System.Windows.Forms.Label label4;
 | 
				
			||||||
		private System.Windows.Forms.DataGridView izvGridView;
 | 
							private System.Windows.Forms.Label label3;
 | 
				
			||||||
		private System.Windows.Forms.OpenFileDialog selectFileDialog;
 | 
							private System.Windows.Forms.Label label2;
 | 
				
			||||||
		private System.Windows.Forms.SaveFileDialog saveFileDialog;
 | 
							private System.Windows.Forms.Label label1;
 | 
				
			||||||
		private System.Windows.Forms.Button resetFileButton;
 | 
					 | 
				
			||||||
		private System.Windows.Forms.GroupBox groupBox2;
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -123,4 +123,7 @@
 | 
				
			|||||||
  <metadata name="saveFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
 | 
					  <metadata name="saveFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
 | 
				
			||||||
    <value>154, 17</value>
 | 
					    <value>154, 17</value>
 | 
				
			||||||
  </metadata>
 | 
					  </metadata>
 | 
				
			||||||
 | 
					  <metadata name="mainMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
 | 
				
			||||||
 | 
					    <value>283, 17</value>
 | 
				
			||||||
 | 
					  </metadata>
 | 
				
			||||||
</root>
 | 
					</root>
 | 
				
			||||||
@@ -34,6 +34,8 @@ namespace Diplom_B
 | 
				
			|||||||
				return;
 | 
									return;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								Program.user = usr;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			this.Hide();
 | 
								this.Hide();
 | 
				
			||||||
			var izdForm = new IzdForm();
 | 
								var izdForm = new IzdForm();
 | 
				
			||||||
			izdForm.Closed += (s, args) => this.Close();
 | 
								izdForm.Closed += (s, args) => this.Close();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,7 +20,7 @@ namespace Diplom_B
 | 
				
			|||||||
		private void button2_Click(object sender, EventArgs e)
 | 
							private void button2_Click(object sender, EventArgs e)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			this.Hide();
 | 
								this.Hide();
 | 
				
			||||||
			var form = new ZakazchikForm();
 | 
								var form = new ZakForm();
 | 
				
			||||||
			form.ShowDialog();
 | 
								form.ShowDialog();
 | 
				
			||||||
			this.Show();
 | 
								this.Show();
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,6 +9,7 @@ namespace Diplom_B
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	static class Program
 | 
						static class Program
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 | 
							public static User user;
 | 
				
			||||||
		/// <summary>
 | 
							/// <summary>
 | 
				
			||||||
		/// Главная точка входа для приложения.
 | 
							/// Главная точка входа для приложения.
 | 
				
			||||||
		/// </summary>
 | 
							/// </summary>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										40
									
								
								SetForm.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								SetForm.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Diplom_B
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						partial class SetForm
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							/// <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();
 | 
				
			||||||
 | 
								this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
				
			||||||
 | 
								this.ClientSize = new System.Drawing.Size(800, 450);
 | 
				
			||||||
 | 
								this.Text = "SetForm";
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							#endregion
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										20
									
								
								SetForm.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								SetForm.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using System.Collections.Generic;
 | 
				
			||||||
 | 
					using System.ComponentModel;
 | 
				
			||||||
 | 
					using System.Data;
 | 
				
			||||||
 | 
					using System.Drawing;
 | 
				
			||||||
 | 
					using System.Linq;
 | 
				
			||||||
 | 
					using System.Text;
 | 
				
			||||||
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
 | 
					using System.Windows.Forms;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace Diplom_B
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						public partial class SetForm : Form
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							public SetForm()
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								InitializeComponent();
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										115
									
								
								ZakazchikForm.Designer.cs → ZakForm.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										115
									
								
								ZakazchikForm.Designer.cs → ZakForm.Designer.cs
									
									
									
										generated
									
									
									
								
							@@ -1,7 +1,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace Diplom_B
 | 
					namespace Diplom_B
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	partial class ZakazchikForm
 | 
						partial class ZakForm
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		/// <summary>
 | 
							/// <summary>
 | 
				
			||||||
		/// Required designer variable.
 | 
							/// Required designer variable.
 | 
				
			||||||
@@ -50,8 +50,17 @@ namespace Diplom_B
 | 
				
			|||||||
			this.label3 = new System.Windows.Forms.Label();
 | 
								this.label3 = new System.Windows.Forms.Label();
 | 
				
			||||||
			this.label2 = new System.Windows.Forms.Label();
 | 
								this.label2 = new System.Windows.Forms.Label();
 | 
				
			||||||
			this.label1 = new System.Windows.Forms.Label();
 | 
								this.label1 = new System.Windows.Forms.Label();
 | 
				
			||||||
 | 
								this.mainMenuStrip = new System.Windows.Forms.MenuStrip();
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.документыToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.извещенияToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.поставкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.изделияToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
 | 
				
			||||||
			((System.ComponentModel.ISupportInitialize)(this.zakGridView)).BeginInit();
 | 
								((System.ComponentModel.ISupportInitialize)(this.zakGridView)).BeginInit();
 | 
				
			||||||
			this.groupBox1.SuspendLayout();
 | 
								this.groupBox1.SuspendLayout();
 | 
				
			||||||
 | 
								this.mainMenuStrip.SuspendLayout();
 | 
				
			||||||
			this.SuspendLayout();
 | 
								this.SuspendLayout();
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// zakGridView
 | 
								// zakGridView
 | 
				
			||||||
@@ -63,43 +72,40 @@ namespace Diplom_B
 | 
				
			|||||||
            | System.Windows.Forms.AnchorStyles.Right)));
 | 
					            | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
			this.zakGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
 | 
								this.zakGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
 | 
				
			||||||
			this.zakGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
 | 
								this.zakGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
 | 
				
			||||||
			this.zakGridView.Location = new System.Drawing.Point(324, 38);
 | 
								this.zakGridView.Location = new System.Drawing.Point(324, 53);
 | 
				
			||||||
			this.zakGridView.Name = "zakGridView";
 | 
								this.zakGridView.Name = "zakGridView";
 | 
				
			||||||
			this.zakGridView.RowHeadersVisible = false;
 | 
								this.zakGridView.RowHeadersVisible = false;
 | 
				
			||||||
			this.zakGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
 | 
								this.zakGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
 | 
				
			||||||
			this.zakGridView.Size = new System.Drawing.Size(501, 292);
 | 
								this.zakGridView.Size = new System.Drawing.Size(501, 291);
 | 
				
			||||||
			this.zakGridView.TabIndex = 9;
 | 
								this.zakGridView.TabIndex = 14;
 | 
				
			||||||
			this.zakGridView.CurrentCellChanged += new System.EventHandler(this.zakGridView_CurrentCellChanged);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// resetSearchButton
 | 
								// resetSearchButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.resetSearchButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
 | 
								this.resetSearchButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
			this.resetSearchButton.Location = new System.Drawing.Point(750, 10);
 | 
								this.resetSearchButton.Location = new System.Drawing.Point(750, 25);
 | 
				
			||||||
			this.resetSearchButton.Name = "resetSearchButton";
 | 
								this.resetSearchButton.Name = "resetSearchButton";
 | 
				
			||||||
			this.resetSearchButton.Size = new System.Drawing.Size(75, 23);
 | 
								this.resetSearchButton.Size = new System.Drawing.Size(75, 23);
 | 
				
			||||||
			this.resetSearchButton.TabIndex = 8;
 | 
								this.resetSearchButton.TabIndex = 13;
 | 
				
			||||||
			this.resetSearchButton.Text = "Сбросить";
 | 
								this.resetSearchButton.Text = "Сбросить";
 | 
				
			||||||
			this.resetSearchButton.UseVisualStyleBackColor = true;
 | 
								this.resetSearchButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.resetSearchButton.Click += new System.EventHandler(this.resetSearchButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// label10
 | 
								// label10
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.label10.AutoSize = true;
 | 
								this.label10.AutoSize = true;
 | 
				
			||||||
			this.label10.Location = new System.Drawing.Point(321, 15);
 | 
								this.label10.Location = new System.Drawing.Point(321, 30);
 | 
				
			||||||
			this.label10.Name = "label10";
 | 
								this.label10.Name = "label10";
 | 
				
			||||||
			this.label10.Size = new System.Drawing.Size(39, 13);
 | 
								this.label10.Size = new System.Drawing.Size(39, 13);
 | 
				
			||||||
			this.label10.TabIndex = 7;
 | 
								this.label10.TabIndex = 12;
 | 
				
			||||||
			this.label10.Text = "Поиск";
 | 
								this.label10.Text = "Поиск";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// searchBox
 | 
								// searchBox
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.searchBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
 | 
								this.searchBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
 | 
				
			||||||
            | System.Windows.Forms.AnchorStyles.Right)));
 | 
					            | System.Windows.Forms.AnchorStyles.Right)));
 | 
				
			||||||
			this.searchBox.Location = new System.Drawing.Point(366, 12);
 | 
								this.searchBox.Location = new System.Drawing.Point(366, 27);
 | 
				
			||||||
			this.searchBox.Name = "searchBox";
 | 
								this.searchBox.Name = "searchBox";
 | 
				
			||||||
			this.searchBox.Size = new System.Drawing.Size(378, 20);
 | 
								this.searchBox.Size = new System.Drawing.Size(378, 20);
 | 
				
			||||||
			this.searchBox.TabIndex = 6;
 | 
								this.searchBox.TabIndex = 11;
 | 
				
			||||||
			this.searchBox.TextChanged += new System.EventHandler(this.searchBox_TextChanged);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// groupBox1
 | 
								// groupBox1
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -121,10 +127,10 @@ namespace Diplom_B
 | 
				
			|||||||
			this.groupBox1.Controls.Add(this.label3);
 | 
								this.groupBox1.Controls.Add(this.label3);
 | 
				
			||||||
			this.groupBox1.Controls.Add(this.label2);
 | 
								this.groupBox1.Controls.Add(this.label2);
 | 
				
			||||||
			this.groupBox1.Controls.Add(this.label1);
 | 
								this.groupBox1.Controls.Add(this.label1);
 | 
				
			||||||
			this.groupBox1.Location = new System.Drawing.Point(12, 12);
 | 
								this.groupBox1.Location = new System.Drawing.Point(12, 27);
 | 
				
			||||||
			this.groupBox1.Name = "groupBox1";
 | 
								this.groupBox1.Name = "groupBox1";
 | 
				
			||||||
			this.groupBox1.Size = new System.Drawing.Size(303, 318);
 | 
								this.groupBox1.Size = new System.Drawing.Size(303, 317);
 | 
				
			||||||
			this.groupBox1.TabIndex = 5;
 | 
								this.groupBox1.TabIndex = 10;
 | 
				
			||||||
			this.groupBox1.TabStop = false;
 | 
								this.groupBox1.TabStop = false;
 | 
				
			||||||
			this.groupBox1.Text = "Информационное окно";
 | 
								this.groupBox1.Text = "Информационное окно";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -166,7 +172,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.createZakButton.TabIndex = 26;
 | 
								this.createZakButton.TabIndex = 26;
 | 
				
			||||||
			this.createZakButton.Text = "Создать";
 | 
								this.createZakButton.Text = "Создать";
 | 
				
			||||||
			this.createZakButton.UseVisualStyleBackColor = true;
 | 
								this.createZakButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.createZakButton.Click += new System.EventHandler(this.createZakButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// changeZakButton
 | 
								// changeZakButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -176,7 +181,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.changeZakButton.TabIndex = 27;
 | 
								this.changeZakButton.TabIndex = 27;
 | 
				
			||||||
			this.changeZakButton.Text = "Изменить";
 | 
								this.changeZakButton.Text = "Изменить";
 | 
				
			||||||
			this.changeZakButton.UseVisualStyleBackColor = true;
 | 
								this.changeZakButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.changeZakButton.Click += new System.EventHandler(this.changeZakButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// idLabel
 | 
								// idLabel
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -195,7 +199,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.resetZakButton.TabIndex = 29;
 | 
								this.resetZakButton.TabIndex = 29;
 | 
				
			||||||
			this.resetZakButton.Text = "Сбросить";
 | 
								this.resetZakButton.Text = "Сбросить";
 | 
				
			||||||
			this.resetZakButton.UseVisualStyleBackColor = true;
 | 
								this.resetZakButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.resetZakButton.Click += new System.EventHandler(this.resetZakButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// deleteZakButton
 | 
								// deleteZakButton
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -205,7 +208,6 @@ namespace Diplom_B
 | 
				
			|||||||
			this.deleteZakButton.TabIndex = 28;
 | 
								this.deleteZakButton.TabIndex = 28;
 | 
				
			||||||
			this.deleteZakButton.Text = "Удалить";
 | 
								this.deleteZakButton.Text = "Удалить";
 | 
				
			||||||
			this.deleteZakButton.UseVisualStyleBackColor = true;
 | 
								this.deleteZakButton.UseVisualStyleBackColor = true;
 | 
				
			||||||
			this.deleteZakButton.Click += new System.EventHandler(this.deleteZakButton_Click);
 | 
					 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			// emailBox
 | 
								// emailBox
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
@@ -273,11 +275,70 @@ namespace Diplom_B
 | 
				
			|||||||
			this.label1.TabIndex = 9;
 | 
								this.label1.TabIndex = 9;
 | 
				
			||||||
			this.label1.Text = "№";
 | 
								this.label1.Text = "№";
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
 | 
								// mainMenuStrip
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
 | 
				
			||||||
 | 
					            this.договорToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.документыToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.извещенияToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.поставкиToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.изделияToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.заказчикиToolStripMenuItem,
 | 
				
			||||||
 | 
					            this.настройкиToolStripMenuItem});
 | 
				
			||||||
 | 
								this.mainMenuStrip.Location = new System.Drawing.Point(0, 0);
 | 
				
			||||||
 | 
								this.mainMenuStrip.Name = "mainMenuStrip";
 | 
				
			||||||
 | 
								this.mainMenuStrip.Size = new System.Drawing.Size(837, 24);
 | 
				
			||||||
 | 
								this.mainMenuStrip.TabIndex = 15;
 | 
				
			||||||
 | 
								this.mainMenuStrip.Text = "menuStrip1";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// договорToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Name = "договорToolStripMenuItem";
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Size = new System.Drawing.Size(66, 20);
 | 
				
			||||||
 | 
								this.договорToolStripMenuItem.Text = "Договор";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// документыToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.документыToolStripMenuItem.Name = "документыToolStripMenuItem";
 | 
				
			||||||
 | 
								this.документыToolStripMenuItem.Size = new System.Drawing.Size(82, 20);
 | 
				
			||||||
 | 
								this.документыToolStripMenuItem.Text = "Документы";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// извещенияToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.извещенияToolStripMenuItem.Name = "извещенияToolStripMenuItem";
 | 
				
			||||||
 | 
								this.извещенияToolStripMenuItem.Size = new System.Drawing.Size(82, 20);
 | 
				
			||||||
 | 
								this.извещенияToolStripMenuItem.Text = "Извещения";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// поставкиToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.поставкиToolStripMenuItem.Name = "поставкиToolStripMenuItem";
 | 
				
			||||||
 | 
								this.поставкиToolStripMenuItem.Size = new System.Drawing.Size(71, 20);
 | 
				
			||||||
 | 
								this.поставкиToolStripMenuItem.Text = "Поставки";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// изделияToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
 | 
				
			||||||
 | 
								this.изделияToolStripMenuItem.Size = new System.Drawing.Size(65, 20);
 | 
				
			||||||
 | 
								this.изделияToolStripMenuItem.Text = "Изделия";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// заказчикиToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem.Name = "заказчикиToolStripMenuItem";
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem.Size = new System.Drawing.Size(76, 20);
 | 
				
			||||||
 | 
								this.заказчикиToolStripMenuItem.Text = "Заказчики";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								// настройкиToolStripMenuItem
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Name = "настройкиToolStripMenuItem";
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Size = new System.Drawing.Size(79, 20);
 | 
				
			||||||
 | 
								this.настройкиToolStripMenuItem.Text = "Настройки";
 | 
				
			||||||
 | 
								// 
 | 
				
			||||||
			// ZakazchikForm
 | 
								// ZakazchikForm
 | 
				
			||||||
			// 
 | 
								// 
 | 
				
			||||||
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 | 
								this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 | 
				
			||||||
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
								this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
				
			||||||
			this.ClientSize = new System.Drawing.Size(837, 342);
 | 
								this.ClientSize = new System.Drawing.Size(837, 356);
 | 
				
			||||||
 | 
								this.Controls.Add(this.mainMenuStrip);
 | 
				
			||||||
			this.Controls.Add(this.zakGridView);
 | 
								this.Controls.Add(this.zakGridView);
 | 
				
			||||||
			this.Controls.Add(this.resetSearchButton);
 | 
								this.Controls.Add(this.resetSearchButton);
 | 
				
			||||||
			this.Controls.Add(this.label10);
 | 
								this.Controls.Add(this.label10);
 | 
				
			||||||
@@ -289,6 +350,8 @@ namespace Diplom_B
 | 
				
			|||||||
			((System.ComponentModel.ISupportInitialize)(this.zakGridView)).EndInit();
 | 
								((System.ComponentModel.ISupportInitialize)(this.zakGridView)).EndInit();
 | 
				
			||||||
			this.groupBox1.ResumeLayout(false);
 | 
								this.groupBox1.ResumeLayout(false);
 | 
				
			||||||
			this.groupBox1.PerformLayout();
 | 
								this.groupBox1.PerformLayout();
 | 
				
			||||||
 | 
								this.mainMenuStrip.ResumeLayout(false);
 | 
				
			||||||
 | 
								this.mainMenuStrip.PerformLayout();
 | 
				
			||||||
			this.ResumeLayout(false);
 | 
								this.ResumeLayout(false);
 | 
				
			||||||
			this.PerformLayout();
 | 
								this.PerformLayout();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -301,6 +364,7 @@ namespace Diplom_B
 | 
				
			|||||||
		private System.Windows.Forms.Label label10;
 | 
							private System.Windows.Forms.Label label10;
 | 
				
			||||||
		private System.Windows.Forms.TextBox searchBox;
 | 
							private System.Windows.Forms.TextBox searchBox;
 | 
				
			||||||
		private System.Windows.Forms.GroupBox groupBox1;
 | 
							private System.Windows.Forms.GroupBox groupBox1;
 | 
				
			||||||
 | 
							private System.Windows.Forms.RichTextBox adressBox;
 | 
				
			||||||
		private System.Windows.Forms.Label errorLabel;
 | 
							private System.Windows.Forms.Label errorLabel;
 | 
				
			||||||
		private System.Windows.Forms.Button SelectZakButton;
 | 
							private System.Windows.Forms.Button SelectZakButton;
 | 
				
			||||||
		private System.Windows.Forms.Button createZakButton;
 | 
							private System.Windows.Forms.Button createZakButton;
 | 
				
			||||||
@@ -316,6 +380,13 @@ namespace Diplom_B
 | 
				
			|||||||
		private System.Windows.Forms.Label label3;
 | 
							private System.Windows.Forms.Label label3;
 | 
				
			||||||
		private System.Windows.Forms.Label label2;
 | 
							private System.Windows.Forms.Label label2;
 | 
				
			||||||
		private System.Windows.Forms.Label label1;
 | 
							private System.Windows.Forms.Label label1;
 | 
				
			||||||
		private System.Windows.Forms.RichTextBox adressBox;
 | 
							private System.Windows.Forms.MenuStrip mainMenuStrip;
 | 
				
			||||||
 | 
							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;
 | 
				
			||||||
 | 
							private System.Windows.Forms.ToolStripMenuItem заказчикиToolStripMenuItem;
 | 
				
			||||||
 | 
							private System.Windows.Forms.ToolStripMenuItem настройкиToolStripMenuItem;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -11,7 +11,7 @@ using Diplom_B.DB;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace Diplom_B
 | 
					namespace Diplom_B
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	public partial class ZakazchikForm : Form
 | 
						public partial class ZakForm : Form
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		private Task errDrop;
 | 
							private Task errDrop;
 | 
				
			||||||
		private void ShowError(string msg = null)
 | 
							private void ShowError(string msg = null)
 | 
				
			||||||
@@ -81,7 +81,7 @@ namespace Diplom_B
 | 
				
			|||||||
			zakGridView_CurrentCellChanged(this, new EventArgs());
 | 
								zakGridView_CurrentCellChanged(this, new EventArgs());
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		public ZakazchikForm()
 | 
							public ZakForm()
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			InitializeComponent();
 | 
								InitializeComponent();
 | 
				
			||||||
			try { UpdateZakTable(WorkDB.ListZakazchik(searchBox.Text)); }
 | 
								try { UpdateZakTable(WorkDB.ListZakazchik(searchBox.Text)); }
 | 
				
			||||||
							
								
								
									
										123
									
								
								ZakForm.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										123
									
								
								ZakForm.resx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,123 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<root>
 | 
				
			||||||
 | 
					  <!-- 
 | 
				
			||||||
 | 
					    Microsoft ResX Schema 
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    Version 2.0
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    The primary goals of this format is to allow a simple XML format 
 | 
				
			||||||
 | 
					    that is mostly human readable. The generation and parsing of the 
 | 
				
			||||||
 | 
					    various data types are done through the TypeConverter classes 
 | 
				
			||||||
 | 
					    associated with the data types.
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    Example:
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    ... ado.net/XML headers & schema ...
 | 
				
			||||||
 | 
					    <resheader name="resmimetype">text/microsoft-resx</resheader>
 | 
				
			||||||
 | 
					    <resheader name="version">2.0</resheader>
 | 
				
			||||||
 | 
					    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
 | 
				
			||||||
 | 
					    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
 | 
				
			||||||
 | 
					    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
 | 
				
			||||||
 | 
					    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
 | 
				
			||||||
 | 
					    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
 | 
				
			||||||
 | 
					        <value>[base64 mime encoded serialized .NET Framework object]</value>
 | 
				
			||||||
 | 
					    </data>
 | 
				
			||||||
 | 
					    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
 | 
				
			||||||
 | 
					        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
 | 
				
			||||||
 | 
					        <comment>This is a comment</comment>
 | 
				
			||||||
 | 
					    </data>
 | 
				
			||||||
 | 
					                
 | 
				
			||||||
 | 
					    There are any number of "resheader" rows that contain simple 
 | 
				
			||||||
 | 
					    name/value pairs.
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    Each data row contains a name, and value. The row also contains a 
 | 
				
			||||||
 | 
					    type or mimetype. Type corresponds to a .NET class that support 
 | 
				
			||||||
 | 
					    text/value conversion through the TypeConverter architecture. 
 | 
				
			||||||
 | 
					    Classes that don't support this are serialized and stored with the 
 | 
				
			||||||
 | 
					    mimetype set.
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    The mimetype is used for serialized objects, and tells the 
 | 
				
			||||||
 | 
					    ResXResourceReader how to depersist the object. This is currently not 
 | 
				
			||||||
 | 
					    extensible. For a given mimetype the value must be set accordingly:
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    Note - application/x-microsoft.net.object.binary.base64 is the format 
 | 
				
			||||||
 | 
					    that the ResXResourceWriter will generate, however the reader can 
 | 
				
			||||||
 | 
					    read any of the formats listed below.
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    mimetype: application/x-microsoft.net.object.binary.base64
 | 
				
			||||||
 | 
					    value   : The object must be serialized with 
 | 
				
			||||||
 | 
					            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
 | 
				
			||||||
 | 
					            : and then encoded with base64 encoding.
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    mimetype: application/x-microsoft.net.object.soap.base64
 | 
				
			||||||
 | 
					    value   : The object must be serialized with 
 | 
				
			||||||
 | 
					            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
 | 
				
			||||||
 | 
					            : and then encoded with base64 encoding.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    mimetype: application/x-microsoft.net.object.bytearray.base64
 | 
				
			||||||
 | 
					    value   : The object must be serialized into a byte array 
 | 
				
			||||||
 | 
					            : using a System.ComponentModel.TypeConverter
 | 
				
			||||||
 | 
					            : and then encoded with base64 encoding.
 | 
				
			||||||
 | 
					    -->
 | 
				
			||||||
 | 
					  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 | 
				
			||||||
 | 
					    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
 | 
				
			||||||
 | 
					    <xsd:element name="root" msdata:IsDataSet="true">
 | 
				
			||||||
 | 
					      <xsd:complexType>
 | 
				
			||||||
 | 
					        <xsd:choice maxOccurs="unbounded">
 | 
				
			||||||
 | 
					          <xsd:element name="metadata">
 | 
				
			||||||
 | 
					            <xsd:complexType>
 | 
				
			||||||
 | 
					              <xsd:sequence>
 | 
				
			||||||
 | 
					                <xsd:element name="value" type="xsd:string" minOccurs="0" />
 | 
				
			||||||
 | 
					              </xsd:sequence>
 | 
				
			||||||
 | 
					              <xsd:attribute name="name" use="required" type="xsd:string" />
 | 
				
			||||||
 | 
					              <xsd:attribute name="type" type="xsd:string" />
 | 
				
			||||||
 | 
					              <xsd:attribute name="mimetype" type="xsd:string" />
 | 
				
			||||||
 | 
					              <xsd:attribute ref="xml:space" />
 | 
				
			||||||
 | 
					            </xsd:complexType>
 | 
				
			||||||
 | 
					          </xsd:element>
 | 
				
			||||||
 | 
					          <xsd:element name="assembly">
 | 
				
			||||||
 | 
					            <xsd:complexType>
 | 
				
			||||||
 | 
					              <xsd:attribute name="alias" type="xsd:string" />
 | 
				
			||||||
 | 
					              <xsd:attribute name="name" type="xsd:string" />
 | 
				
			||||||
 | 
					            </xsd:complexType>
 | 
				
			||||||
 | 
					          </xsd:element>
 | 
				
			||||||
 | 
					          <xsd:element name="data">
 | 
				
			||||||
 | 
					            <xsd:complexType>
 | 
				
			||||||
 | 
					              <xsd:sequence>
 | 
				
			||||||
 | 
					                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
				
			||||||
 | 
					                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
 | 
				
			||||||
 | 
					              </xsd:sequence>
 | 
				
			||||||
 | 
					              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
 | 
				
			||||||
 | 
					              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
 | 
				
			||||||
 | 
					              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
 | 
				
			||||||
 | 
					              <xsd:attribute ref="xml:space" />
 | 
				
			||||||
 | 
					            </xsd:complexType>
 | 
				
			||||||
 | 
					          </xsd:element>
 | 
				
			||||||
 | 
					          <xsd:element name="resheader">
 | 
				
			||||||
 | 
					            <xsd:complexType>
 | 
				
			||||||
 | 
					              <xsd:sequence>
 | 
				
			||||||
 | 
					                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
				
			||||||
 | 
					              </xsd:sequence>
 | 
				
			||||||
 | 
					              <xsd:attribute name="name" type="xsd:string" use="required" />
 | 
				
			||||||
 | 
					            </xsd:complexType>
 | 
				
			||||||
 | 
					          </xsd:element>
 | 
				
			||||||
 | 
					        </xsd:choice>
 | 
				
			||||||
 | 
					      </xsd:complexType>
 | 
				
			||||||
 | 
					    </xsd:element>
 | 
				
			||||||
 | 
					  </xsd:schema>
 | 
				
			||||||
 | 
					  <resheader name="resmimetype">
 | 
				
			||||||
 | 
					    <value>text/microsoft-resx</value>
 | 
				
			||||||
 | 
					  </resheader>
 | 
				
			||||||
 | 
					  <resheader name="version">
 | 
				
			||||||
 | 
					    <value>2.0</value>
 | 
				
			||||||
 | 
					  </resheader>
 | 
				
			||||||
 | 
					  <resheader name="reader">
 | 
				
			||||||
 | 
					    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
				
			||||||
 | 
					  </resheader>
 | 
				
			||||||
 | 
					  <resheader name="writer">
 | 
				
			||||||
 | 
					    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
				
			||||||
 | 
					  </resheader>
 | 
				
			||||||
 | 
					  <metadata name="mainMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
 | 
				
			||||||
 | 
					    <value>17, 17</value>
 | 
				
			||||||
 | 
					  </metadata>
 | 
				
			||||||
 | 
					</root>
 | 
				
			||||||
@@ -14,7 +14,7 @@
 | 
				
			|||||||
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
 | 
					          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
 | 
				
			||||||
        </dsig:Transforms>
 | 
					        </dsig:Transforms>
 | 
				
			||||||
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
 | 
					        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
 | 
				
			||||||
        <dsig:DigestValue>++GWbjtF1CaF5ugYGC+UUJeSyl7Xy5g/EVE06sLJ8XA=</dsig:DigestValue>
 | 
					        <dsig:DigestValue>2b1QubE+Ze47CBE1wu8wixIqu7deJcA0dNWnAr38KvA=</dsig:DigestValue>
 | 
				
			||||||
      </hash>
 | 
					      </hash>
 | 
				
			||||||
    </dependentAssembly>
 | 
					    </dependentAssembly>
 | 
				
			||||||
  </dependency>
 | 
					  </dependency>
 | 
				
			||||||
 
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							@@ -42,14 +42,14 @@
 | 
				
			|||||||
    </dependentAssembly>
 | 
					    </dependentAssembly>
 | 
				
			||||||
  </dependency>
 | 
					  </dependency>
 | 
				
			||||||
  <dependency>
 | 
					  <dependency>
 | 
				
			||||||
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Diplom B.exe" size="54240">
 | 
					    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Diplom B.exe" size="63456">
 | 
				
			||||||
      <assemblyIdentity name="Diplom B" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
 | 
					      <assemblyIdentity name="Diplom B" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
 | 
				
			||||||
      <hash>
 | 
					      <hash>
 | 
				
			||||||
        <dsig:Transforms>
 | 
					        <dsig:Transforms>
 | 
				
			||||||
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
 | 
					          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
 | 
				
			||||||
        </dsig:Transforms>
 | 
					        </dsig:Transforms>
 | 
				
			||||||
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
 | 
					        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
 | 
				
			||||||
        <dsig:DigestValue>8H4LiM6kw+2ElHuLdTLUDVU8g6mzjv6/9jjAisSl1LA=</dsig:DigestValue>
 | 
					        <dsig:DigestValue>nnyDiRvwfMP5VcD7jutgpMUrDVo1ENlsBCgfQp+ZtCI=</dsig:DigestValue>
 | 
				
			||||||
      </hash>
 | 
					      </hash>
 | 
				
			||||||
    </dependentAssembly>
 | 
					    </dependentAssembly>
 | 
				
			||||||
  </dependency>
 | 
					  </dependency>
 | 
				
			||||||
 
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								bin/Release/Diplom_B.db
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								bin/Release/Diplom_B.db
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								obj/Release/DesignTimeResolveAssemblyReferences.cache
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								obj/Release/DesignTimeResolveAssemblyReferences.cache
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -14,7 +14,7 @@
 | 
				
			|||||||
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
 | 
					          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
 | 
				
			||||||
        </dsig:Transforms>
 | 
					        </dsig:Transforms>
 | 
				
			||||||
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
 | 
					        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
 | 
				
			||||||
        <dsig:DigestValue>++GWbjtF1CaF5ugYGC+UUJeSyl7Xy5g/EVE06sLJ8XA=</dsig:DigestValue>
 | 
					        <dsig:DigestValue>2b1QubE+Ze47CBE1wu8wixIqu7deJcA0dNWnAr38KvA=</dsig:DigestValue>
 | 
				
			||||||
      </hash>
 | 
					      </hash>
 | 
				
			||||||
    </dependentAssembly>
 | 
					    </dependentAssembly>
 | 
				
			||||||
  </dependency>
 | 
					  </dependency>
 | 
				
			||||||
 
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							@@ -1 +1 @@
 | 
				
			|||||||
6c7778e3dd037a6b96cceb0ce48d3c56d9b0ab12
 | 
					65b149ef12bdbb64fe7f050140b32fb99bf7c528
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -114,3 +114,4 @@ D:\GIT\Diplom B\obj\Release\Diplom_B.LoginForm.resources
 | 
				
			|||||||
D:\GIT\Diplom B\obj\Release\Diplom_B.PostForm.resources
 | 
					D:\GIT\Diplom B\obj\Release\Diplom_B.PostForm.resources
 | 
				
			||||||
D:\GIT\Diplom B\obj\Release\Diplom_B.ZakazchikForm.resources
 | 
					D:\GIT\Diplom B\obj\Release\Diplom_B.ZakazchikForm.resources
 | 
				
			||||||
D:\GIT\Diplom B\obj\Release\Diplom_B.MainForm.resources
 | 
					D:\GIT\Diplom B\obj\Release\Diplom_B.MainForm.resources
 | 
				
			||||||
 | 
					D:\GIT\Diplom B\obj\Release\Diplom_B.DogForm.resources
 | 
				
			||||||
 
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -42,14 +42,14 @@
 | 
				
			|||||||
    </dependentAssembly>
 | 
					    </dependentAssembly>
 | 
				
			||||||
  </dependency>
 | 
					  </dependency>
 | 
				
			||||||
  <dependency>
 | 
					  <dependency>
 | 
				
			||||||
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Diplom B.exe" size="54240">
 | 
					    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Diplom B.exe" size="63456">
 | 
				
			||||||
      <assemblyIdentity name="Diplom B" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
 | 
					      <assemblyIdentity name="Diplom B" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
 | 
				
			||||||
      <hash>
 | 
					      <hash>
 | 
				
			||||||
        <dsig:Transforms>
 | 
					        <dsig:Transforms>
 | 
				
			||||||
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
 | 
					          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
 | 
				
			||||||
        </dsig:Transforms>
 | 
					        </dsig:Transforms>
 | 
				
			||||||
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
 | 
					        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
 | 
				
			||||||
        <dsig:DigestValue>8H4LiM6kw+2ElHuLdTLUDVU8g6mzjv6/9jjAisSl1LA=</dsig:DigestValue>
 | 
					        <dsig:DigestValue>nnyDiRvwfMP5VcD7jutgpMUrDVo1ENlsBCgfQp+ZtCI=</dsig:DigestValue>
 | 
				
			||||||
      </hash>
 | 
					      </hash>
 | 
				
			||||||
    </dependentAssembly>
 | 
					    </dependentAssembly>
 | 
				
			||||||
  </dependency>
 | 
					  </dependency>
 | 
				
			||||||
 
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								obj/Release/Diplom_B.DogForm.resources
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								obj/Release/Diplom_B.DogForm.resources
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user