private LoadDeck() { _listcard = new LinkedList<Card>(); this.dataset = new CardSourceDataSet(); this.adapterManager = new TableAdapterManager(); this.deckInfoTableAdapter = new DeckInfoTableAdapter(); this.dataSourceTableAdapter = new DataSourceTableAdapter(); this.adapterManager.DeckInfoTableAdapter = this.deckInfoTableAdapter; this.adapterManager.DataSourceTableAdapter = this.dataSourceTableAdapter; this.deckInfoTableAdapter.Fill(dataset.DeckInfo); this.dataSourceTableAdapter.Fill(dataset.DataSource); }
private LoadDeck() { _listcard = new LinkedList <Card>(); this.dataset = new CardSourceDataSet(); this.adapterManager = new TableAdapterManager(); this.deckInfoTableAdapter = new DeckInfoTableAdapter(); this.dataSourceTableAdapter = new DataSourceTableAdapter(); this.adapterManager.DeckInfoTableAdapter = this.deckInfoTableAdapter; this.adapterManager.DataSourceTableAdapter = this.dataSourceTableAdapter; this.deckInfoTableAdapter.Fill(dataset.DeckInfo); this.dataSourceTableAdapter.Fill(dataset.DataSource); }