// For choosing contacts when exceeding maximum private void ShowContactListForChoosing(DownloadControllerAndData controllerAndData) { Window_ChooseContacts frm = new Window_ChooseContacts(this, controllerAndData); frm.ShowDialog(); }
// For choosing contacts when exceeding maximum private void ShowContactListForChoosing(DownloadControllerAndData controllerAndData) { Window_ChooseContacts frm = new Window_ChooseContacts(this, controllerAndData); frm.Owner = Application.Current.MainWindow; frm.WindowStartupLocation = WindowStartupLocation.CenterOwner; frm.ShowDialog(); }