Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (AdditionalInterestLabel != null)
            {
                AdditionalInterestLabel.Dispose();
                AdditionalInterestLabel = null;
            }

            if (AddressComboBox != null)
            {
                AddressComboBox.Dispose();
                AddressComboBox = null;
            }

            if (CashflowDateLabel != null)
            {
                CashflowDateLabel.Dispose();
                CashflowDateLabel = null;
            }

            if (ChooseActionPopUp != null)
            {
                ChooseActionPopUp.Dispose();
                ChooseActionPopUp = null;
            }

            if (ConractReceivedCheckBox != null)
            {
                ConractReceivedCheckBox.Dispose();
                ConractReceivedCheckBox = null;
            }

            if (ExpectedAdditionalInterestTextField != null)
            {
                ExpectedAdditionalInterestTextField.Dispose();
                ExpectedAdditionalInterestTextField = null;
            }

            if (ExpectedSalePriceTextField != null)
            {
                ExpectedSalePriceTextField.Dispose();
                ExpectedSalePriceTextField = null;
            }

            if (RecordDatePicker != null)
            {
                RecordDatePicker.Dispose();
                RecordDatePicker = null;
            }

            if (RepaymentAmountLabel != null)
            {
                RepaymentAmountLabel.Dispose();
                RepaymentAmountLabel = null;
            }

            if (RepaymentAmountTextField != null)
            {
                RepaymentAmountTextField.Dispose();
                RepaymentAmountTextField = null;
            }

            if (SaleDatePicker != null)
            {
                SaleDatePicker.Dispose();
                SaleDatePicker = null;
            }

            if (SalePriceLabel != null)
            {
                SalePriceLabel.Dispose();
                SalePriceLabel = null;
            }

            if (StatusMessageTextField != null)
            {
                StatusMessageTextField.Dispose();
                StatusMessageTextField = null;
            }

            if (StatusTextField != null)
            {
                StatusTextField.Dispose();
                StatusTextField = null;
            }

            if (StatusComboBox != null)
            {
                StatusComboBox.Dispose();
                StatusComboBox = null;
            }

            if (LenderComboBox != null)
            {
                LenderComboBox.Dispose();
                LenderComboBox = null;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (AcqTaxField != null)
            {
                AcqTaxField.Dispose();
                AcqTaxField = null;
            }

            if (AcqTaxLabel != null)
            {
                AcqTaxLabel.Dispose();
                AcqTaxLabel = null;
            }

            if (AddressComboBox != null)
            {
                AddressComboBox.Dispose();
                AddressComboBox = null;
            }

            if (BorrowerComboBox != null)
            {
                BorrowerComboBox.Dispose();
                BorrowerComboBox = null;
            }

            if (BorrowerLabel != null)
            {
                BorrowerLabel.Dispose();
                BorrowerLabel = null;
            }

            if (ClosingDateLabel != null)
            {
                ClosingDateLabel.Dispose();
                ClosingDateLabel = null;
            }

            if (ClosingDatePicker != null)
            {
                ClosingDatePicker.Dispose();
                ClosingDatePicker = null;
            }

            if (ConcessionField != null)
            {
                ConcessionField.Dispose();
                ConcessionField = null;
            }

            if (ConcessionLabel != null)
            {
                ConcessionLabel.Dispose();
                ConcessionLabel = null;
            }

            if (HOIField != null)
            {
                HOIField.Dispose();
                HOIField = null;
            }

            if (HOILabel != null)
            {
                HOILabel.Dispose();
                HOILabel = null;
            }

            if (InitialDrawField != null)
            {
                InitialDrawField.Dispose();
                InitialDrawField = null;
            }

            if (InitialDrawLabel != null)
            {
                InitialDrawLabel.Dispose();
                InitialDrawLabel = null;
            }

            if (LenderComboBox != null)
            {
                LenderComboBox.Dispose();
                LenderComboBox = null;
            }

            if (LenderLabel != null)
            {
                LenderLabel.Dispose();
                LenderLabel = null;
            }

            if (PriceField != null)
            {
                PriceField.Dispose();
                PriceField = null;
            }

            if (PriceLabel != null)
            {
                PriceLabel.Dispose();
                PriceLabel = null;
            }

            if (ProcessingField != null)
            {
                ProcessingField.Dispose();
                ProcessingField = null;
            }

            if (ProcessingLabel != null)
            {
                ProcessingLabel.Dispose();
                ProcessingLabel = null;
            }

            if (PropertyTaxField != null)
            {
                PropertyTaxField.Dispose();
                PropertyTaxField = null;
            }

            if (PropertyTaxLabel != null)
            {
                PropertyTaxLabel.Dispose();
                PropertyTaxLabel = null;
            }

            if (RecordingField != null)
            {
                RecordingField.Dispose();
                RecordingField = null;
            }

            if (RecordingLabel != null)
            {
                RecordingLabel.Dispose();
                RecordingLabel = null;
            }

            if (SummaryMessageField != null)
            {
                SummaryMessageField.Dispose();
                SummaryMessageField = null;
            }

            if (TitlePolicyField != null)
            {
                TitlePolicyField.Dispose();
                TitlePolicyField = null;
            }

            if (TitlePolicyLabel != null)
            {
                TitlePolicyLabel.Dispose();
                TitlePolicyLabel = null;
            }

            if (TotalCostLabel != null)
            {
                TotalCostLabel.Dispose();
                TotalCostLabel = null;
            }

            if (UpdateAcquisitionButton != null)
            {
                UpdateAcquisitionButton.Dispose();
                UpdateAcquisitionButton = null;
            }

            if (PointsLabel != null)
            {
                PointsLabel.Dispose();
                PointsLabel = null;
            }

            if (UpdatedPointsLabel != null)
            {
                UpdatedPointsLabel.Dispose();
                UpdatedPointsLabel = null;
            }
        }
Esempio n. 3
0
 private void Form1_Load(object sender, EventArgs e)
 {
     AddressComboBox.Select();
     LoadConfig();
     Connect();
 }