private bool onKeyPressed(object sender, Keys k) { switch (k) { case Keys.Escape: backButton.Click(); return(true); } return(false); }
private bool KeyboardHandler_OnKeyRepeat(object sender, Keys k, bool first) { if (!first) { return(false); } switch (k) { case Keys.Escape: backButton.Click(); return(true); case Keys.Enter: nextSearchUpdate = GameBase.Time; return(true); } return(false); }
public void ClickBackButton() { BackButton.Click(); }
/// <summary> /// Returning to My Account Page /// </summary> /// <returns>MyAccountPage.MyAccountPage</returns> public MyAccountPage.MyAccountPage ClickToBackButton() { BackButton.Click(); return(new MyAccountPage.MyAccountPage()); }