コード例 #1
0
        private void btnPrint_Copy_Click(object sender, RoutedEventArgs e)
        {
         
            popupgrid.IsOpen = true;
            //CashDeskManagerAllDetails objViewAll = new CashDeskManagerAllDetails("0", "01 Sep 2008", "02 Sep 2008",
            // StartTime, EndTime, (bool)chkRefills.IsChecked, (bool)chkRefunds.IsChecked, (bool)chkCashDeskFloat.IsChecked, (bool)chkjackpot.IsChecked,
            // (bool)chkProghandpays.IsChecked, (bool)chkShortPays.IsChecked);
            if (lstTicketExcep != null)
            {

                CashDeskManagerAllDetails objViewAll = new CashDeskManagerAllDetails(lstTicketExcep);
                exceptiongrid.Children.Add(objViewAll);
                objViewAll.Margin = new Thickness(0);
                objViewAll.BringIntoView();
            }
        }
コード例 #2
0
        private void getdata()
        {

            TreasuryTransactions objTT = new TreasuryTransactions();


            List<rsp_CDM_GetCashierTransactionsDetails_New> detailslist = objTT.rsp_CDM_GetCashierTransactionsDetails_New(StartDate, EndDate, UserNo, iRoute_No,
                chkCashDeskTicketIn.IsChecked.Value,
                chkCashDeskTicketOut.IsChecked.Value,
                chkHandpays.IsChecked.Value,
                chkShortPays.IsChecked.Value,
                chkVoidVoucher.IsChecked.Value,
                chkjackpot.IsChecked.Value,
                chkProghandpays.IsChecked.Value,
                chkVoidTransactions.IsChecked.Value,
                chkTicketIn.IsChecked.Value,
                chkTicketOut.IsChecked.Value,
                chkActive.IsChecked.Value,
                chkVoidCancel.IsChecked.Value,
                chkExpired.IsChecked.Value,
                chkException.IsChecked.Value,
                chkLiability.IsChecked.Value,
                false,
                chkNCTicketIn.IsChecked.Value,
                chkNCTicketOut.IsChecked.Value,
                chkOfflinevoucher.IsChecked.Value,
                chkUnprocessedHandpay.IsChecked.Value
                );

            string sFooter = GetFooterText();
            var objViewAll = new CashDeskManagerAllDetails(detailslist, StartDate, EndDate, sFooter,
                                                           UserNo, iRoute_No);
            objViewAll.btnExit.Click += ObjPosDetailsExitClicked;
            objViewAll.Owner = MessageBox.parentOwner;
            // pnlContent.Children.Add(objViewAll);
            objViewAll.ShowDialogEx(this);
            lvView = objViewAll.lvViewAll;
        }