void OpenPieChartCommandExecuted(object sender, ExecutedRoutedEventArgs e) { var window = new FixtureSummaryReportWindow(); window.ByInstances = ByInstances; window.Radius = 200; window.Analysis = Analysis; window.Initialize(); window.ShowDialog(); }
void OpenPieChart(bool byInstances) { var window = new FixtureSummaryReportWindow(); window.ByInstances = byInstances; window.Radius = 200; window.Analysis = Analysis; window.Initialize(); window.ShowDialog(); }