// Context Menu public static void OpenDownloadProperties(string DownloadID) // Open "Download Properties" for the given download ID { var DownloadProperties = new Dialogs.Context_Menu.DownloadProperties(DownloadID); DownloadProperties.Owner = Application.Current.MainWindow; // so that this dialog centers to its parent window, as its window is set to WindowStartupLocation="CenterOwner" DownloadProperties.ShowDialog(); }
// Open "Download Properties" for the given download ID // Context Menu public static void OpenDownloadProperties(string DownloadID) { var DownloadProperties = new Dialogs.Context_Menu.DownloadProperties(DownloadID); DownloadProperties.Owner = Application.Current.MainWindow; // so that this dialog centers to its parent window, as its window is set to WindowStartupLocation="CenterOwner" DownloadProperties.ShowDialog(); }