private void btnViewFiles_Click(object sender, RoutedEventArgs e) { ViewReleaseFilesWindow viewFilesWindow = new ViewReleaseFilesWindow(this.release); viewFilesWindow.ShowDialog(Window.GetWindow(this)); }