Пример #1
0
 private void buttonModifyIndex_Click(object sender, RoutedEventArgs e)
 {
     SubWindow1 childWindow = new SubWindow1();
     childWindow.ShowInTaskbar = false;
     childWindow.Owner = Application.Current.MainWindow;
     childWindow.Show();
 }
Пример #2
0
        private void buttonModifyIndex_Click(object sender, RoutedEventArgs e)
        {
            SubWindow1 childWindow = new SubWindow1();

            childWindow.ShowInTaskbar = false;
            childWindow.Owner         = Application.Current.MainWindow;
            childWindow.Show();
        }