I am working in wpf application when i want to open the child window from Parent window button click. that time i am getting this solution. Just write Parent window click event method like this.
private void Button_Click(object sender, RoutedEventArgs e) { window2 win2= new window2(); win2.Show(); this.Close(); }
0 comments
Post a Comment