Beispiel #1
0
        /// <summary>
        /// proceed button takes the user input on the given fields,
        /// stores it into global utilities, to be used later,
        /// and moves to PaymentType form
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProceedButton_Click(object sender, EventArgs e)
        {
            this.Close();
            GlobalUtilities.setCustomerTIN(tinTextBox.Text);
            GlobalUtilities.setCustomerBusinessStyle(businessStyleTextBox.Text);
            GlobalUtilities.setCustomerTerms(termsTextBox.Text);
            GlobalUtilities.setCustomerOSCA(oscaTextBox.Text);
            PaymentAndCustomerType paymentAndCustomerType = new PaymentAndCustomerType();

            paymentAndCustomerType.ShowDialog();
        }