コード例 #1
0
        ///// <summary>
        ///// Shows modal window to manage languages.
        ///// </summary>
        private void LanguagesManage_click(object sender, RoutedEventArgs e)
        {
            LangWindow dialog = new LangWindow();

            dialog.DataContext = base.DataContext;
            // Ensure the alt+tab is working properly.
            dialog.Owner = this;
            dialog.ShowDialog();
        }
コード例 #2
0
 ///// <summary>
 ///// Shows modal window to manage languages.
 ///// </summary>
 private void LanguagesManage_click(object sender, RoutedEventArgs e)
 {
     LangWindow dialog = new LangWindow();
     dialog.DataContext = base.DataContext;
     // Ensure the alt+tab is working properly.
     dialog.Owner = this;
     dialog.ShowDialog();
 }