Сдал
This commit is contained in:
parent
e3da66cd20
commit
9b3a6d5607
@ -111,6 +111,7 @@ namespace Forms
|
||||
strings.Add($"{item.Name} : {item.FurnitureType}");
|
||||
}
|
||||
largeTextComponent.CreateDocument(path, $"Отчет за {DateTime.Now.Year}", strings);
|
||||
MessageBox.Show("Отчет готов");
|
||||
}
|
||||
}
|
||||
|
||||
@ -139,6 +140,7 @@ namespace Forms
|
||||
Data = list,
|
||||
};
|
||||
componentDocumentWithTableMultiHeaderExcel.CreateDoc<ProviderViewModel>(conf);
|
||||
MessageBox.Show("Отчет готов");
|
||||
}
|
||||
|
||||
private void createToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
@ -175,6 +177,7 @@ namespace Forms
|
||||
Data = chart,
|
||||
};
|
||||
componentDocumentWithChartPieWord.CreateDoc(conf);
|
||||
MessageBox.Show("Отчет готов");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,13 @@ namespace Forms
|
||||
});
|
||||
textBoxFurnitureType.Text = view.FurnitureType;
|
||||
textBoxName.Text = view.Name;
|
||||
if (view.DateLastDelivery != "Поставок не было") controlInputNullableDate.Value = Convert.ToDateTime(view.DateLastDelivery);
|
||||
if (view.DateLastDelivery != "Поставок не было") {
|
||||
controlInputNullableDate.Value = Convert.ToDateTime(view.DateLastDelivery);
|
||||
}
|
||||
else
|
||||
{
|
||||
controlInputNullableDate.Value = null;
|
||||
}
|
||||
controlSelectedComboBoxList.SelectedElement = view!.OrganisationType;
|
||||
isEdited = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user