Esempio n. 1
0
        private void btnReport_Click(object sender, RoutedEventArgs e)
        {
            var voucherReportWindow = new VoucherReportWindow(VOUCHER_TYPE, _voucherNumber);

            voucherReportWindow.TransactionDatePicker.SelectedDate = _voucherDate;
            voucherReportWindow.ShowDialog();
        }
Esempio n. 2
0
        private void btnReport_Click(object sender, RoutedEventArgs e)
        {
            var voucherReportWindow = new VoucherReportWindow(_voucherType, _voucherNumber)
            {
                TransactionDatePicker = { SelectedDate = _voucherDate }
            };

            voucherReportWindow.ShowDialog();
        }