private void about() { recMask.Visibility = Visibility.Visible; aboutBox aboutBox = new aboutBox(); aboutBox.Owner = this; aboutBox.ShowDialog(); recMask.Visibility = Visibility.Hidden; }
private void About_Click(object sender, RoutedEventArgs e) { aboutBox about = new aboutBox(); about.ShowDialog(); }
private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { aboutBox frmAbout = new aboutBox(); frmAbout.Show(); }