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;
            }
        }
Esempio n. 2
0
 public void ClickDeny()
 {
     DenyButton.WaitAndClick(_driver);
 }