private void ChooseOperationType() { var optionMenu = UIAlertController.Create(null, "Elegir Opción", UIAlertControllerStyle.ActionSheet); optionMenu.AddAction(UIAlertAction.Create("Renovación", UIAlertActionStyle.Default, alert => { OperationTypeLabel.SetTitle("Renovación", UIControlState.Normal); } )); optionMenu.AddAction(UIAlertAction.Create("Nueva", UIAlertActionStyle.Default, alert => { OperationTypeLabel.SetTitle("Nueva", UIControlState.Normal); } )); optionMenu.AddAction(UIAlertAction.Create("Cancelar", UIAlertActionStyle.Cancel, alert => { } )); PresentViewController(optionMenu, true, null); }
void ReleaseDesignerOutlets() { if (AddToCarButton != null) { AddToCarButton.Dispose(); AddToCarButton = null; } if (btnBeneficios != null) { btnBeneficios.Dispose(); btnBeneficios = null; } if (btnFavorite != null) { btnFavorite.Dispose(); btnFavorite = null; } if (btnProductInfo != null) { btnProductInfo.Dispose(); btnProductInfo = null; } if (btnShared != null) { btnShared.Dispose(); btnShared = null; } if (CotizarButton != null) { CotizarButton.Dispose(); CotizarButton = null; } if (EmpresasView != null) { EmpresasView.Dispose(); EmpresasView = null; } if (EnterpriseNameButton != null) { EnterpriseNameButton.Dispose(); EnterpriseNameButton = null; } if (EnterpriseNameButton2 != null) { EnterpriseNameButton2.Dispose(); EnterpriseNameButton2 = null; } if (HaveLicenceButton != null) { HaveLicenceButton.Dispose(); HaveLicenceButton = null; } if (HaveLicenseTrueView != null) { HaveLicenseTrueView.Dispose(); HaveLicenseTrueView = null; } if (imgProductDetail != null) { imgProductDetail.Dispose(); imgProductDetail = null; } if (lblProductDescription != null) { lblProductDescription.Dispose(); lblProductDescription = null; } if (lblProductNameDetail != null) { lblProductNameDetail.Dispose(); lblProductNameDetail = null; } if (lblTotalQuotation != null) { lblTotalQuotation.Dispose(); lblTotalQuotation = null; } if (NoHaveLicenceButton != null) { NoHaveLicenceButton.Dispose(); NoHaveLicenceButton = null; } if (NoLicenceView != null) { NoLicenceView.Dispose(); NoLicenceView = null; } if (NoLicenceViewLayoutConstraint != null) { NoLicenceViewLayoutConstraint.Dispose(); NoLicenceViewLayoutConstraint = null; } if (NumberProductsTextField != null) { NumberProductsTextField.Dispose(); NumberProductsTextField = null; } if (NumberUsersTextField != null) { NumberUsersTextField.Dispose(); NumberUsersTextField = null; } if (OperationTypeLabel != null) { OperationTypeLabel.Dispose(); OperationTypeLabel = null; } if (SerieNumberTextField != null) { SerieNumberTextField.Dispose(); SerieNumberTextField = null; } if (TypeNameButton != null) { TypeNameButton.Dispose(); TypeNameButton = null; } if (VerifyButton != null) { VerifyButton.Dispose(); VerifyButton = null; } }