This commit is contained in:
Danil Markov 2023-05-03 01:11:04 +04:00
parent 50c1f8c28f
commit 013162a09c
2 changed files with 15 additions and 7 deletions

View File

@ -23,8 +23,7 @@ namespace LawFirmDatabaseImplement
public virtual DbSet<DocumentBlank> DocumentBlanks { set; get; } public virtual DbSet<DocumentBlank> DocumentBlanks { set; get; }
public virtual DbSet<Order> Orders { set; get; } public virtual DbSet<Order> Orders { set; get; }
public virtual DbSet<Shop> Shops { set; get; } public virtual DbSet<Shop> Shops { set; get; }
public virtual DbSet<ShopDocument> ShopDocuments { set; get; } public virtual DbSet<ShopDocument> ShopDocuments { set; get; }
}
public virtual DbSet<Client> Clients { set; get; } public virtual DbSet<Client> Clients { set; get; }
} }
} }

View File

@ -48,6 +48,7 @@
this.dataGridView = new System.Windows.Forms.DataGridView(); this.dataGridView = new System.Windows.Forms.DataGridView();
this.ButtonAddDocument = new System.Windows.Forms.Button(); this.ButtonAddDocument = new System.Windows.Forms.Button();
this.ButtonSellDocument = new System.Windows.Forms.Button(); this.ButtonSellDocument = new System.Windows.Forms.Button();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
this.menuStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
@ -130,7 +131,8 @@
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ДеталиToolStripMenuItem, this.ДеталиToolStripMenuItem,
this.ДокументыToolStripMenuItem, this.ДокументыToolStripMenuItem,
this.магазинToolStripMenuItem}); this.магазинToolStripMenuItem,
this.toolStripMenuItem2});
this.ToolStripMenuItem.Name = "ToolStripMenuItem"; this.ToolStripMenuItem.Name = "ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(94, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(94, 20);
this.ToolStripMenuItem.Text = "Справочники"; this.ToolStripMenuItem.Text = "Справочники";
@ -138,21 +140,21 @@
// ДеталиToolStripMenuItem // ДеталиToolStripMenuItem
// //
this.ДеталиToolStripMenuItem.Name = еталиToolStripMenuItem"; this.ДеталиToolStripMenuItem.Name = еталиToolStripMenuItem";
this.ДеталиToolStripMenuItem.Size = new System.Drawing.Size(130, 22); this.ДеталиToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ДеталиToolStripMenuItem.Text = "Детали"; this.ДеталиToolStripMenuItem.Text = "Детали";
this.ДеталиToolStripMenuItem.Click += new System.EventHandler(this.ДеталиToolStripMenuItem_Click); this.ДеталиToolStripMenuItem.Click += new System.EventHandler(this.ДеталиToolStripMenuItem_Click);
// //
// ДокументыToolStripMenuItem // ДокументыToolStripMenuItem
// //
this.ДокументыToolStripMenuItem.Name = окументыToolStripMenuItem"; this.ДокументыToolStripMenuItem.Name = окументыToolStripMenuItem";
this.ДокументыToolStripMenuItem.Size = new System.Drawing.Size(130, 22); this.ДокументыToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ДокументыToolStripMenuItem.Text = "Документы"; this.ДокументыToolStripMenuItem.Text = "Документы";
this.ДокументыToolStripMenuItem.Click += new System.EventHandler(this.ДокументыToolStripMenuItem_Click); this.ДокументыToolStripMenuItem.Click += new System.EventHandler(this.ДокументыToolStripMenuItem_Click);
// //
// магазинToolStripMenuItem // магазинToolStripMenuItem
// //
this.магазинToolStripMenuItem.Name = агазинToolStripMenuItem"; this.магазинToolStripMenuItem.Name = агазинToolStripMenuItem";
this.магазинToolStripMenuItem.Size = new System.Drawing.Size(130, 22); this.магазинToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.магазинToolStripMenuItem.Text = "Магазины"; this.магазинToolStripMenuItem.Text = "Магазины";
this.магазинToolStripMenuItem.Click += new System.EventHandler(this.МагазиныToolStripMenuItem_Click); this.магазинToolStripMenuItem.Click += new System.EventHandler(this.МагазиныToolStripMenuItem_Click);
// //
@ -245,6 +247,12 @@
this.ButtonSellDocument.UseVisualStyleBackColor = true; this.ButtonSellDocument.UseVisualStyleBackColor = true;
this.ButtonSellDocument.Click += new System.EventHandler(this.ButtonSellDocument_Click); this.ButtonSellDocument.Click += new System.EventHandler(this.ButtonSellDocument_Click);
// //
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(180, 22);
this.toolStripMenuItem2.Text = "Клиенты";
//
// FormMain // FormMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
@ -298,5 +306,6 @@
private ToolStripMenuItem загруженностьМагазиновToolStripMenuItem; private ToolStripMenuItem загруженностьМагазиновToolStripMenuItem;
private ToolStripMenuItem заказыПоДатеToolStripMenuItem; private ToolStripMenuItem заказыПоДатеToolStripMenuItem;
private ToolStripMenuItem списокМагазиновToolStripMenuItem; private ToolStripMenuItem списокМагазиновToolStripMenuItem;
} private ToolStripMenuItem toolStripMenuItem2;
}
} }