Пример #1
0
        private void addChildButton_Click(object sender, RoutedEventArgs e)
        {
            newChild newChildd = new newChild();

            newChildd.Show();
            mainGrid.DataContext = mother1;
        }
Пример #2
0
        private void addChild_Click(object sender, RoutedEventArgs e)
        {
            newChild ch = new newChild(mother.id);

            ch.Show();
        }