private void UpdateTables()
 {
     this.cars      = dB_OwnersCarsDataSet.Car;
     this.owners    = dB_OwnersCarsDataSet.Owner;
     this.carOwners = dB_OwnersCarsDataSet.CarOwner;
     this.relations = dB_OwnersCarsDataSet.Relations;
 }
예제 #2
0
 private void Init()
 {
     this.ownerTableAdapter.Fill(this.dB_OwnersCarsDataSet.Owner);
     this.FillHeaderCellDGV(this.dataGridView1, new string[] {
         this.label1.Text,
         this.label2.Text,
         this.label3.Text,
         this.label4.Text,
     });
     owners = this.dB_OwnersCarsDataSet.Owner;
 }