Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (BrandLabel != null)
            {
                BrandLabel.Dispose();
                BrandLabel = null;
            }

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

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

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

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

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

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

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

            if (TypeTextField != null)
            {
                TypeTextField.Dispose();
                TypeTextField = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (BrandLabel != null)
            {
                BrandLabel.Dispose();
                BrandLabel = null;
            }

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

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

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

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

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

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

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

            if (NextButton != null)
            {
                NextButton.Dispose();
                NextButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (BrandTextField != null)
            {
                BrandTextField.Dispose();
                BrandTextField = null;
            }

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

            if (YearTextField != null)
            {
                YearTextField.Dispose();
                YearTextField = null;
            }
        }
Exemple #4
0
 private void DoneProvinceAction()
 {
     BrandTextField.EndEditing(false);
     MaxTonCapacityTextField.EndEditing(false);
     TypeTextField.EndEditing(false);
 }
Exemple #5
0
 private void DoneProvinceAction()
 {
     TypeTextField.EndEditing(false);
     WeightTextField.EndEditing(false);
     BrandTextField.EndEditing(false);
 }