private void addMember_Click(object sender, RoutedEventArgs e) { canvasPanel.Children.Clear(); addMember1 addMem = new addMember1(); canvasPanel.Children.Add(addMem); }
private void button4_Click(object sender, RoutedEventArgs e) { canvasPanel.Children.Clear(); addMember1 addMem = new addMember1(); canvasPanel.Children.Add(addMem); { // //deleteMember2.Visible = true; addMember1.Visible = true; // deleteMember2 deleteMember = new deleteMember2(); // deleteMember.Show(); //// this.Close(); } }