示例#1
0
        // This option doesn't make sense
        private void ShowDialogBoxActivateButton_Click(object sender, RoutedEventArgs e)
        {
            var tw = new ChildWindow();

            // tw.ShowActivated = true; // true is the default value
            tw.ShowDialog();
        }
示例#2
0
        // This option doesn't make sense
        private void ShowDialogBoxNoActivateButton_Click(object sender, RoutedEventArgs e)
        {
            var tw = new ChildWindow {
                ShowActivated = false
            };

            tw.ShowDialog();
        }
示例#3
0
 // This option doesn't make sense
 private void ShowDialogBoxNoActivateButton_Click(object sender, RoutedEventArgs e)
 {
     var tw = new ChildWindow {ShowActivated = false};
     tw.ShowDialog();
 }
示例#4
0
 // This option doesn't make sense
 private void ShowDialogBoxActivateButton_Click(object sender, RoutedEventArgs e)
 {
     var tw = new ChildWindow();
     // tw.ShowActivated = true; // true is the default value
     tw.ShowDialog();
 }