public ChooseOilWell(YJXGPJ parent) { InitializeComponent(); DataContext = this; yjxgpl = parent; WaterWellsCollection = SelectWell(); DataSource = WaterWellsCollection.Copy(); }
public ChooseWell(Page parent) { InitializeComponent(); DataContext = this; parentPage = parent; WaterWellsCollection = SelectWell(); DataSource = WaterWellsCollection.Copy(); }