void ReleaseDesignerOutlets() { if (AcceptButton != null) { AcceptButton.Dispose(); AcceptButton = null; } if (AnswerLaterButton != null) { AnswerLaterButton.Dispose(); AnswerLaterButton = null; } if (ContinueButton != null) { ContinueButton.Dispose(); ContinueButton = null; } if (DenyButton != null) { DenyButton.Dispose(); DenyButton = null; } if (InformationLabel != null) { InformationLabel.Dispose(); InformationLabel = null; } if (MessageTextView != null) { MessageTextView.Dispose(); MessageTextView = null; } }
public void ClickDeny() { DenyButton.WaitAndClick(_driver); }