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