public FormatTable() { InitializeComponent(); _formatsModel = ((App)Application.Current).Model.FormatTable; _FormatsTable = _formatsModel.FormatTable; FormatsGrid.DataContext = _FormatsTable.DefaultView; }
public Model() { _formats = new FormatTableModel(); _categories = new CategoryTableModel(); _authors = new AuthorTableModel(); _statuses = new StatusTableModel(); _conditions = new ConditionsTableModel(); _ratings = new RatingsTableModel(); _forSale = new ForSaleTableModel(); _ownerShip = new OwnerShipTableModel(); _publishInfo = new PublishInfoTableModel(); _purchase = new PurchaseInfoTableModel(); _bookConditionsOptions = new ConditionOptionsTableModel(); _volumeInSeries = new VolumeInSeriesTable(); _synopsis = new SynopsisTable(); }