лабораторная 4
This commit is contained in:
parent
fc68f68e9b
commit
afbe5ce0d8
@ -30,8 +30,8 @@
|
||||
{
|
||||
this.ButtonSave = new System.Windows.Forms.Button();
|
||||
this.dataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.component = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.work = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.component = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
@ -50,8 +50,8 @@
|
||||
//
|
||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.component,
|
||||
this.work,
|
||||
this.component,
|
||||
this.count});
|
||||
this.dataGridView.Location = new System.Drawing.Point(12, 41);
|
||||
this.dataGridView.Name = "dataGridView";
|
||||
@ -59,23 +59,23 @@
|
||||
this.dataGridView.Size = new System.Drawing.Size(776, 397);
|
||||
this.dataGridView.TabIndex = 1;
|
||||
//
|
||||
// component
|
||||
//
|
||||
this.component.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.component.HeaderText = "Компонент";
|
||||
this.component.Name = "component";
|
||||
//
|
||||
// sushi
|
||||
// work
|
||||
//
|
||||
this.work.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.work.HeaderText = "Изделие";
|
||||
this.work.Name = "work";
|
||||
//
|
||||
// component
|
||||
//
|
||||
this.component.HeaderText = "Компонент";
|
||||
this.component.Name = "component";
|
||||
//
|
||||
// count
|
||||
//
|
||||
this.count.HeaderText = "Количество";
|
||||
this.count.Name = "count";
|
||||
//
|
||||
// FormComponentsOnSushi
|
||||
// FormReportWorkComponents
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
@ -94,8 +94,8 @@
|
||||
|
||||
private Button ButtonSave;
|
||||
private DataGridView dataGridView;
|
||||
private DataGridViewTextBoxColumn component;
|
||||
private DataGridViewTextBoxColumn work;
|
||||
private DataGridViewTextBoxColumn component;
|
||||
private DataGridViewTextBoxColumn count;
|
||||
}
|
||||
}
|
@ -56,7 +56,7 @@ namespace PlumbingRepairBusinessLogic.OfficePackage
|
||||
{
|
||||
ColumnName = "A",
|
||||
RowIndex = rowIndex,
|
||||
Text = "Total",
|
||||
Text = "Итого",
|
||||
StyleInfo = ExcelStyleInfoType.Text
|
||||
});
|
||||
InsertCellInWorksheet(new ExcelCellParameters
|
||||
|
@ -16,14 +16,14 @@ namespace PlumbingRepairBusinessLogic.OfficePackage
|
||||
});
|
||||
CreateParagraph(new PdfParagraph
|
||||
{
|
||||
Text = $"с{info.DateFrom.ToShortDateString()} по {info.DateTo.ToShortDateString()}",
|
||||
Text = $"с {info.DateFrom.ToShortDateString()} по {info.DateTo.ToShortDateString()}",
|
||||
Style = "Normal",
|
||||
ParagraphAlignment = PdfParagraphAlignmentType.Center
|
||||
});
|
||||
CreateTable(new List<string> { "2cm", "3cm", "6cm", "2cm", "3cm" });
|
||||
CreateRow(new PdfRowParameters
|
||||
{
|
||||
Texts = new List<string> { "Id", "Date", "Work", "Status", "Cost" },
|
||||
Texts = new List<string> { "Номер", "Дата создания", "Изделие", "Статус", "Стоимость" },
|
||||
Style = "NormalTitle",
|
||||
ParagraphAlignment = PdfParagraphAlignmentType.Center
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user