void ReleaseDesignerOutlets() { if (GoButton != null) { GoButton.Dispose(); GoButton = null; } if (StopButton != null) { StopButton.Dispose(); StopButton = null; } if (UrlField != null) { UrlField.Dispose(); UrlField = null; } if (WebView != null) { WebView.Dispose(); WebView = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } }
void ReleaseDesignerOutlets() { if (BusyText != null) { BusyText.Dispose(); BusyText = null; } if (GoButton != null) { GoButton.Dispose(); GoButton = null; } if (Handoff != null) { Handoff.Dispose(); Handoff = null; } if (URL != null) { URL.Dispose(); URL = null; } if (WebView != null) { WebView.Dispose(); WebView = null; } }
public void Calculate(decimal firstNumber, decimal secondNumber, string selectedOperator) { FirstValue.SendKeys(firstNumber.ToString()); SecondValue.SendKeys(secondNumber.ToString()); Operator.SendKeys(selectedOperator.ToString()); GoButton.Click(); }
public void Search(string textToType) { // It is going to be implemented in the next article. ////this.SearchBox.Clear(); ////this.SearchBox.SendKeys(textToType); GoButton.Click(); }
void ReleaseDesignerOutlets() { if (GoButton != null) { GoButton.Dispose(); GoButton = null; } if (LeftButton != null) { LeftButton.Dispose(); LeftButton = null; } if (RightButton != null) { RightButton.Dispose(); RightButton = null; } if (StopButton != null) { StopButton.Dispose(); StopButton = null; } if (BackButton != null) { BackButton.Dispose(); BackButton = null; } }
private void Url_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { GoButton.PerformClick(); } }
public BingMainPage Search(string textToType) { SearchBox.Clear(); SearchBox.SendKeys(textToType); GoButton.Click(); return(this); }
private void SoundFilePicker_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r' || e.KeyChar == '\n') { GoButton.Focus(); GoButton_Click(null, null); } }
private void AlarmType_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r' || e.KeyChar == '\n') { GoButton.Focus(); GoButton_Click(null, null); } }
public override void ViewDidLoad() { base.ViewDidLoad(); GoButton.BackgroundColor = UIColor.FromRGB(0x29, 0x80, 0xb9); GoButton.SetTitleColor(UIColor.White, UIControlState.Normal); GoButton.Layer.CornerRadius = 6f; OnActivation(d => d(GoButton.GetClickedObservable().Subscribe(_ => WantsToDimiss?.Invoke()))); }
public AboutPage() { InitializeComponent(); ViewModel = BindingContext as AboutViewModel; GoButton.SetBinding(Button.CommandProperty, nameof(ViewModel.GoOneLevelDeeperCommand)); GoWithCodeBehind.SetBinding(Button.CommandProperty, nameof(ViewModel.GoOneLevelDeeperWithPageCommand)); }
public void CompleteTask() { if (task.TaskCompleted) { DoneImageSprite.SetActive(task.TaskCompleted); GoButton.SetActive(!task.TaskCompleted); QuestManager.Instance.ChangeStatus(); } }
public override void ViewDidLoad() { base.ViewDidLoad(); GoButton.BackgroundColor = UIColor.FromRGB(0x29, 0x80, 0xb9); GoButton.SetTitleColor(UIColor.White, UIControlState.Normal); GoButton.Layer.CornerRadius = 6f; GoButton.TouchUpInside += (sender, e) => OnWantsToDismiss(); }
public void Search(string textToType) { if (string.IsNullOrEmpty(textToType)) { throw new ArgumentException(nameof(textToType) + "cannot be null or empty."); } SearchBox.Clear(); SearchBox.SendKeys(textToType); GoButton.Click(); }
void Start() { transform.GetChild(0).GetComponent <Text> ().text = task.TaskName; transform.GetChild(1).GetChild(0).GetComponent <Image> ().sprite = task.TaskIcon; transform.GetChild(4).GetComponent <Image> ().sprite = DoneImage; DoneImageSprite.SetActive(task.TaskCompleted); GoButton.SetActive(!task.TaskCompleted); GoButton.GetComponent <Button> ().onClick.AddListener(() => SelectTask()); }
public void ClickOnGoButton() { if (GoButton.Displayed) { GoButton.Click(); } else { throw new Exception("Element is not found or not clickable"); } }
public void ClickOnGoButton() { if (GoButton.Displayed) { GoButton.Click(); } else { Exception e; } }
private void HideMergeItems() { InstructionsLabel1.Hide(); InstructionsLabel2.Hide(); FileNameBox.Hide(); PathsListBox.Hide(); DestinationFilePathTextBox.Hide(); RemoveButton.Hide(); RemoveAllButton.Hide(); GoButton.Hide(); HidePathsButton.Hide(); }
public void clearwalls() { #region foreach (Transform child in maze) { Destroy(child.gameObject); } foreach (Transform child in upperWall) { Destroy(child.gameObject); } foreach (Transform child in lowerWall) { Destroy(child.gameObject); } foreach (Transform child in leftWall) { Destroy(child.gameObject); } foreach (Transform child in rightWall) { Destroy(child.gameObject); } #endregion generatebutton.interactable = true; GoButton.GetComponent <Button>().interactable = true; GoButton.SetActive(false); SpawnButton.interactable = false; PlayerPrefab.SetActive(false); FollowButton.interactable = false; followtext1.text = "Follow"; followtext1.color = new Color(255f, 255f, 255f, 10f); CharacterMovement.won = false; if (CameraMovement.startfollowing || followed) { CameraMovement.startfollowing = false; Vector3 oldrot = GetComponent <CameraMovement>().oldrotation; //Vector3 oldpos = GetComponent<CameraMovement>().oldpos; CameraMovement.unfollow = true; // Vector3 smoothed = Vector3.Lerp(transform.position, oldpos, 0.125f); // Camera.main.transform.position = smoothed; Camera.main.transform.rotation = Quaternion.Euler(oldrot); followed = false; } }
private void ShowMergeItems() { InstructionsLabel1.Show(); InstructionsLabel1.Text = "Drag and drop PDF files to merge, into the box below:"; InstructionsLabel2.Show(); InstructionsLabel2.Text = "Full file path for merged file:"; FileNameBox.Show(); PathsListBox.Show(); DestinationFilePathTextBox.Show(); DestinationFilePathTextBox.Text = destinationFilePath; RemoveButton.Show(); RemoveAllButton.Show(); GoButton.Show(); GoButton.Text = "Merge"; HidePathsButton.Show(); HidePathsButton.Text = "Hide Paths"; }
private void ShowExplodeItems() { InstructionsLabel1.Show(); InstructionsLabel1.Text = "Drag and drop PDF files to explode, into the box below:"; //InstructionsLabel2.Show(); //InstructionsLabel2.Text = "Full file path for exploded pages"; FileNameBox.Show(); PathsListBox.Show(); //DestinationFilePathTextBox.Show(); //DestinationFilePathTextBox.Text = destinationFilePath; RemoveButton.Show(); RemoveAllButton.Show(); GoButton.Show(); GoButton.Text = "Kaboom!"; HidePathsButton.Show(); HidePathsButton.Text = "Hide Paths"; }
void ReleaseDesignerOutlets() { if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (GoButton != null) { GoButton.Dispose(); GoButton = null; } }
private void ShowStampItems() { InstructionsLabel1.Show(); InstructionsLabel1.Text = "Drag and drop PDF files that need stamping, into the box below:"; InstructionsLabel2.Show(); InstructionsLabel2.Text = "Drag and drop image/PDF into the box:"; FileNameBox.Show(); PathsListBox.Show(); StampFileBox.Show(); RemoveButton.Show(); RemoveAllButton.Show(); RemoveImageButton.Show(); GoButton.Show(); GoButton.Text = "Stamp"; HidePathsButton.Show(); HidePathsButton.Text = "Hide Paths"; StampAllButton.Show(); StampAllButton.Checked = true; StampLastPageButton.Show(); }
void ReleaseDesignerOutlets() { if (GoButton != null) { GoButton.Dispose(); GoButton = null; } if (Label != null) { Label.Dispose(); Label = null; } if (TextField != null) { TextField.Dispose(); TextField = null; } }
void ReleaseDesignerOutlets() { if (FromLabel != null) { FromLabel.Dispose(); FromLabel = null; } if (GoButton != null) { GoButton.Dispose(); GoButton = null; } if (Map != null) { Map.Dispose(); Map = null; } if (ToLabel != null) { ToLabel.Dispose(); ToLabel = null; } if (ZoomInButton != null) { ZoomInButton.Dispose(); ZoomInButton = null; } if (ZoomOutButton != null) { ZoomOutButton.Dispose(); ZoomOutButton = null; } }
public void Search(string textToType) { SearchBox.Clear(); SearchBox.SendKeys(textToType); GoButton.Click(); }
public void Search(string textToType) { SearchBox.Text = textToType; GoButton.Click(); }
public void InputBasketAddPosition(string text) { InputBasketAddCard.SendKeys(text); GoButton.Click(); }
void ReleaseDesignerOutlets() { if (ActivityIndicator != null) { ActivityIndicator.Dispose(); ActivityIndicator = null; } if (BackgroundImageView != null) { BackgroundImageView.Dispose(); BackgroundImageView = null; } if (FacebookButton != null) { FacebookButton.Dispose(); FacebookButton = null; } if (GoButton != null) { GoButton.Dispose(); GoButton = null; } if (GoButtonBottomConstraint != null) { GoButtonBottomConstraint.Dispose(); GoButtonBottomConstraint = null; } if (SubtitleLabel != null) { SubtitleLabel.Dispose(); SubtitleLabel = null; } if (TitleImageView != null) { TitleImageView.Dispose(); TitleImageView = null; } if (TitleImageViewTopConstraint != null) { TitleImageViewTopConstraint.Dispose(); TitleImageViewTopConstraint = null; } if (TwitterButton != null) { TwitterButton.Dispose(); TwitterButton = null; } if (FacebookButtonCenterYConstraint != null) { FacebookButtonCenterYConstraint.Dispose(); FacebookButtonCenterYConstraint = null; } if (TwitterButtonCenterYConstraint != null) { TwitterButtonCenterYConstraint.Dispose(); TwitterButtonCenterYConstraint = null; } }
public QuestionPage ClickGoButton() { GoButton.Click(); return(new QuestionPage(_driver)); }