Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
0
 private void DoneProvinceAction()
 {
     BrandTextField.EndEditing(false);
     MaxTonCapacityTextField.EndEditing(false);
     TypeTextField.EndEditing(false);
 }