private void StartGoThread() { GoBtn.Invoke(new MethodInvoker(() => GoBtn.Enabled = false)); if (betaCB.Checked) { tableNameLabel.Invoke(new MethodInvoker(() => tableNameLabel.Text = "Beta")); AddTable("beta"); } if (currentCB.Checked) { tableNameLabel.Invoke(new MethodInvoker(() => tableNameLabel.Text = "Current")); AddTable("current"); } if (ProtoCB.Checked) { tableNameLabel.Invoke(new MethodInvoker(() => tableNameLabel.Text = "Proto")); AddTable("proto"); } if (historyCB.Checked) { tableNameLabel.Invoke(new MethodInvoker(() => tableNameLabel.Text = "History")); AddTable("history"); } GoBtn.Invoke(new MethodInvoker(() => GoBtn.Enabled = true)); }
private void workcodeTB_KeyPress(object sender, KeyPressEventArgs e) { e.Handled = !char.IsDigit(e.KeyChar) && !char.IsControl(e.KeyChar); if (e.KeyChar == 13) { GoBtn.PerformClick(); } }
public MainPage() { Loaded += MainPage_Loaded; Unloaded += MainPage_Unloaded; this.InitializeComponent(); robo = new SpeechRobo(); UrlBar.GotFocus += UrlBar_GotFocus;; UrlBar.LostFocus += UrlBar_LostFocus; GoBtn.Focus(FocusState.Keyboard); }
public DashboardPage ClickGoBtn() { WaitHelper.WaitForElementToBeClickable(GoBtn); GoBtn.Click(); return(new DashboardPage(driver)); }
public void SelectNewClaim(string claimName) { DropDownHelper.SelectByVisibleText(SelectPrmDropDown, claimName); GoBtn.Click(); GenericHelper.WaitForLoadingMask(); }
internal void GoToAppCatagory(string p) { Select.ByText(AppCat, p); GoBtn.Click(); Wait.AM_Loaging_ShowAndHide(); }