示例#1
0
        private void CariButtonClicked(object sender, RoutedEventArgs e)
        {
            CustomerSelectionWindow csw = new CustomerSelectionWindow();

            bool returnValue = (bool)csw.ShowDialog();

            if (returnValue == true)
            {
                long sc = csw.selectedCustomerIDNumber;

                SaleCartPage NewWindow = new SaleCartPage();
                NewWindow.SelectedCustomerIDNumber = sc;

                App.NavigateTo(NewWindow);
            }
        }
示例#2
0
        private void BorcButtonClicked(object sender, RoutedEventArgs e)
        {
            CustomerSelectionWindow dw = new CustomerSelectionWindow();

            bool returnValue = (bool)dw.ShowDialog();

            if (returnValue == true)
            {
                long sc = dw.selectedCustomerIDNumber;

                CustomerDebtPaymentPage NewWindow = new CustomerDebtPaymentPage();
                NewWindow.SelectedCustomerIDNumber = sc;

                App.NavigateTo(NewWindow);
            }
        }