private void btnDel_Click(object sender, RoutedEventArgs e) { MasterPW master = new MasterPW(); if (master.ShowDialog()==true) { } }
private void Button_Click(object sender, RoutedEventArgs e) { MasterPW master = new MasterPW(); bool? bla = master.ShowDialog(); }