示例#1
0
 public FormatTable()
 {
     InitializeComponent();
     _formatsModel           = ((App)Application.Current).Model.FormatTable;
     _FormatsTable           = _formatsModel.FormatTable;
     FormatsGrid.DataContext = _FormatsTable.DefaultView;
 }
示例#2
0
 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();
 }