private void ShowPrintWindow() { var dailyCashFlowReportWindow = new DailyCashFlowReportWindow(this) { Owner = Application.Current.MainWindow, WindowStartupLocation = WindowStartupLocation.CenterOwner }; dailyCashFlowReportWindow.Show(); }