private void badd_Click(object sender, RoutedEventArgs e) { AS = new Addsong(); AS.PL = this; AS.ShowDialog(); }