private void mitDoEReport_Click(object sender, RoutedEventArgs e) { ROReport controller = new ROReport(); ReportViewer viewer = new ReportViewer(); controller.PushMaster(this); controller.PushViewer(viewer); viewer.Show(); controller.Show(); openedWindow = controller; this.IsEnabled = false; }
public void PushViewer(ReportViewer viewer) { this.viewer = viewer; viewer.PushWindow(this); }