Exemplo n.º 1
0
        private void reception_Click(object sender, RoutedEventArgs e)
        {
            ManualDocPack.CleanServices();

            UpdateCenters();

            MoveCanvas(
                moveCanvas: receptionPlace,
                prevCanvas: mainPlace
                );
        }
Exemplo n.º 2
0
        private void check_Click(object sender, RoutedEventArgs e)
        {
            ManualDocPack.CleanServices();

            UpdateCenters();

            MoveCanvas(
                moveCanvas: checkPlace,
                prevCanvas: mainPlace,
                newHeight: 670
                );
        }
Exemplo n.º 3
0
        private void CleanCheck()
        {
            ButtonsClean(
                buttons: servButtonCleaningList,
                fontSize: 12
                );

            BlockCheckButton(block: false);

            foreach (TextBox text in new List <TextBox> {
                moneyForDHL, moneyForCheck, moneyForInsuranceRGS,
                moneyForInsuranceKL, directPaymentSending, priceForDirectPayment
            })
            {
                text.Text = String.Empty;
            }

            foreach (Label label in new List <Label> {
                placeholderDHL, placeholderMoneyForCheck, placeholderRGS, placeholderKL, placeholderPrintSending,
                placeholderSection, placeholderStringForPrinting, placeholderForDirectPayment, placeholderDirectMoney
            })
            {
                label.Visibility = Visibility.Visible;
            }

            foreach (Label label in new List <Label> {
                total, totalR
            })
            {
                label.Content = String.Empty;
            }

            totalContent.Visibility  = Visibility.Hidden;
            totalRContent.Visibility = Visibility.Hidden;

            returnDate.Text = String.Empty;

            // CleanRCheck

            ButtonsClean(
                buttons: receptionButtonCleaningList,
                fontSize: 18
                );

            BlockRCheckButton(block: false);

            ManualDocPack.CleanServices();

            moneyForRCheck.Text = String.Empty;

            foreach (Button button in new List <Button>()
            {
                anketasrvR, printsrvR, photosrvR, xeroxR, srv11R
            })
            {
                button.IsEnabled = true;
            }

            // Direct

            stringForPrinting.Text     = String.Empty;
            section.Text               = String.Empty;
            vatDirectPayment.IsChecked = true;
            moneyForDirectPayment.Text = String.Empty;
        }