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

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

            voucherReportWindow.ShowDialog();
        }