Сдана лаб1

This commit is contained in:
Данила Мочалов 2023-01-30 10:08:50 +04:00
parent 828af603ab
commit a882155736
4 changed files with 9 additions and 21 deletions

View File

@ -32,18 +32,6 @@ namespace LawFirmView
private void FormCreateOrder_Load(object sender, EventArgs e) private void FormCreateOrder_Load(object sender, EventArgs e)
{ {
_logger.LogInformation("Загрузка документов для заказа"); _logger.LogInformation("Загрузка документов для заказа");
// прописать логику
//
//
// !!!!!!!!!!!!!!!!!!
//
//
// прописал, теперь проверить еще надо
// вдруг не работает
// скорее всего не работает
// нужно повышать самооценку
// может записаться на тренинг какой-нибудь
try try
{ {
var list = _logicD.ReadList(null); var list = _logicD.ReadList(null);

View File

@ -49,7 +49,7 @@
this.справочникиToolStripMenuItem}); this.справочникиToolStripMenuItem});
this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip"; this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(982, 28); this.menuStrip.Size = new System.Drawing.Size(1139, 28);
this.menuStrip.TabIndex = 0; this.menuStrip.TabIndex = 0;
this.menuStrip.Text = "Справочники"; this.menuStrip.Text = "Справочники";
// //
@ -83,12 +83,12 @@
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
this.dataGridView.RowHeadersWidth = 51; this.dataGridView.RowHeadersWidth = 51;
this.dataGridView.RowTemplate.Height = 29; this.dataGridView.RowTemplate.Height = 29;
this.dataGridView.Size = new System.Drawing.Size(758, 407); this.dataGridView.Size = new System.Drawing.Size(915, 407);
this.dataGridView.TabIndex = 1; this.dataGridView.TabIndex = 1;
// //
// buttonCreateOrder // buttonCreateOrder
// //
this.buttonCreateOrder.Location = new System.Drawing.Point(776, 44); this.buttonCreateOrder.Location = new System.Drawing.Point(933, 45);
this.buttonCreateOrder.Name = "buttonCreateOrder"; this.buttonCreateOrder.Name = "buttonCreateOrder";
this.buttonCreateOrder.Size = new System.Drawing.Size(194, 29); this.buttonCreateOrder.Size = new System.Drawing.Size(194, 29);
this.buttonCreateOrder.TabIndex = 2; this.buttonCreateOrder.TabIndex = 2;
@ -98,7 +98,7 @@
// //
// buttonSetToWork // buttonSetToWork
// //
this.buttonSetToWork.Location = new System.Drawing.Point(776, 79); this.buttonSetToWork.Location = new System.Drawing.Point(933, 80);
this.buttonSetToWork.Name = "buttonSetToWork"; this.buttonSetToWork.Name = "buttonSetToWork";
this.buttonSetToWork.Size = new System.Drawing.Size(194, 29); this.buttonSetToWork.Size = new System.Drawing.Size(194, 29);
this.buttonSetToWork.TabIndex = 3; this.buttonSetToWork.TabIndex = 3;
@ -108,7 +108,7 @@
// //
// buttonSetToDone // buttonSetToDone
// //
this.buttonSetToDone.Location = new System.Drawing.Point(776, 114); this.buttonSetToDone.Location = new System.Drawing.Point(933, 115);
this.buttonSetToDone.Name = "buttonSetToDone"; this.buttonSetToDone.Name = "buttonSetToDone";
this.buttonSetToDone.Size = new System.Drawing.Size(194, 29); this.buttonSetToDone.Size = new System.Drawing.Size(194, 29);
this.buttonSetToDone.TabIndex = 4; this.buttonSetToDone.TabIndex = 4;
@ -118,7 +118,7 @@
// //
// buttonSetToFinish // buttonSetToFinish
// //
this.buttonSetToFinish.Location = new System.Drawing.Point(776, 149); this.buttonSetToFinish.Location = new System.Drawing.Point(933, 150);
this.buttonSetToFinish.Name = "buttonSetToFinish"; this.buttonSetToFinish.Name = "buttonSetToFinish";
this.buttonSetToFinish.Size = new System.Drawing.Size(194, 29); this.buttonSetToFinish.Size = new System.Drawing.Size(194, 29);
this.buttonSetToFinish.TabIndex = 5; this.buttonSetToFinish.TabIndex = 5;
@ -128,7 +128,7 @@
// //
// buttonUpdate // buttonUpdate
// //
this.buttonUpdate.Location = new System.Drawing.Point(776, 409); this.buttonUpdate.Location = new System.Drawing.Point(933, 410);
this.buttonUpdate.Name = "buttonUpdate"; this.buttonUpdate.Name = "buttonUpdate";
this.buttonUpdate.Size = new System.Drawing.Size(194, 29); this.buttonUpdate.Size = new System.Drawing.Size(194, 29);
this.buttonUpdate.TabIndex = 6; this.buttonUpdate.TabIndex = 6;
@ -140,7 +140,7 @@
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(982, 450); this.ClientSize = new System.Drawing.Size(1139, 450);
this.Controls.Add(this.buttonUpdate); this.Controls.Add(this.buttonUpdate);
this.Controls.Add(this.buttonSetToFinish); this.Controls.Add(this.buttonSetToFinish);
this.Controls.Add(this.buttonSetToDone); this.Controls.Add(this.buttonSetToDone);

View File

@ -41,7 +41,6 @@ namespace LawFirmView
{ {
dataGridView.DataSource = list; dataGridView.DataSource = list;
dataGridView.Columns["DocumentId"].Visible = false; dataGridView.Columns["DocumentId"].Visible = false;
} }
_logger.LogInformation("Загрузка заказов"); _logger.LogInformation("Загрузка заказов");
} }

View File

@ -54,6 +54,7 @@ namespace LawFirmListImplements.Models
return; return;
} }
DocumentId = model.DocumentId; DocumentId = model.DocumentId;
DocumentName = model.DocumentName;
Count = model.Count; Count = model.Count;
Sum = model.Sum; Sum = model.Sum;
Status = model.Status; Status = model.Status;