コード例 #1
0
        private void btnMembersTransitReport_Click(object sender, RoutedEventArgs e)
        {
            var form = new PassageReport {
                Owner = this, WindowStartupLocation = WindowStartupLocation.CenterScreen, Type = PassageReportType.MembersReport
            };

            form.Closed += Form_Closed;
            form.Show();

            //(new PassageReport { Owner = this, WindowStartupLocation=WindowStartupLocation.CenterScreen, Type = PassageReportType.MembersReport }).Show();
        }
コード例 #2
0
        private void btnIrregularTransitReport_Click(object sender, RoutedEventArgs e)
        {
            var form = new PassageReport {
                Owner = this, WindowStartupLocation = WindowStartupLocation.CenterScreen, Type = PassageReportType.SingleSessionsReport
            };

            form.Closed += Form_Closed;

            form.Show();

            //(new TransitReport { Type = Domain.Enums.MemberSelectionCategory.IrregularTransit, Owner = this }).Show();
        }