/// <summary>
 /// Create a new tool list
 /// </summary>
 /// <param name="toolListName">tool list name</param>
 public void NewToolList(string toolListName)
 {
     ActionsButton.Click();
     AddNewToolList();
     EditToolListNameButton.Click();
     ToolListText.Value = toolListName;
     SaveToolListNameButton.Click();
 }
 /// <summary>
 /// Delete a given tool list
 /// </summary>
 /// <param name="toolListName">tool list name of the tool list to be deleted</param>
 public void DeleteToolList(string toolListName)
 {
     OpenToolListsDropdown.Click();
     SelectToolList(toolListName);
     ActionsButton.Click();
     DeleteToolListButton();
     mMessageBox.Value.Exists.WaitFor(TcPageObjectSettings.Instance.FluxUITimeouts);
     mMessageBox.Value.Save();
 }
Esempio n. 3
0
    public void GoAnimation(ActionsButton button)
    {
        //Задать текст результата
        if (_patientData.RightChoice == button)
        {
            _ui.GetResultPanel().SetText(Status.Victory);
        }
        else
        {
            _ui.GetResultPanel().SetText(Status.Defeat);
        }

        _patientAnimations.StartAnimation(button);
        _ui.ShowVariantPanel(false);
    }
        void ReleaseDesignerOutlets()
        {
            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

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

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

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

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

            if (HeaderText != null)
            {
                HeaderText.Dispose();
                HeaderText = null;
            }
        }
Esempio n. 5
0
 public void ClickActions()
 {
     ActionsButton.Click();
 }
 public void StartAnimation(ActionsButton button)
 {
     _cloud.SetActive(false);
     _animator.SetTrigger(Convert.ToString(button));
 }
 private void OnActions(object sender, EventArgs e)
 {
     ActionsButton.ShowDropDown();
 }
Esempio n. 8
0
 public void Edit()
 {
     ActionsButton.ClickElement();
     ActionselectOption.ClickElement();
 }