//maybe make a specified window private void AddChild_Click(object sender, RoutedEventArgs e) { addchild w2 = new addchild(); w2.ShowDialog(); }
private void Add(object sender, RoutedEventArgs e) { addchild nex = new addchild(); nex.ShowDialog(); }