public BuildGrid ( Engine currentLedgerBook, System.Windows.ResourceDictionary viewResources, |
||
currentLedgerBook | Engine | |
viewResources | System.Windows.ResourceDictionary | |
contentPanel | ||
numberOfMonthsToShow | int | |
return | void |
public void BuildGrid(
Engine.Ledger.LedgerBook currentLedgerBook,
ResourceDictionary viewResources,
ContentPresenter contentPanel,
int numberOfMonthsToShow)
{
if (viewResources == null)
{
throw new ArgumentNullException(nameof(viewResources));
}
if (contentPanel == null)
{
throw new ArgumentNullException(nameof(contentPanel));
}
this.ledgerBook = currentLedgerBook;
this.localResources = viewResources;
this.contentPresenter = contentPanel;
DynamicallyCreateLedgerBookGrid(numberOfMonthsToShow);
}