public void SendKeys(string keysToSend) { if (_editor == null) { return; } _editor.Activate(); KeySpec.SendKeys(_editor.App, keysToSend); }
public void Accept() { if (_ok == null) { return; } while (_ok.IsWindow()) { _ok.Activate(); _ok.Click(); } }
public void Dismiss() { if (_cancel == null) { return; } while (_cancel.IsWindow()) { _cancel.Activate(); _cancel.Click(); } }
/// <summary> /// Make it active. /// </summary> #else /// <summary> /// アクティブな状態にします。 /// </summary> #endif public void Activate() { var w = new WindowControl(AppVar["TreeView"]()); w.Activate(); }
public void Activate() => _core.Activate();