public void GetData() { NewRec Rec = this.Owner as NewRec; vinTxtBox.Text = Rec.VinTextBox.Text; GosNomTxtBox.Text = Rec.gosNomTxtBox.Text; markTxtBox.Text = Rec.MarkTxtBoxs.Text; modelTxt.Text = Rec.ModelTxtBox.Text; }
private void Create_new_rec_MouseDown(object sender, MouseButtonEventArgs e) { NewRec nr = new NewRec(); nr.Show(); }