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

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

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

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

            if (StartSearchBar != null)
            {
                StartSearchBar.Dispose();
                StartSearchBar = null;
            }
        }
Beispiel #2
0
 public override void NavigateTo()
 {
     RouteButton.Click();
     RouteManagerButton.Click();
     driver.Title.Should().Contain("R.O.U.T.E.", "the R.O.U.T.E. Page should have loaded");
 }
 private void ConfigureButton()
 {
     RouteButton.SetTitle("Calculate Route", UIControlState.Normal);
     RouteButton.Layer.CornerRadius = 10;
     RouteButton.BackgroundColor    = UIColor.DarkGray;
 }